Hello everyone! Is there a way to package a restle...
# suitescript
b
Hello everyone! Is there a way to package a restlet so I can ship it to another NetSuite user and he can just "Plug and Play" it and it will be uploaded and deployed? Instead of him uploading the file, deploying it manually etc.
n
You can bundle a RESTlet and have them install it.
b
thanks mate! how do i do that?
b
you are the man
n
That's how you create a bundle.
🙌 1
You need to make sure you set it to be available to specific accounts and then the user can search for a bundle and install it in their account presuming you've added their account to the list of approved accounts. It's a pretty simple process
From the list of bundles once you have created it
You might be able to define that as you create it, but it's been years since I bothered with bundles, so don't recall I'm afraid.
e
Alternatively, zip up the source file(s) and the XML definition of the Restlet, and your friend can use SDF to deploy it.
n
^^ figured that might be too technical if the user isn't a dev and also requires some setup to be able to use SDF as apposed to just searching for a bundle. 😉
e
Yep, 100%, I was just providing an alternate
👍🏻 1