In a SuiteApp project, I'm creating a custom record in NetSuite, importing it into the project, and then when I subsequently redeploy, it complains that the record already exists.
I'm pretty sure I've done this before and not had this issue. Any thoughts?
l
Lander
07/16/2020, 4:38 PM
you probably need to set the appid to the same as your project
d
dcrsmith
07/16/2020, 5:02 PM
^^^ Yes, set the app id on the record. I've learned a few tricks using this recently.
c
Chris Abbott
07/17/2020, 8:15 AM
@Lander@dcrsmith Thank you both!
Chris Abbott
07/17/2020, 12:00 PM
@Lander@dcrsmith - How do I do that through the UI though?
l
Lander
07/17/2020, 12:51 PM
its a field on custom record. You need to set you preference to show this. So Home -> Set preferences -> Show App id Field
d
dcrsmith
07/17/2020, 2:26 PM
As Lander said you have to enable it in your personal preferences. Once you do that you will see the application id field when you go to change the ID of a field/record.
I've done this where if you remove the application ID and change the field/record ID you can then uninstall the app without loosing data. Then I change the IDs back to what they are supposed to be and redeploy. This keeps all the records. One example is when trying to move from and SDF deployed app to a Marketplace version of the same app. This process saved me big time with one of our customers.
c
Chris Abbott
07/21/2020, 8:22 PM
@Lander@dcrsmith That's going to be so useful! Thank you. high five