Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [xml]

Extensible Markup Language (XML) is a structured document format that defines human- and machine-readable encoding rules.

Filter by
Sorted by
Tagged with
0 votes
1 answer
983 views

Failed to Parse WSDL:External schema import not supported

While parsing the WSDL in throws an error as External schema import not supported Error: Failed to parse wsdl: Found schema import from location http://crcind.com/csp/samples/SOAP.ByNameDataSet.cls?...
0 votes
0 answers
30 views

Data category visibility on PermissionSet

Is there a way to programatically fetch or deploy the Data Category Group Visiblities on PermissionSet via the metadata api? I see in this documentation that PermissionSetCategoryGroupVisibility isnt ...
0 votes
1 answer
27 views

How to retrieve the XML Definition of flow provided I have the Id of the flow?

I have used the following query in postman SELECT Id, ApiName,Label, ProcessType From FlowDefinitionView Where ProcessType = 'flow' result has given me the Ids of all the flows whose processTypes are ...
0 votes
1 answer
2k views

XML request from apex

I need to post some data to server using XML. The XML body of my request is requestBody = '<?xml version="1.0" encoding="UTF-8"?><xmlreq><record name="...
2 votes
1 answer
454 views

Applying XML Namespaces without Prefixes in XML Doc

I am still relatively new to XML in Apex and I am trying to reproduce the following XML: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/...
2 votes
1 answer
900 views

Problem with lookup field mapping while building my own SOAP envelope in SAP PI as part of integrating Salesforce and Oracle through SAP PI

We are integrating Salesforce and Oracle through SAP PI and as part of this, daily records from Oracle will be fetched by SAP PI and will be upserted to Salesforce. The standard salesforce SOAP API is ...
3 votes
2 answers
2k views

Read a word document (Docx) and modify it in Salesforce

How can we open/read a word document (docx) and modify it from Salesforce (apex, aura, lwc or Appexchange)? The document is a mail merge template. I need to do this, because mail merge is not ...
0 votes
1 answer
47 views

CreatedDate in ComplexFilterPart for AutomationInstance ObjectType

Is it possible to include a 'CreatedDate' complex filter for ObjectType 'AutomationInstance' so only the latest runs are returned? If I just to a simple filter for the 'ProgramID' it returns every run,...
0 votes
1 answer
70 views

I am trying to convert Salesforce data to XML tags. End goal is to be able to import into MS Project. This will make the job of operations team easier

So our operations team usually works on MS Project to manage our Projects, tasks,milestones, timelines and status. However, we also have a custom built solution on Salesforce for the same purpose. Now,...
0 votes
1 answer
45 views

XSD file for custom labels

I'm trying to generate an XSD for the customlabels.xml file. The idea is to generate this file and validate the custom labels file as part of the pipeline so that errors can be detected early on. The ...
0 votes
1 answer
128 views

How to add profile with updated field permissions in package.xml?

I want to update a profile with some field level permissions and then deploy this on another sandbox. How can I add this in package.xml? Below is the sample XML Code for this: <?xml version="1....
0 votes
2 answers
60 views

call querySelectorAll function in Apex XML Parser?

I have the following XML stored in a field from API, I need to extract this data to store it as records to related list of the current object. <steps id="0" last="9"> <...
2 votes
1 answer
675 views

"LWR3008: Error" from LWC component in Flow on a digital experiences page

I'm working on a form that is going on a digital experiences website. I've made the form using Flow, and I have one screen that contains a LWC. The LWC and flow has no errors in Preview and Debug mode ...
-1 votes
1 answer
117 views

Convert XML to DataTable

I have following XML format returning from API. I need to extract in LWC Datatable. XML 1: <steps id="0" last="4"> <step id="2" type="ValidateStep"&...
0 votes
1 answer
46 views

Copy one xml and generate another with modified values

I need to copy one xml and need to generate another xml file. The purpose of creating another xml file is to have modified data. I'm using below code public static void parseXMl(String strResp){ ...
2 votes
0 answers
813 views

Deployment Error Says Report Folder is Missing

I'm deploying an sfdx project from VSCode. I'm getting errors on all of my report files that say "Cannot find folder:StoryNavigator." The folder and reports are in my package, so I'm not ...
0 votes
1 answer
130 views

Set Default Page Layout for Record Type in XML File

