Can someone help me understand whey I get object c...
# sdf
d
Can someone help me understand whey I get object conflicts when pushing updates to various accounts?
Copy code
*** ERROR ***
Validation of account settings failed.
An error occured during validation of Custom Objects against the account
Details: An object with script ID customscript_bb_loader already exists
2019-09-23 11:21:03 (PST) Installation FAILED (0 minutes 6 seconds)
a
did you have a bundle with the object customscript_bb_loader installed before?
d
no
This project has never been a bundle. I continue to have issues with SDF and maybe I just don't understand it enough. I created the scripts/objects in one account and then created and modified the suiteapp from there.
a
Are you working with a SuiteApp or Account Customization Project?
d
When you created the objects, did you create them in the UI and then import them to a SuiteApp? If so, you'll need to change the application ID of the object in the UI first before you update it with the SuiteApp.
d
This is a SuiteApp
I don't have an application id set anywhere in the xml.
I have the publisherid set
d
In the XML? The application ID is inherited from the SuiteApp itself. It is the publisherid.projectid
d
Those are in there but not an application id
d
For example if your publisher id is "com.netsuite" and the project id is "foo" then the application id would be "com.netsuite.foo". If you created the object in the UI, you will need to change the application ID to "com.netsuite.foo" before being able to update it via SuiteApp
d
There are no application id's in any of the object xml data
d
Correct. It is derived from the manifest
d
Then I guess I'm not following what you're saying I need to do.
Should I have an applicationid node in all of the objects?
d
Nope. Can I ask if you created the object with the UI prior to doing anything with SDF?
To change the application ID in the UI you will need to first check the "Show App ID Field" preference in the UI.
message has been deleted
Then when you edit the script file on the UI you should see 2 new fields being added: Publisher ID and App ID as well as the "Change ID" button
message has been deleted
d
Yes, I created it in the UI, then downloaded the xml
OK. So in the accounts I need to edit these fields?
d
Yup, just initially. Once you edited those fields, you can update with the SuiteApp
Those fields are only editable via the Change ID button with the "Show App ID Field" preference toggled.
d
I will give this a try. Thank you so much, learned something today!
d
No problem!