Skip to main content

Questions tagged [mdapi]

0 votes
0 answers
52 views

I intend to identify all deprecated (deprecatedEditable) components from an Unlocked Package and purge them from the org (destructiveChanges, in MDAPI context). So far, I came up with an algorithm ...
J. Schreiber's user avatar
  • 1,826
0 votes
1 answer
45 views

I wrote some code that calls the Apex Wrapper for the Metadata API (apex-mdapi) // establish service MetadataService.MetadataPort service = new MetadataService.MetadataPort(); service.endpoint_x = '...
cropredy's user avatar
  • 74.8k
1 vote
1 answer
149 views

I want to automate sending emails to Customer Community users that their password will expire in 7 days Our Customer Community users use several different profiles, each with their own Password ...
cropredy's user avatar
  • 74.8k
0 votes
1 answer
69 views

I need to get metadata files from manually created Workflow Field Update actions. I created package.xml with following content: <?xml version="1.0" encoding="UTF-8"?> <...
Dzmitry Sankouski's user avatar
-1 votes
1 answer
68 views

I'm trying to add a custom field created in Lead Object with help of SOAP API to Page layout called Lead-Lead Layout but I'm not able to do so and getting this error XML Body :- <?xml version="...
Programmer's user avatar
0 votes
0 answers
86 views

Let's say we have MetadataService.MetadataPort service = new MetadataService.MetadataPort(); service.SessionHeader = new MetadataService.SessionHeader_element(); service.SessionHeader.sessionId = ...
pincet's user avatar
  • 1,001
0 votes
1 answer
149 views

Is there a way other than using mdapi wrapper (ServiceController) to e.g. retrieve, update and deploy back some particular (let's say PermissionSets or Profiles) entities inside the one given org. We ...
pincet's user avatar
  • 1,001
0 votes
1 answer
142 views

I have a descructiveChangesPost.xml file to delete any components no longer required to which I've added a section for CompactLayouts, but it's not doing the delete. Is it not possible to delete these ...
Irene's user avatar
  • 2,005
0 votes
1 answer
153 views

I am doing automation on package installation after refreshing sandbox Found and follow this one https://github.com/litify/apex-mdapi/blob/55d755fc0c7e8d519dc10a5a3fa21aa0d7bda17b/apex-mdapi/src/...
vctqs1's user avatar
  • 115
2 votes
0 answers
612 views

So, currently, there is no way to enable feed tracking for a standard object, during scratch org creation. This includes all settings in scratch org definition file and/or using an org shape. The ...
Vio's user avatar
  • 41
1 vote
0 answers
74 views

I am able to get the profile login range ip, set it to what I want but when I try to update the profile I get many error messages. sf = Salesforce(username='[email protected]', password='...
Json's user avatar
  • 1,707
1 vote
0 answers
84 views

I am using financialforcedev's mdapi to create folder sharing in my Salesforce org - https://github.com/financialforcedev/apex-mdapi I am using the following code for Sharing DashboardFolder which ...
Madhurima's user avatar
  • 1,475
0 votes
1 answer
704 views

Hello I am trying to retrieve a record type to update its picklist values but whenever i try to do this it returns a weird object which has most of its values as null and I tried to use a name of a ...
Mohamed Montaser's user avatar
1 vote
3 answers
828 views

Mdapi deployment stucks in the queue, even when there are no other deployment in progress Steps To Reproduce: Prepare package for deployment run force:legacy:mdapi:deploy Expected result Deploymnt in ...
patryk's user avatar
  • 655
4 votes
2 answers
1k views

(In a Marie Kondo mood) I have a custom guest user profile: Foo. There are no assigned users to this profile (makes sense - it is a guest user profile) There are no Digital Experiences or Sites that ...
cropredy's user avatar
  • 74.8k

15 30 50 per page