You need to sign in to do that
Don't have an account?
Urich NOUPIK
Apex or SOQL development
Hi,
Please i need to have Profile Name with Object Access Permission by using Apex or SOQL. I use this query but the Profile name not appears corretly as you can see in the attached picture. Please someone can help me? I need it to extract metadate for a project.
SELECT Id, Parent.Name, Parent.Profile.Name, SobjectType, PermissionsCreate, PermissionsRead, PermissionsEdit, PermissionsDelete, PermissionsModifyAllRecords, PermissionsViewAllRecords FROM ObjectPermissions ORDER BY Parent.Name, SObjectType
Please i need to have Profile Name with Object Access Permission by using Apex or SOQL. I use this query but the Profile name not appears corretly as you can see in the attached picture. Please someone can help me? I need it to extract metadate for a project.
SELECT Id, Parent.Name, Parent.Profile.Name, SobjectType, PermissionsCreate, PermissionsRead, PermissionsEdit, PermissionsDelete, PermissionsModifyAllRecords, PermissionsViewAllRecords FROM ObjectPermissions ORDER BY Parent.Name, SObjectType
You should use the workbench: https://workbench.developerforce.com/
The header values are converted but the values of Parent.Name, Parent.Profile.Name are correct
Go to the workbench and export the data using this SOQL .. Use any other data export tools
SELECT Id, Parent.Name, Parent.Profile.Name, SobjectType, PermissionsCreate, PermissionsRead, PermissionsEdit, PermissionsDelete, PermissionsModifyAllRecords, PermissionsViewAllRecords FROM ObjectPermissions ORDER BY Parent.Name, SObjectType