Anyone got an automated pipeline for building and ...
# sdf
k
Anyone got an automated pipeline for building and deploying objects? Primarily I'm looking for building and deploying suitescripts from VS Code but any examples of any object type would be good
e
Hi @Kristopher Wood when you say automated do you mean including auth, objects deploying , importing using AI?
k
So far I've got an npm build:deploy script bound to a hotkey which builds. the script and deployment record xml files from the typescript, drops them into the appropriate locations in the suitecloud project, deploys them in the selected environment
Auth requires enabling suitecloud cli on both the Netsuite side and the VS Code side, then connecting the auth credentials as usual
Currently working on encoding the values for the script and deployment records in the JSDoc tags in the initial comment of the script below the
@N...
tags
That way I only need to maintain my typescript files and it can build the rest on the fly
Once that's working I'll try to find a way to only upload delta changes
Would be nice if SDF allowed uploading only one file
🙌 1
@Mohammed Kassem thanks for writing that, it was very helpful!
e
Ahh i see this is brilliant
Ah i saw that blog i was trying to do the same in the app also as one shot depolyment
k
I'm also going to work Advanced PDF/HTML templates into it
building a huge web app for my brother's NetSuite account to run a customer/vendor portal and it'll be a massive pain to do this the old fashioned way.
e
that will be great to be honest i will work on it and let you know, because my app is SDF support it can do pretty much any thing using AI but that wil be second option
k
What is your app?
Are you the one that had the AI that builds SDF objects?
👀 1