Questions tagged [xml]
Extensible Markup Language (XML) is a structured document format that defines human- and machine-readable encoding rules.
360
questions
1
vote
1
answer
212
views
Can I prettify a XML string using Apex?
I have a public URL that will generate the data in XML, when i paste the url in browser it give me the xml as expected. But its not formatted. Is there a way we can format the output in the browser.
0
votes
0
answers
16
views
ProcessRunner unable to run process upsert java.lang.NullPointerException
I have some problems with automate process with dataloader CLI. When doing the upsert process there is an error after mapping fields, but I don't know which part contains NullPointerExecption, has ...
0
votes
0
answers
49
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 ...
1
vote
1
answer
120
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
48
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
91
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
50
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
184
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
61
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">
<...
-1
votes
1
answer
139
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
60
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
921
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
171
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 ...
1
vote
0
answers
118
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
75
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[...