Skip to main content

New answers tagged

0 votes

How to set org wide default home page through metadata api? Not for specific app or profiles

I believe I have found the answer. As was pointed out above, you can go to Setup > Feature Settings > Home Use the Set Default Page button to set your desired home page. Retrieve the Tabs, ...
Tony White's user avatar
0 votes

Mass Delete flow and flow versions

You can query the Flow object directly using the Tooling API and then delete the versions via Salesforce Inspector Reloaded. Here is an example query to fetch the flow versions: SELECT Id, Status, ...
DevMd9's user avatar
  • 1
1 vote

Metadata API readMetadata truncates base64 values?

I stumbled across this looking for an answer and did some investigation. It looks like that for both AuraDefinitionBundle and LightningComponentBundle the behaviour is the same, readMetadata does ...
Phil Hawthorn's user avatar
2 votes

Duplicating the list of fields from one object to a new object

Trying to dive into the Metadata API is definitely throwing yourself into the deep end of the pool. This is not something that's reasonable to expect from someone with no experience with Salesforce. ...
Derek F's user avatar
  • 62.8k
0 votes

Duplicating the list of fields from one object to a new object

ChatGPT has failed to mention that you need to deploy this code in order to to use the MetadataService class. This class isn't part of the standard Apex Code library. In general, be careful when using ...
sfdcfox's user avatar
  • 497k

Top 50 recent answers are included