dbarnett
07/28/2020, 8:51 PMimportobjects
(or any other command really) is there a way to pass the "Y" confirmation ahead of time so it doesnt require that extra User input?dbarnett
07/28/2020, 8:53 PMstalbert
07/28/2020, 9:06 PMupdate
command already do essentially what you're describing?mtsb
07/28/2020, 9:08 PMmtsb
07/28/2020, 9:08 PMyes
ala:
yes Y|sdfcli importobjects -p $PROJECT -authid $AUTHID -type $TYPE -destinationfolder /Objects -scriptid ALL;
mtsb
07/28/2020, 9:08 PMdbarnett
07/28/2020, 9:18 PMupdate
works I might just be dumb 😅 whoopsAli Syed (NS DevTools QA)
07/28/2020, 9:19 PMAli Syed (NS DevTools QA)
07/28/2020, 9:20 PMAli Syed (NS DevTools QA)
07/28/2020, 9:21 PMdbarnett
07/28/2020, 9:23 PMmtsb
07/28/2020, 9:38 PMupdate
to do all objects in a project without having to specify scriptids? omitting -scriptid doesn’t work and ALL(all/All) doesn’t work in my experience. online documentation says -scriptid is required and doesn’t make any mention (that i can see) of support for all (same for command line help) the same actually seems to hold true for object:update
in suiteclouddbarnett
07/28/2020, 9:42 PMmtsb
07/28/2020, 9:43 PMdbarnett
07/28/2020, 9:57 PMdbarnett
07/28/2020, 10:30 PMupdate
command, worked great, but my git version control shows the file as Modified even though the file contents look identical.
I was thinking it was CR LF endofline characters, but it does not appear to be due to that; any idea what might be causing this?Ali Syed (NS DevTools QA)
07/30/2020, 9:12 AMdbarnett
07/30/2020, 12:32 PMgit diff
I get "warning: LF will be replaced by CRLF in /Objects/.../custobject.xml.
The file will have its original line endings in your working directory"dbarnett
07/30/2020, 12:33 PMAli Syed (NS DevTools QA)
07/30/2020, 1:09 PMdbarnett
07/30/2020, 1:15 PM