Deploy File that Executes the SDF Installation Script Example
The following SuiteCloud Development Framework (SDF) XML example is the deploy file that deploys the objects in the v4 folder to the target account, followed by v41 folder objects. The SDF installation script executes at the end of deployment.
<deploy>
<files>
<path>~/FileCabinet/SuiteApps/com.example/*</path>
<files/>
<objects>
<path>~/Objects/v4/*</path>
</objects>
<objects>
<path>~/Objects/v41/*</path>
</objects>
<run>
<script>
<path>~/Objects/v4/customscript_install_script.xml</path>
<deployment>customdeploy1</deployment>
</script>
</run>
</deploy>
The following example of the updated transaction record as it appears in the NetSuite UI after installing SuiteApp v4.1:
