Follow

How to generate automatic exporting

Overview

SurveyToGo has a unique Command Line Exporting tool that allows you to generate automatic exporting commands with a few simple clicks, instead of entering the studio and selecting manually each time – it also enables you to schedule a task for windows to export it automatically in your time of choice.

This tutorial will briefly explain you how to do that.
Please follow the next steps:

Step 1: Create A New TXT file in the folder which contains the exporting tool.
Step 2: Configure your file to contain the exporting commands.

Step 1: Create A New TXT file in the folder which contains the exporting tool.

If you are using Windows XP, the exporter tool should be located in the following path on the PC where the Studio is installed:

C:\Documents and Settings\<USERNAME>\Local Settings\Application Data\Dooblo\SurveyToGo Studio\App\<YOUR VERSION>\Utils\CmdLine

If you are using Windows 7, the exporter tool should be located in the following path:
C:\Users\<USERNAME>\AppData\Local\Dooblo\SurveyToGo Studio\App\<YOUR VERSION>\Utils\CmdLine

Note: To be able to run the command line tool as standalone meaning on a PC where the Studio has not been installed create a new folder on that PC (you can name it for example SurveyToGo Command Line Export).
Copy the 2 folders named Utils and Providers from the PC where the Studio is installed to the folder you created on the PC where you want to run the command line on.They will be located under C:\Documents and Settings\<USERNAME>\Local Settings\Application Data\Dooblo\SurveyToGo Studio\App\<YOUR VERSION> on Windows XP and C:\Users\<USERNAME>\AppData\Local\Dooblo\SurveyToGo Studio\App\<YOUR VERSION>\ on Windows 7

 

Now, after you created the txt file, rename it as something such as “My Exporter”, or whatever you prefer.

Then, create a shortcut to that file, and place it on your desktop:

Step 2: Configure your file to contain the exporting commands.

Open the exporting wizard.

Then, go all over to the final stage of the exporting wizard.


By clicking this button, it will copy to your clipboard a command with some data – the command that will export that survey.
Paste this data as one line inside the TXT file you just created.
Go on with this process on all of your surveys that you wish to export at once automatically, until you have all of your survey’s command lines pasted into the TXT file one by one.

Of course don’t forget to fill in the needed data, for example:

STGCMDLine.exe /action=export /user=”<USER>“ /pass=”<CHANGEME>” /org=”ORG_NAME” /url=”http://stg.dooblo.net/ws/” /surveyid=”YOUR SURVEY ID” /provider=Excel2007 /OutputDir=”<FULL OUTPUT PATH>”

After you finished this, ‘Save As’ your TXT file, and change its extension to be “.bat”

Eventually it would look like this:

And from now on, by double clicking this file, it would execute all commands written inside it through the CMDLine tool.

You can also use the windows built in task scheduler in order to configure scheduled exporting tasks.

You can find the Manual of the exporting tool, in the same folder where you created the TXT file:

This file has an explanation of all its features and functions.

You can download the attached file

That’s it!

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

1 Comments

  • 0
    Avatar
    Kent McNeill

    The "download" is just a link to a PDF. No ability to download (same as on "downloads" page).

Please sign in to leave a comment.
Powered by Zendesk