Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Scripting the SDF CLI
I am trying to automate some tasks and would like to use the new SDF CLI, Has anyone effectively scripted it such that you don't have to enter your password and answer "Yes" to the silly questions?
I was able to pipe my password into the the script so that I did not have to continually add it but when I try to do the same with "Yes" it just kicks me out of the script.
here is my code:
[CODE]
echo $SDF_PASSWORD | sdfcli importobjects -scriptid custform_77_3740738_737 -type ALL -destinationfolder /Objects/records -account 123456 -email myemail@example -role 3 -url system.sandbox.netsuite.com
I was able to pipe my password into the the script so that I did not have to continually add it but when I try to do the same with "Yes" it just kicks me out of the script.
here is my code:
[CODE]
echo $SDF_PASSWORD | sdfcli importobjects -scriptid custform_77_3740738_737 -type ALL -destinationfolder /Objects/records -account 123456 -email myemail@example -role 3 -url system.sandbox.netsuite.com
0