You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug and steps to reproduce
I included 12 profiles in sandbox A and deployed them to sandbox B.
The profiles included opportunity record type settings and object visibility settings.
The deployment completed successfully with 0 errors, but when checking the profiles in Sandbox B, none of the modifications from sandbox A actually moved.
Expected behavior
I expected the 12 profiles included in the deployment from Sandbox A to Sandbox B to have matching profile settings in both sandboxes.
Browser and operating system:
Chrome. Mac Sequioa.
The text was updated successfully, but these errors were encountered:
@elise-smcmigrations - It looks like on the deployment, the response indicated "nothing was changed".
Profiles/permissions can be a bit tricky - you actually need to combine profiles in addition to the actual metadata that you want the profiles to apply to.
Here are some docs I found, there are likely other pages relating the change sets or deployments and managing permissions with Profiles - might be a useful reference.
For record type settings you need to deploy:
record types + profile
for object visibility settings - I am really not sure exactly what to deploy here.
Maybe customObject + profile - but that ends up deploying a bunch of extra stuff that you may not want to deploy
For permissions related changes - you have a couple easier options:
Use the Permissions Manager in Jetstream
Do a normal data load - query the ObjectPermissions from Org A for the profiles in question, download, then do a record data load of those records into the target org
The jetstream permission manager uses these records behind the scenes to update permissions
Edit the profile names and object names as required
SELECT Id, PermissionsCreate, PermissionsDelete, PermissionsModifyAllRecords,
PermissionsRead, PermissionsViewAllRecords, SobjectType
FROM ObjectPermissions
WHEREParent.NameIN ('Name of Profile 1', 'Name of Profile 2', 'Name of Profile 3')
AND SobjectType IN ('Account', 'Contact')
Describe the bug and steps to reproduce
I included 12 profiles in sandbox A and deployed them to sandbox B.
The profiles included opportunity record type settings and object visibility settings.
The deployment completed successfully with 0 errors, but when checking the profiles in Sandbox B, none of the modifications from sandbox A actually moved.
Expected behavior
I expected the 12 profiles included in the deployment from Sandbox A to Sandbox B to have matching profile settings in both sandboxes.
Browser and operating system:
Chrome. Mac Sequioa.
The text was updated successfully, but these errors were encountered: