Questions tagged [xml]
Extensible Markup Language (XML) is a structured document format that defines human- and machine-readable encoding rules.
360 questions
0
votes
0
answers
40
views
XPath Custom rule in Code Analyzer for Sobjects and Fields
I'm implementing Code Analyzer in my GitHub repo.
I already have rules for Apex that are working, now I'm trying to implement some rules for Custom Objects and Custom fields, but it doesn't work.
I ...
1
vote
1
answer
611
views
How to add "View All Fields" Permission in permission set XML file while using VS code and Salesforce CLI
*<objectPermissions>
<allowCreate>true</allowCreate>
<allowDelete>false</allowDelete>
<allowEdit>true</allowEdit>
<...
0
votes
1
answer
90
views
Salesforce Marketing Cloud - Add Email & SMS subscriber into a list
I am trying to add Email & SMS subscriber into a list, I've done it for Email alone but now I was asked to integrate for SMS Marketing as well.
<header>
<fueloauth>...
2
votes
1
answer
474
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.
1
vote
0
answers
552
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
3k
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
86
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
343
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
105
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
713
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
83
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
199
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
127
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
2k
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
400
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 ...