You need to sign in to do that
Don't have an account?
Chamil Madusanka
Change Set issue in Deployment
Hi All,
Currently, I'm doing some R&D on deployment in salesforce. I created a trail enterprice edition(60 day trial) to do those tests. And I created a sandbox for that production environment. Doployment connection is ok.Then I have follow below test cases;
CASE 1:
- Created a custom object in sandbox
- created a outbound change set in sandbox and add the custom object with dependencies
- upload it to production environment
- Deployed in production environment
CASE 2
- Created a custom field for previous custom object in sandbox
- Created outbound Change set in sandbox and add the custom field with dependencies
- upload it to production
- deployed in production
CASE 1 is completed succesfully.
After complete CASE 2, the custom field has been added to the custom object in production environment. But that custom field is not in standard page that related to the custom object.
What is the issue?
Thanks in Advance
Ok. Sorry :)
Then it could/should be the field level security of that field.
I guess you have not included a profile in your changeset?
If not, you have to set the FLS of the new custom field manually.
Hope this helps.
Florian
All Answers
Hi Chamil,
You have to deploy the 'Page Layout' as well.
Just clone your changeset for CASE 2 and add the Page Layout for your custom object. :) That will do it.
Florian
Hi Florian,
Thanks for the reply.
I have already deployed the page layout that related to the custom object(That's why I mentioned as "Created outbound Change set in sandbox and add the custom field with dependencies" )
But it didn't work.
Ok. Sorry :)
Then it could/should be the field level security of that field.
I guess you have not included a profile in your changeset?
If not, you have to set the FLS of the new custom field manually.
Hope this helps.
Florian
Hi Florian,
Thank you!
It works..
I didn't add the profile into change set.
Hi,
Does this suggest that anytime a field is added via a change set that I should add all the profiles as well?
-Jim