function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sandy sfdcsandy sfdc 

​How to give Feild Level security using Metadata API.

Hi,
I need to give Edit/View permission for custom fields user wise.So editing profile from Metadata api is not work out for me.
can u suggest me how to give FLS using permission set from Metadat API.
surasura
you cant give permisions but view permissions from meta data api
sandy sfdcsandy sfdc
Hi Sura,
Can we use manifest package.xml file by retriving and making changes to create a permission set in xml format and agian deploying into the org.
i have find a reference link https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_permissionset.htm?search_text=.permission