You need to sign in to do that
Don't have an account?
goravseth
How do i deploy permission sets referencing fields in a managed package?
We are rolling out a HRIS built on force.com and I am trying to do things "properly" i.e. in a sandbox, and deploy to production.
So, we have a few custom permission sets that we need to migrate over as we get ready to go live. When I migrate them via change sets, nothing really comes over, just the permission set name.
Per this help article (http://help.salesforce.com/HTViewHelpDoc?id=changesets_perm_sets_profiles.htm&language=en_US), In order to get the object settings to come over in a change set, I have to include all the fields in these objects, but as they are part of a managed package, I cant do so!
With some brief testing, it looks like i might be able to get this via workbench / metadata API via manually including the custom object name and fields in the package.xml file, but thats probably more painful than just re-creating the permission set in production, as there are a ton of objects referenced by the permission sets.
Anyways, looking for any insight on how to stay on the up-and-up, rather than granting their consultants full sysadmin rights in production, etc.
If anyone has experience doing this type of deployment w/ Ant or Workbench, please let me know.
Thanks!
So, we have a few custom permission sets that we need to migrate over as we get ready to go live. When I migrate them via change sets, nothing really comes over, just the permission set name.
Per this help article (http://help.salesforce.com/HTViewHelpDoc?id=changesets_perm_sets_profiles.htm&language=en_US), In order to get the object settings to come over in a change set, I have to include all the fields in these objects, but as they are part of a managed package, I cant do so!
With some brief testing, it looks like i might be able to get this via workbench / metadata API via manually including the custom object name and fields in the package.xml file, but thats probably more painful than just re-creating the permission set in production, as there are a ton of objects referenced by the permission sets.
Anyways, looking for any insight on how to stay on the up-and-up, rather than granting their consultants full sysadmin rights in production, etc.
If anyone has experience doing this type of deployment w/ Ant or Workbench, please let me know.
Thanks!
Hi Gorav,
Try using Metadata API , see the steps and more information in the below link,
http://www.salesforcehacker.com/2013/05/dude-wheres-my-permission.html
Regards,
Ashish
I have read your comment in the SalesforceHacker.com blog
Open a Support case under partner catagory - they can help / advise accordingly.
Regards,
Ashish
Try creating another case with this detail about the Settings included in managed package to be installed by Partner's Customers.
Use the Case Record Type as Platform / Application Support
Regardsm
Ashish