Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Extensible Markup Language (XML) is a structured document format that defines human- and machine-readable encoding rules.
0
votes
Accepted
How to retrieve the XML Definition of flow provided I have the Id of the flow?
The XML format presented in VS Code is limited to the Metadata API, which requires quite a few moving parts to get going. … If you ask for XML (Accept: application/xml header), you'll get something that very closely resembles the XML of VS Code. …
2
votes
Read a word document (Docx) and modify it in Salesforce
Edit:
With the new ability to compress and extract ZIP files in Apex, this is now significantly easier to perform, since the hardest part was not having native ZIP compression support. You would want …
0
votes
I am trying to convert Salesforce data to XML tags. End goal is to be able to import into MS...
Our XML file could be as big as 20MB, maybe more as well. Can I still be able to generate the file using XMLStreamReader and XMLStreamWriter?
No, that's going to be a deal-breaker. … Have it fetch the data, in chunks, if necessary, then build the XML on the client. …
2
votes
call querySelectorAll function in Apex XML Parser?
Instead of using the built-in parser directly, I'd suggest finding an XPath implementation, such as this one. Using a parser means that you have to keep track of the state yourself. You're much better …
1
vote
Accepted
Set Default Page Layout for Record Type in XML File
The default page layout is, unfortunately, in the profile. You'll need to create a system that retrieves each org's profiles, updates the appropriate page layout settings, then deploy those changes.
0
votes
Accepted
My Search Filter Lightning Web Component isn't Working and I'm Not Sure Why
handleChangeAccName(event) {
this.currentAccountName = event.target.value;
}
Should be:
handleChangeAccName(event) {
this.currentName = event.target.value;
}
When programming, make sure you pay …
1
vote
Run a JavaScript App on Salesforce Community page
You can. The lightning-container element allows you to host an entire web app in React, Svelte, Angular, etc, and have it safely exposed in Lightning Experience and Builder Sites.
For this, you'll nee …
2
votes
How is help text rendered?
If you use ⊞ Win+⇧ Shift+S in Microsoft Windows, Snip freezes the screen as it was at that point in time so you can take your screenshot. In the animation below, the first frame where the screen start …
1
vote
How to edit XML in zip document and save changes?
Much like how you open a file in Microsoft Word, then edit it, then Save it, the same is true here. You're not working with the compressed file directly, just a copy of it. Something like the followin …
3
votes
Accepted
Change profile name via XML
You need to use the renameMetadata function to make this kind of change, and there is no XML equivalent. …
1
vote
Accepted
How to build large single XML Document over multiple batches
You can't serialize doc or root. Remove them from the class, and initialize theDocAsString in your start(Database.BatchableContext context) method.
public Database.QueryLocator start(Database.Batchabl …
2
votes
Parse XML response
You appear to have copy-pasted the XML wrong. It looks like you meant;
<?xml version="1.0"? …
1
vote
Accepted
Is it possible to go to aparticular node in a xml?
This is a SOAP call, so your obvious best bet is to get a WSDL, use the SOAP Services feature of Apex, then you can call the method like a normal method call. If your particular API call isn't support …
2
votes
Parsing XML to get child nodes
Unlike JavaScript's Element.querySelectorAll function, XmlNode.getChildElement() and so on doesn't recursively find child elements. <UpdateResponse> isn't the immediate child of <soap:Envelope>, so yo …
0
votes
Parse xml form different nodes by id
for (Dom.XmlNode xmlNode : document.getRootElement()
.getChildElement('recordset', null)
.getChildElement('record', null).getChildElements()) {
Should be:
for (Dom.XmlNode xmlNode : document. …