...
Code Block |
---|
localhost:8082/david@monahan.com/apps> down Downloaded 2 application(s): Downloaded application DTM July 2011: C:\DOCUME~1\esposito\LOCALS~1\Temp\DTMJuly2011_8805120088410548632_app.zip Downloaded application DTM August 2011: C:\DOCUME~1\esposito\LOCALS~1\Temp\DTMAugust2011_7848214203496988467_app.zip |
[http://static.frevvo.com/resources/docs/site/4.1.5/com.frevvo.forms.cli/xref/com/frevvo/forms/cli/shell/ApplicationEntryShell.html
[ Source Code Example]
[http://static.frevvo.com/resources/docs/com.frevvo.forms.java-4.1.4-javadoc/com/frevvo/forms/client/ApplicationEntry.html Java Docs]
<pre>
====
Upload
...
In the frevvo UI UI, you can upload applications from the applications page.
[[Image:api-pix_Upload-Icon.png]]
In this example, '''up''' uploads up uploads a single application into the tenant. Note that we moved the ZIP files we downloaded in the previous step to a different directory before using '''up'''.<pre>
Code Block |
---|
localhost:8082/david@monahan.com/ |
...
apps> up d:\downloads\DTMAugust2011_7848214203496988467_app.zip |
...
----------------------------------------------------------------------------------------- |
...
ID | _5Crikb-LEeCP198_WwQSNw!david |
...
URL | http://localhost:8082/frevvo/web/tn/monahan.com/api/app/_5Crikb-LEeCP198_WwQSNw!david |
...
UPDATED | 2011-08-05T15:48:41.218-04:00 |
...
NAME | DTM August 2011 DESCRIPTION | Forms started in August. ----------------------------------------------------------------------------------------- |
...
localhost:8082/david@monahan.com/apps/DTM August 2011> |
</pre>
...
Note |
---|
After the upload, the command prompt now includes the name of the uploaded application (''../apps/DTM August 2011''). Use the '''?list''' command to see what you can do with the application. |
[http://static.frevvo.com/resources/docs/site/4.1.5/com.frevvo.forms.cli/xref/com/frevvo/forms/cli/shell/ApplicationFeedShell.html Source Code Example]
Downloading and Uploading a Form/Flow
You can use the '''forms > down''' and '''up''' commands
Downloading and Uploading a Form/Flow
You can use the forms > down and up commands to download forms and flows to a local drive and upload them to the frevvo server.
Before you can use the commands, you have to select the application whose forms you want to work with. In this example, we use the '''apps''' command apps command to list the applications in the tenant, and then '''select''' to select to select the application we want (e.g., '''select 1''' — — select the first application in the list).<pre>
Code Block |
---|
localhost:8082/david@monahan. |
...
com> apps |
...
----------------------------------------------------------------------------------------- |
...
URL ! http://localhost:8082/frevvo/web/tn/monahan.com/api/apps |
...
# | NAME | DESCRIPTION |
...
1 | DTM July 2011 | Group of test forms created by DTM. |
...
2 | DTM August 2011 | Forms started in August. ----------------------------------------------------------------------------------------- |
...
localhost:8082/david@monahan.com/ |
...
apps> ?list |
...
Name Abbr ArgNum Descr up 1 UPLOAD an application (e.g. 'up /var/contacts_apps.zip') |
...
... |
...
... |
...
... |
...
select s 1 SELECT an entry (e.g.: 'entry {entry#}') |
...
localhost:8082/david@monahan.com/ |
...
apps> select |
...
1 ----------------------------------------------------------------------------------------- |
...
ID | _W0jPga4rEeCMGZK99v93jw!david URL | http://localhost:8082/frevvo/web/tn/monahan.com/api/app/_W0jPga4rEeCMGZK99v93jw!david |
...
UPDATED | 2011-08-08T09:00:41.319-04:00 |
...
NAME | DTM July 2011 DESCRIPTION | Group of test forms created by DTM. ----------------------------------------------------------------------------------------- |
...
localhost:8082/david@monahan.com/apps/DTM July 2011> |
...
The command prompt now includes the selected application — ''DTM July 2011''. Use the '''forms''' command to see a list of the forms and flows in the application, and then use '''?list''' to see what you can do with them.
...