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
0 answers
27 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 ...
jacksparrow007's user avatar
0 votes
1 answer
24 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 ...
RishabhVerma's user avatar
0 votes
1 answer
46 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,...
Jon H's user avatar
  • 1
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,...
Dileep Katari's user avatar
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 ...
Manu Murukesan's user avatar
0 votes
1 answer
116 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....
coder123's user avatar
  • 107
0 votes
2 answers
59 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"> <...
Ragul's user avatar
  • 521
-1 votes
1 answer
109 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"&...
Ragul's user avatar
  • 521
0 votes
1 answer
43 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){ ...
unflagged.destination's user avatar
2 votes
0 answers
777 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 ...
Rochelle C's user avatar
0 votes
1 answer
127 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 ...
Rochelle C's user avatar
1 vote
0 answers
91 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 ...
leed38's user avatar
  • 123
0 votes
1 answer
68 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[...
ben Herosian's user avatar
0 votes
1 answer
318 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....
Fark's user avatar
  • 27
0 votes
1 answer
389 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 "...
Olivia's user avatar
  • 3,461
0 votes
0 answers
371 views

How to find out if a schedule triggered flow is running as a batch from the xml metadata?

This is the xml of schedule triggered flow. How to know if it is changing a batch of records? <?xml version="1.0" encoding="UTF-8"?> <Flow xmlns="http://soap.sforce....
Sandeep Pani's user avatar
0 votes
1 answer
574 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&...
Sandeep Pani's user avatar
0 votes
1 answer
380 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. ...
user avatar
0 votes
1 answer
94 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&...
Poypoyan's user avatar
  • 151
1 vote
1 answer
392 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 ...
Michele Kleinhomer's user avatar
0 votes
1 answer
206 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 ...
Darryl Le Roux's user avatar
2 votes
1 answer
669 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 ...
Finlay Metcalfe's user avatar
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<...
Eclectica's user avatar
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 ...
andrew's user avatar
  • 149
1 vote
1 answer
453 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 ...
andrew's user avatar
  • 149
1 vote
1 answer
599 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 ...
kimberly modeste's user avatar
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, ...
Chris Leszka's user avatar
1 vote
0 answers
150 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 ...
PK SF's user avatar
  • 41
1 vote
1 answer
675 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 ...
andrew's user avatar
  • 149
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 ...
user51462's user avatar
  • 115
2 votes
1 answer
456 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 ...
Anfrii's user avatar
  • 21
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 ...
user3688231's user avatar
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 ...
Nomader's user avatar
  • 13
1 vote
0 answers
390 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 ...
Bobby Pepe Trueno's user avatar
0 votes
2 answers
243 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&...
syed Basha's user avatar
0 votes
1 answer
198 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 ...
TylerTwoForks's user avatar
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,
Raphael D's user avatar
  • 616
0 votes
0 answers
160 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> <...
Marcos Felipe's user avatar
-1 votes
1 answer
296 views

Parsing XML with nested XML document

I am trying to parse the following XML. <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=&...
itsaboutcode's user avatar
0 votes
1 answer
622 views

Change profile name via XML

Profile pushed out to production with incorrect standards naming convention. Need to push this change via package / merge into branch. Really don't want to manually change the name. Using the ...
rickmac's user avatar
  • 775
0 votes
1 answer
596 views

why I cant retrieve Entitlement Process, which contains "__" in Name via Workbench

I have an issue with Workbench. I can't retrieve Entitlement Process (somecomponent__process), if this Entitlement Process contains "__" in name. I try to retrieve here: Single package ...
Anatolii Ivanov's user avatar
0 votes
0 answers
371 views

Custom SOAP webservice response

I have this scenario, an App using a Salesforce instance have to change and use another Salesforce Instance but only url for the webservice and credentials can be modified in the App. New custom SOAP ...
Diego Gil's user avatar
1 vote
0 answers
577 views

UNSUPPORTED_MEDIA_TYPE Postman Error - Salesforce Composite Request with XML Payload not working

I created a composite XML payload to update a couple of fields in Salesforce. Used POST request by hitting this REST service https://test.salesforce.com/services/data/v54.0/composite/. I tried with ...
Pruthvi's user avatar
  • 51
1 vote
0 answers
229 views

Apex test class insert KML data into FSL__Polygon__c field FSL_KML__c

I am trying to insert a single polygon into FSL__Polygon__c object for testing. When I run this I get KML data structure is invalid. This is a direct pull from an existing entry. How can I insert this ...
Jason Pate's user avatar
0 votes
1 answer
187 views

Not able to list files under folder for dashboard through metadata api

I am trying to list all the files which are present inside a folder for the dashboard metadata type. for example:- I want to see what are the files which are inside the Service_Dashboards folder of ...
Satyam Kumar's user avatar
0 votes
1 answer
129 views

Get attribute from RSS feed

Within an RSS feed I am trying to target the img>src from the description tag <description>&lt;img src="https://www.website.com/content/dam/cmegroup/videos/metals-market-...
GerardD's user avatar
0 votes
1 answer
217 views

BuildRowSetFromXML with "attribute-id" with multiple data points? [closed]

I'm being asked to display some data coming through our XML feed in our emails. The data is coming through as a custom-attribute but appears as multiple data points that need to be displayed ...
Miteco26's user avatar
-3 votes
1 answer
76 views

Parse String from XML

Additional things responseBody for parseXMLRecord method <?xml version="1.0"?> <xmldata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" status="SUCCESS">...
Saero's user avatar
  • 5
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 ...
jija 's user avatar
  • 33
1 vote
1 answer
93 views

Map from block of xml

I have response xml <?xml version="1.0"?> <xmldata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" status="SUCCESS"> <recordset name="res"...
Saero's user avatar
  • 5

1
2 3 4 5
8