Dimensions (Unicom Intelligence) Dooblo Custom Objects

Overview

We have enhanced our Dimensions integration and and added new scripting capabilities that will allow you to use in Dimensions as a script and then run it in STG Data Collection app.

In this article you will find the list of all the Properties that are available for you to use.

Objects

Please click here to view our samples.

Object Name

Example

Description

dooblo.soundrec

dooblo.soundrec

bool StopRecording()

bool StartRecording()

bool Recording; get;

Object to Start/Stop Silent Sound Recording

dooblo.subject

dooblo.subject

void FlagInterview(string inComment)

void ClearFlag()

void SetInterviewExtraField(string inField, RunnerOperand inValue)

DVar GetInterviewExtraField(string inField)

string SubjectData; get;set;

string SurveyStatus; get;

Object to be used when you want to use the following:

Flag an Interview

Clear Flag

SetExtraFields

SubjectData

Survey Status

dooblo.attachments

dooblo.attachments

                bool HasAttachment(string inName)

Object for using attachments

dooblo.quotas 

dooblo.quotas

bool HasFilledQuota(string inQuotaName)

bool HasCurrentSetQuota(string inQuotaName)

int GetQuotaTotal(string inQuotaName)

int GetQuotaCurrent(string inQuotaName)

void CheckQuotas()

Object for using quotas through the script

dooblo.childmgr

dooblo.childmgr

int[] GetCompleteChildren(string inChildName)

int[] GetIncompleteChildren(string inChildName)

void DeleteChildSurvey(string inChildName, int inChildID)

int FillChildSurveyNamesList(IListSource ioList)

int FillChildList(IListSource ioList, string inChildName, bool inIncludeComplete, bool inIncludeIncomplete)

void EditChildSurvey(string inChildName, int inChildID)

void EditChildSurvey(string inChildName, int inChildID, DimSTGVariablesRO inExternalParams)

void StartChildSurvey(string inChildName)

void StartChildSurvey(string inChildName, DimSTGVariablesRO inParams)

void MoveToChildSurvey(string inChildName)

void MoveToChildSurvey(string inChildName, DimSTGVariablesRO inParams)

int GetChildSurveyCount()

int GetChildSurveyCount(string inChildName)

childMgr.GetChildSurvey()

childMgr.GetChildInfo()

Object for managing a child survey.

dooblo.variables

dooblo.variables

DVar this[string inVariableName] get;set;

int Count

string[] Names; get;

string GetValue(string inName)

bool IsDefined(string inVariableName)

void Clear(string inVariableName)

void SetValue(string inName, string inValue)   

 

dooblo.general

dooblo.general

DimSTGVariablesRO InputParams; get;

DimSTGVariables GlobalVars; get;

DimSTGVariables Vars;get;

int FormattingCulture;get;set;

int FormattingResponseCulture;get;set;

boolean OpenGPS()

boolean CloseGPS()
ISimpleCoordinates CreateCoords(double inLatitude, double inLongitude)
ISimpleCoordinates
GetSubjectGPSLocation()
void
SetSubjectGPSLocation(ISimpleCoordinates inLocation)
ICoordinates GetGPSLocation()

Object to use different variables such as Global Vars.

dooblo.database

dooblo.database

object GetValue(String inStoreName, String inColumnName, String inWhereClause)

 

dooblo.ui

void SetTopBannerImageFillWidth(bool inValue)

void SetTopBannerImagePercentage(int inSize)

void SetTopBannerImage(String inText)

int ScreenCount

int ScreenWidth

int ScreenHeight

int ScreenRotation

int GetScreenWidth(int inScreen)

int GetScreenHeight(int inScreen)

int GetScreenRotation(int inScreen)

bool GetScreenPrimary(int inScreen)

Object for UI information such as screen information, Top Banner etc. 
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.