Can I add a default page layout to a record type xml file? I'm deploying an sfdx package to various client organizations and I want to set a default page layout in each record type XML file. I can't ...
5 votes
2 answers
318 views

Where can I find a mapping between a profile setting label and the underlying XML tag for a profile?

I am trying to audit a profile. I have a sheet with the labels in the profile, and I have the profile XML. But there is no simple concordance between something like this: <userPermissions> &...
1 vote
0 answers
95 views

How do you handle changes to xml files across different feature branches?

We have different teams all working in the same Salesforce instance. While these teams usually have their own permission sets/objects/whatever that they work in, there are times when we find ourselves ...
0 votes
1 answer
69 views

Converting a custom xml attribute to a useable AMPscript valuue

I am using several AMPscript blocks to import xml order data from Commerce Cloud into a Marketing Cloud Data Extension, ex: set @P18_orderno = concat("//order/product-lineitems/product-lineitem[...
0 votes
1 answer
326 views

How to bind variable in .js-meta.xml file of LWC component?

Javascript : import { LightningElement, api } from 'lwc'; export default class ApcApiArticle extends LightningElement { @api prevPart; connectedCallback() { this.sfdcBaseURL = window.location....
0 votes
1 answer
401 views

Headless Quick Action Not Working As Expected

I have an aura component being used as a wrapper around a LWC that is in a lightning action on the highlights panel of the lightning page. When I attempt to create the LWC as a "...
2 votes
1 answer
388 views

XSLT error using TransformXML Function

Here I am using TransformXML to parse xml to an email. I have saved xsl stylesheet as a content block and used the above function to parse xml to the email. When the email is previewed using the xml ...
0 votes
1 answer
2k views

Get REST API for a XML Response

I am writing a REST API that simply gets a response for a url. However the challenging part is that the response is in xml format instead of json. I am not sure how to parse this xml and get specific ...
0 votes
1 answer
594 views

How to determine the type of flow using the XML metadata file of the flow?

How do I determine whether a flow is a Screen Flow, Schedule-Triggered Flow or Record-Triggered Flow etc. from the metadata? Here is a flow of type Screen Flow: rule.flow <?xml version="1.0&...
-3 votes
1 answer
3k views

How do I read the following XML in Apex? [closed]

What class or function could I use to parse this data? <CONTACT> <SDICTIONARY> <CONTACTNAME>ABC</CONTACTNAME> <SYNONYMNAME>ABC1</SYNONYMNAME> ...
1 vote
3 answers
9k views

Inserting HTML Markup in Custom Label Value

I'm using Custom Labels for a specific message and I'd like to insert a link into that message, e.g., <a href="http://my.domain.com">Go here to login</a>. I tried this using entity ...
0 votes
1 answer
394 views

My Search Filter Lightning Web Component isn't Working and I'm Not Sure Why

The purpose of my LWC is to search the name of an account and return a list of associated contacts. Every time I try and search for an account in the search bar nothing happens, and I am not sure why. ...
0 votes
1 answer
95 views

Parse XML fails with NullPointerException when attribute is xlmns only

I got a sample XML like this: <?xml version="1.0" encoding="UTF-8"?> <RootNode> <Sample1 xmlns:key1="yyy"> <Sample11>ABC</Sample11&...
1 vote
1 answer
843 views

Decoding pipe symbol in apex

In a response of a callout, I am getting a XML. Sometimes, values contains encoded value of Pipe symbol as given below <Name>Test &#124; Shift Happens: Test data </Name> I am ...
1 vote
1 answer
410 views

Run a JavaScript App on Salesforce Community page

A 3rd party wrote a very simple JavaScript web app. I have HTML code, the JavaScript file, and an XML file. I am wondering if there is a way to use this on a Salesforce Community page without ...
0 votes
1 answer
217 views

How to conditionally render an LWC component based off of an XML <property> selection?

So I am rather stuck on this issue I am facing, being new to Salesforce. If someone may be able to point me the way to understand the issue a bit better... Issue: I have three image types in my XML ...
5 votes
0 answers
971 views

Remove default LWC Tooltip "This property supports using an expression to define its custom label"

In our organisation we have some LWC with configurable fields in the XML As you can see, some of them have description and others have not. Even for the ones that have a description, the help text ...
1 vote
0 answers
60 views

SOAPUI: Invalid Foreign Key Relationship name Product2

I'm trying to upsert an OrderProduct (OriderItem) on my order with below message <soapenv:Body> <urn:upsert> <urn:externalIDFieldName>Order_Product_Number_AS400__c<...
1 vote
2 answers
2k views

Is it possible to define and add Picklist values to a Package.XML file

As a user, I would like to add the following picklist values for Opportunity Type. Value 1 - New Business Value 2 - Expansion Value 3 - Renewal Is there a way to define this in the package.xml so ...
1 vote
1 answer
469 views

Adding Object Settings into a Package.XML

I would like to enable Field History Tracking for the Account, Opportunity, Contact and Lead objects. I understand that I need to include the Setting's type in the Package.XML and I did so for the ...
1 vote
1 answer
696 views

How to insert documents in Package.XML

How do you correctly insert documents (more specifically images in a document) in the package.xml manifest. Scenario: I am trying to create an unlocked package and with that package, I would like to ...
1 vote
1 answer
611 views

How to configure an XML file with a dropdown menu

I'm trying to recreate a LWC. I want to receive the values from the little popup menu on the digital experience page in my LWC and to format it like this: I'm not sure how I would get the dropdown to ...
0 votes
1 answer
83 views

How to reference Parent values when using GetChildElement to create new records via Apex

I have an Apex Class that is calling out from Salesforce to our Accounting system to pull back revenue data into Salesforce. It does so by querying for a Contract record in the accounting system, ...
1 vote
0 answers
151 views

problems with adding Child node to existing XML elements

I am trying to parse html in apex class using XML Parser Document and XML Nodes classes. At one point I need to add another xml which is present as string with me to one of the nodes as child node in ...
0 votes
2 answers
1k views

How is help text rendered?

The "Focus" field below has some help text that appears when the mouse is hovered over the info icon and disappears when the mouse leaves the icon: I needed to take a screenshot of the help ...
2 votes
1 answer
462 views

How to edit XML in zip document and save changes?

How to edit XML in zip document and save changes? I get the desired file, replace the data, but I don't understand how to download it back to the zip file. The data in the console changes, but not in ...
0 votes
1 answer
269 views

Insert/update parse xml content file in address field in the Account/Contact object

My requirement I have an XML file with a large number of address data. I need to Insert/Upload it to the Salesforce Account object in the address field. This is the output I need to get. This code I ...
0 votes
1 answer
793 views

Unable to get all elements in List<Dom.XmlNode> [closed]

I'm trying to iterate through a List<Dom.XmlNode) in order to get all elements, but I am only able to get the first two (header - body) Here's my code: String xml='<soapenv:Envelope xmlns:...
0 votes
0 answers
103 views

XML attribute-id line items not populating with AMPscript and JSON parse

Attempting to land attribute-id (price) data on "price" with XML below using ampscript and JAVA which is not showing a result for %%=v(@price)=%% in HTML body. XML <custom-attribute ...
1 vote
0 answers
396 views

Trails Project didn't work the deployment

I have been trying to learn a bit about LWC. In this process I found a trail: https://trailhead.salesforce.com/content/learn/projects/quick-start-ebikes-sample-app In which, I have found a couple of ...
0 votes
2 answers
247 views

How to use Field(Row(BuildRowSetFromXML()) to fetch a field with a specific attribute-id from XML

Issue From the attached XML i am traying to read the value of "vertex_retail_delivery_fee" with below code. <custom-attribute attribute-id="vertex_retail_delivery_fee">0.27&...
0 votes
1 answer
201 views

lots of extra lines in layout xml files when deployed to git [closed]

I currently use Gearset to deploy to our Bitbucket repo. We don't quite have a perfect dev > branch > deploy process yet and some changes get made directly in production. This causes 2 sources ...
1 vote
1 answer
133 views

Ant migration tool - keep track as Change Set

Is there a way to deploy meta data through ant migration tool and keep track of this deployment in salesforce? In the same way as change set appear as inbound change set. thanks,
0 votes
0 answers
161 views

How to read my xml in a link using ampscript

I have my xml in a link and I would like to parse ampscript, how could I read the XML in my ampscript? XML - <?xml version="1.0" encoding="UTF-8"?> <cart> <...

1
2 3 4 5
8