You need to sign in to do that
Don't have an account?
Manish S 8
Apex coding to combine 2 SOQL queries in a map collection.
Hai i m a beginner in apex. I want to add 2 SOQL queries onto a map. 1st query returns a list of profile names:[SELECT name FROM Profile] 2nd query returns a list of fieldpermissions i.e fieldname,permissionedit,permissionread&sobjectType:[SELECT field,PermissionsEdit,PermissionsRead,sObjectType FROM FieldPermissions where parentid in(select id from permissionset where profileid in profile)
I want to retrieve all the fieldpermissions list with respect to each profile name. Can anyone help me with the code ?
I want to retrieve all the fieldpermissions list with respect to each profile name. Can anyone help me with the code ?
Something like below?
Hope this helps.
PS: i wrote it in the forum , so if any typos please excuse