5

In short: I managed to do this in Apex by using apex-mdapi AFTER I updated the code to support flowAccesses. - here's the github commit with changes needed to support it. This is the only way I can see to do this through Apex as you need to hit the Metadata API. Very Long Version I didn't see anything within SOQL or Tooling API that can be used. It seems ...


4

You should be able to do this through a metadata deployment. If you have a test environment, you can try this out to see if it works. In API version 44.0 and later, you can do this all through the Flow metadata type (no need for FlowDefinition). https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_visual_workflow.htm You'll want to ...


1

ListView is a read-only sObject representing a metadata entity. To modify metadata, you must use the Metadata API. There is an Apex wrapper, apex-mdapi, available from a third party. Working with the Metadata API is not to be done too lightly in an active production org. Be aware that the running user must have enough permission to make changes to ...


1

Unfortunately, it doesn't look like helptext is exposed through the Metadata API. You can, however, export all of the values in your translation workbench into an XLIFF or STF file and import them into another org. Inconvenient, but certainly better than manually adding them. Go to Setup, under Translation Workbench select "Export". From here, export ...


1

After many hours trying to look for every single issue mentioned on this page, and getting so angry about the lack of useful error messages in DX I was reminded that deployment settings may give more info. The error I was getting in DX was just N/A duplicate value found: <unknown> duplicates value on record with id: <unknown>. The Path was ...


1

I ran into this issue on a Lookup field where it had the "Business Status" Field set to "Active" in the metadata. I was thrown off by the winter fix as it had a lookup filter. I removed the Active from the field-meta.xml and that solved it for me.


Only top voted, non community-wiki answers of a minimum length are eligible