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
1
vote
0answers
26 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 ...
0
votes
1answer
24 views

RSS feed via Ampscript (with earlier sample code failing)

I am trying to create a content block in email-studio, using xml/rss feed to import content for display. I've used both (1) creating a standalone content block, and (2) inserting a code snippet ...
0
votes
1answer
19 views

Heroku fails to build Java application with XSL transformation

I have just attempted to deploy onto Heroku a change to my Java 8 application, which includes an XSL transformation. The deploy fails because the Maven build fails, with the message: cannot find ...
1
vote
1answer
1k views

Comparison operator '<' & '>' AMPscript error in XSLT

Basically the email uses XSLT AMPScript to parse XML into the email. Part of the requirement is to count the items in the XML data and perform certain logics based on the item count. Since XSL uses ...
1
vote
1answer
740 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 ...
0
votes
1answer
24 views

-metadata.xml Salesforce Metadata Retrieve and Deploy

we have a problem with to deploy a package, the problem is the next We was retrieve the metadata from Workbrench Tools with to package.xml (Example: Profile) in this part we saw that file name of ...
0
votes
1answer
26 views

Is it possible to go to aparticular node in a xml?

I am wondering how can I search a node once I parse an XML, I need to go to the node (attached at the end of the question) "data-block" and loop through all the children to extract the value ...
0
votes
1answer
25 views

Merging Accounts on SOAP API While Preserving Data

I am working on some code right now to merge Accounts in Salesforce, but when I need to merge accounts I need to have certain fields preserved in case the victim account has something that needs to be ...
0
votes
0answers
172 views

Origin has been blocked by CORS policy

I understand there are lots of questions and answers related to CORS policy, but here I wanted to make sure if I'm understanding it right and solving it the right way. I have a visualforce page that ...
0
votes
0answers
60 views

Error when deserealizing reply message from 'query' operation in .NET Core 3.1

I'm encountering the following error when using the query operation from the Salesforce SoapClient System.ServiceModel.CommunicationException: Error in deserializing body of reply message for ...
0
votes
1answer
32 views

Salesforce get Record types XML [closed]

I created new Record Type and now I can deploy it to PROD using Change set (Outbound/Inbound) but is there any option to get Record types XML in order I can push that XML to gitlab?
0
votes
2answers
53 views

Parsing XML to get child nodes

I am trying to parse the following XML Payload in Apex: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/...
0
votes
2answers
118 views

Discover Schema of Source + Metadata XML formats

The Open Source Static Analyser PMD is now supporting not only Apex but also rules on arbitrary XML metadata. Using flexible XPath expressions that verify the structure and attributes of XML. I am ...
0
votes
1answer
24 views

Parse xml form different nodes by id

I need to parse this xml and get last-name by Id(99999) or by Id(55555) based on what I set in the method. <?xml version="1.0"?> <xmldata xmlns:xsi="http://www.w3.org/2001/...
0
votes
1answer
41 views

Parse xml for getting data

I need to parse this xml and get last-name by Id(99999) or by Id(55555) based on what I set in method. <?xml version="1.0"?> <xmldata xmlns:xsi="http://www.w3.org/2001/...
0
votes
1answer
61 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="...
0
votes
0answers
20 views

XML is failing after escapeXML()

Today I faced a problem that my XML can't path a validation, after using the escapeXML() method. The reason is that '&' escaping as '&AMP_;' instead of '&amp_;'. Does anybody know the ...
1
vote
1answer
59 views

Encountering 500 server error while parsing xml response in SSJS

I have req to get User record in Marketing cloud for which I am using SSJS to make SOAP API call and the response is in xml , I am passing the response to Ampscript as SSJS cannot cannot parse xml ...
0
votes
1answer
24 views

Parse XML on different levels

How to get value session-id from this xml. <?xml version="1.0"?> <xmldata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" status="SUCCESS"> <...
-1
votes
1answer
664 views

Parse XML values from a column in the DE?

I'm new with XML in SFMC, and I'm not sure if someone tried to execute the type of scenario, but I'm stuck with understanding the process of parse an XML payload form inside the SMFC. Is it even ...
0
votes
1answer
35 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
0answers
134 views

