function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dev dev 37dev dev 37 

is that possible to automate post deployment steps ?

Hi,

any one got solution for automating the post deployment steps?

Kindly let me if there any solution already exist or way to achieve this.

Thanks in advance 
Mahesh DMahesh D
Hi

It depends upon what kind of post deployments you are talking about.

Provide more about which components/changes you are looking for?

Regards,
Mahesh
dev dev 37dev dev 37
Hi Mahesh,

Thanks for your early response.

providing format that we are getting post deployment steps.
EX: 
1>Setup --> Permission Sets --> navigate to one of the 'Permission Set Label' --> Object Settings --> click on Tasks --> click on Edit button --> navigate to one of the field --> enable the both (Read & Edit ) checkboxes --> then Save

2>setup->object->task->find pagelayout section ->find "given Task - Click Submitted" ->click on edit ->drag and drop cancel button->save.

Thanks,
Siraj
Mahesh DMahesh D
We can do some of these using the ANT migration tool.

Will provide you the sample Package.xml in my next message.

Regards,
Mahesh
dev dev 37dev dev 37
providing sample package.xml is very helpfull.

Thanks,
Siraj
Mahesh DMahesh D
Hi Siraj,

Below is the sample Package.xml
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">	
	<!-- Page Layouts -->   
	<types>
        <members>Project__c-Project Layout</members>
		<members>Contact_Role__c-Contact Role Layout</members>  
		<name>Layout</name>
    </types>
	<!-- Permission Set -->
	<types>
		<members>Object_Permission_Campaign</members>	
		<name>PermissionSet</name>
	</types>
	version>28.0</version>
</Package>

Please let me know if it helps.

Regards,
Mahesh
dev dev 37dev dev 37
Hi Mahesh,

Thanks for your sample package.xml with this we can retrieve metadata from the one org and deploy it to another org exact my requirement is to pass the data manually as per their requirement and guide.
providing some more sample post deployment steps for reference.

setup->develop->custom settings->DUMMY_CONFIGURATION_OBJECT->click MANAGE->click NEW->enter (ex:- Name:Dummy_USER_ADDRESS_TYPES ,text value:CUSTOMER'S ADDRESS)-> click save.
      
         above step repeats for different fileds,along with previously provided post deployment steps.

Please let me know any aproach to acheive automation, or is there any article for pd steps automation.


Thanks,
Siraj
Mahesh DMahesh D
Hi Siraj,

For Custom Settings to insert the data, you can Data Loader.

Regards,
Mahesh
dev dev 37dev dev 37
thanks mahesh very helpful 

Thanks,
Siraj

 
Mahesh DMahesh D
Mark it as a solved Siraj so that it will be helpful to others.

Regards,
Mahesh