Articy Forum


https://www.articy.com:443/forum/

What is the Command to set Articy Draft to JSON?

https://www.articy.com:443/forum/viewtopic.php?f=33&t=18620

Page 1 of 1

What is the Command to set Articy Draft to JSON?

Posted: Tue 23. Jul 2019, 15:58
by btsslawa
Hey there :)

So I have a SingleUser License and like to throw my project into my GitRepo. I know articy is setting the files by default to binary.
BUT! In this topic: http://www.articy.com/forum/viewtopic.p ... c090a65b27
Peter Sabath is mentioning there is command to force set articy to operate on a JSON basis. Now I looked through the forums, I looked into the help center but I couldn't find how and what exactly to type into the CMD to execute that command. Any help would be great (and maybe also a suggestion: include the answer in your docs :D )

Re: What is the Command to set Articy Draft to JSON?

Posted: Wed 24. Jul 2019, 11:29
by [Articy] Peter Sabath
Hey,

you can add the "-save.forceText" to the command-line to force text saving. This will be done for any newly saved file.
To convert all of the files you should do a one-time save using "-save.fullSave" so each save writes all files on a save operation and not only the changed ones.

Re: What is the Command to set Articy Draft to JSON?

Posted: Mon 29. Jul 2019, 14:08
by btsslawa
Could you maybe elaborate a bit how to accomplish that?
I opened cmd and directed to the /bin folder where these three .exe are located:

- articy draft 3 (Single-User).exe
- articy draft 3 (Multi-User).exe
- ArticyDraft.exe

Now in cmd and just write ArticyDraft.exe apparently the MultiUser version gets started or something similar, since I get the UI which tells me to insert a host server.
Which means I need to explicitly run the SingleUser version. Alright. Did that by typing the path of the .exe with marks like this:
\bin\"articy draft 3 (Single-User).exe"

This will start the correct application. Now when writing:
\bin\"articy draft 3 (Single-User).exe" -save.forceText
or

\bin\"articy draft 3 (Single-User).exe" -save.fullSave

Apparently nothing is happening. When I open the project and a new location, a new entity, a new flowfragment I do get changes in git,but the .adpd files are still binary.

I also started a the Application with running \bin\"articy draft 3 (Single-User).exe" -save.forceText and created a new project in the Repository, still everything is set to binary.
Anything is missed or did wrong?

Re: What is the Command to set Articy Draft to JSON?

Posted: Fri 2. Aug 2019, 11:24
by btsslawa
Bump :P

Re: What is the Command to set Articy Draft to JSON?

Posted: Mon 12. Aug 2019, 14:53
by btsslawa
Bumping again.

All times are UTC
Page 1 of 1