Document.load() fails: System.XmlException: Failed to parse XML due to: only whitespace content allowed before start tag and not {

I am getting the following error when tying to use the Document.load() method for my xml: System.XmlException: Failed to parse XML due to: only whitespace content allowed before start tag and not { (...
0
votes
1answer
46 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?...
-1
votes
1answer
37 views

AMPscript loop is showing incorrect output

I am trying to create AMPscript to parse through an XML payload and output the correct status in each classification. However, currently, my code is outputting every status in every classification I ...
0
votes
1answer
42 views

Why does my AMPscript only loop once?

I am trying to display multiple results using this loop. However, it will only loop through the first set of results from the XML. AMPscript: %%[ VAR @ShipmentsReleasedRows SET @ShipmentsReleasedRows ...
0
votes
1answer
440 views

How to display checkbox in custom custom visualforce page for CPQ quote?

I am trying to generate a quote document using custom visualforce page for steelbrick CPQ. I need to display a checkbox in a column (it does not have to be associated with any field). I tried using , ...
0
votes
0answers
20 views

ampscript reading from XML RSS feed node attribute <enclosure

based on the xml below I am trying to get the value from the node <enclosure I have tried the below line in AMPScript but it has not worked Set @imgages_urls = BuildRowsetFromXML(@xml,"//...
1
vote
0answers
33 views

Importing a 1024bit key into SF

we are integrating into a government system (yep one of those!) they have given us a PFX certificate and I have managed to use openssl and java keystore to convert it to a JKS file When I tried to ...
0
votes
1answer
35 views

Ampscript - BuildRowSetFromString with multiple inputs

I need to convert the following string [{"productName":"Product1","productPrice":100,"deliverByDate":"04/13/2021","giftMessage":{"...
1
vote
2answers
99 views

How to validate LWC's XML properties?

I have two properties configured through XML, they are two currencies for currency converter app, so they cannot be the same, but I don't know how to prevent this if a user types the same value for ...
2
votes
2answers
2k views

Cannot find Data Extension by external key with SOAP API

I have a Data Extension on Sales Force. The External KEY is: 841F2F2C-6D3A-40D3-9F03-53E7CF42CE45. I'm trying to send a XML request as specified in the documentation: Sales Force Documentation Here is ...
0
votes
0answers
74 views

how to read file in content version object in apex

I have uploaded the XML file in notes and Attachments that file saved in the Content Version object so I need to read the file and insert it with respective fields in the Account object. Now I worked ...
0
votes
1answer
61 views

Unable to parse xml data with address in Account object with address field

My requirement I have XML data with a set address I need to insert all XML address data into the Account object with the Address field respectively. any solution to this. My updated code: If I insert ...
0
votes
1answer
50 views

Insert/update parse xml content file in address filed 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
0answers
173 views

org.xml.sax.SAXException: Processing instructions are not allowed within SOAP messages

My salesforce organization outbound messages suddenly stopped working.i got this error message In outbound messages monitor I looked some resources on the internet, About this error they say, ...
0
votes
1answer
37 views

Outbound XML Payload and Heap Governor Limits

Greetings my fellow SF Experts, I have a massive outbound XML integration that I need to build in salesforce (Multiple XSD schemas with several thousand lines of xsd elements). Waiting for official ...
0
votes
1answer
47 views

XMl parse data to insert into contact fields respectively

For example, if I have XML data with address records, I need to insert the address data of XML into Address fields in the Account object respectively Can you please help... Update the code public ...
0
votes
1answer
181 views

External Service - Parsing XML/JSON

I am trying to implement an integration with a third-party system to Insert Products into Salesforce. I have created the External Service, consumed the schema, and was also able to make a call to the ...
0
votes
0answers
18 views

How to Add Docusign Signature and Date Tags to Dynamic PDF Creation [duplicate]

I'm trying to determine if it is possible to embed the Docusign Signature and Date tags into apex code that dynamically generates a PDF file using XMLStreamWriter. The PDF file is generated from the ...
0
votes
0answers
95 views

Empty lines after each line in LWC meta files

After sfdx force:source:retrieve -x manifest/package.xml my meta files (only LWC) have empty empty lines after each line. Before retrieve: <LightningComponentBundle xmlns="http://soap.sforce....
2
votes
1answer
56 views

Apex stub from an xml with attributes

I have created apex stub classes from a wsdl and invoked a external SOAP webservice from it. The response is an xml with attribute in elements. I need to extract the value (which is 'PPPPPP' when wd:...
0
votes
0answers
63 views

Convert large XML into PDF format as attachment

<?xml version="1.0"?><!DOCTYPE pdf PUBLIC "-//big.faceless.org//report" "report-1.1.dtd"> <pdf> <head> <link name="NotoSans" type=...
0
votes
1answer
103 views

What is the Workflow metadata type?

I've got a couple of XML metadata files in a workflows folder, the contents of the files are really basic: <?xml version="1.0" encoding="UTF-8"?> <Workflow xmlns="...
1
vote
3answers
3k views

Pulling *full* Profile XML without hitting metadata limit?

Need: I have a profile configured for the 'Salesforce Platform' license type, and need a version of it that works for the 'Salesforce' license (you can't clone a profile across license types using the ...
0
votes
2answers
1k views

How to read XML data in salesforce?

I get data in XML from a web service from a connector URL, the xml contains data about people, now I have to read the names, emailids from that xml and compare with my org's contacts and so some ...
2
votes
1answer
89 views

Can we analyze PMML models in Salesforce?

Is there any piece of Apex code or Managed Package that is able to read and parse PMML models, and then evaluate them on a given set of data? I cannot find anything directly, and hoped some of you ...
2
votes
1answer
59 views

Error pushing -meta.xml to scratch org: The processing instruction target matching "[xX][mM][lL]" is not allowed

I was attempting to use the SFDX CLI to push the following file to a scratch org: force-app>main>default>messageChannels>SettingCategory_Selected.messageChannel-meta.xml <?xml version=&...
3
votes
1answer
318 views

Metadata Equivalent of the System Permission "Connect Org to Customer 360 Data Manager"

I'm currently experiencing the error: "You may not modify the permission Connect Org to Customer 360 Data Manager while editing a Standard Profile". I've checked in the destination org ...
0
votes
1answer
36 views

How can I escape the the double quoted xml in AMPscript

After I use http call to get xml from an endpoint, i got this xml; "<root><listing bedrooms="3" bathrooms="2.0" /><listing bedrooms="" bathrooms="...
0
votes
1answer
246 views

Flexipage deployment error

Error while deploying the flexipage in 21 sandbox ,, it is working fine by retrieving from the VS code Kindly help error: Property 'itemInstances' not valid in version 46.0

1
2 3 4 5
7