Home > Uncategorized > How To: Generate Automatic Exporting

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 SurveyToGo 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 it here:

SurveyToGo Command Line v1.0

That’s it!

Visit us at: http://www.dooblo.net

Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: