You need to sign in to do that
Don't have an account?
Abhilash Gupta 10
How to update the Profile's data with metadata api?
Hi All,
Is it possible to update the profile's data with metadata api?
If yes, then please share the apex code.
For ex: I want to update the CRUD Permissions,FLS,Tab settings etc for all the objects with metadata api.
Regards
Abhilash
Is it possible to update the profile's data with metadata api?
If yes, then please share the apex code.
For ex: I want to update the CRUD Permissions,FLS,Tab settings etc for all the objects with metadata api.
Regards
Abhilash
Answer for your question is properly explained here : https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_profile.htm
Also you can consider following example :
Hope this will help you.Thanks,
Pankaj.
Thanks for sharing the code.
My requirement is: Suppose in Account we have 1 field which is not visible and read only(Checkbox is not checked).
So i want to update these field data so that visible checkbox and read only checkbox should be checked with the help of metadata api.
Likewise i want to update the whole profile data (FLS,Tab settings,Pagelayout,Apps,Apexclass,VF page).
Can you please share the code.
Regards
Abhilash