Why does the SDF install want to delete my files a...
# sdf
d
Why does the SDF install want to delete my files at the end of the install?
m
Just a guess since we only see partial output from your deployment, but it looks like you might be using a SuiteApp project rather than an Account Customization project (based on the reference to 'com.bluebanyansolutions') . If so, when deploying a SuiteApp project to an account each object that is deployed is tagged with the Application ID for the application. If you remove a custom object from your local project, but that object exists in the target environment and is tagged with the Application ID, that object will be removed as part of the deployment since it no longer exists in your local project. In this case, it looks like the object being removed is referenced by another custom object, so it can't be removed. You can view the Application ID on objects in NetSuite by checking the box at
Home > Set Preferences > Show App ID Field
. As an app developer, this is a pretty cool feature since you can check out different code branches of your application, deploy them to a dev/sandbox environment and the environment will be made to match even removing objects that don't exist in that code branch.
d
Thank you Mike! That makes sense.
m
If the object being removed is no longer part of your project but you still need it in your target environment, you can remove the application id from it in NetSuite and SDF should no longer try to delete that object when you deploy.
d
I do need the objects but they are SSP files. I don't think they are all referenced by the Object XML. Maybe I need to define them as a file object as part of the project?