Ext.define('Forms.CachedForm',{config:{id:null,version:null,type:null,form:null,url:null,className:null},constructor:function(config){this.initConfig(config);},matches:function(formId,formVersion,formType){var me=this;if(formId==me.getId()&&formVersion==me.getVersion()&&formType==me.getType()){return true;} return false;},matchesOtherVersion:function(formId,formVersion,formType){var me=this;if(formId==me.getId()&&formType==me.getType()&&formVersion!=me.getVersion()){return true;} return false;},matchesClassName:function(formClassName){var me=this;if(me.getClassName()==formClassName){return true;} return false;}}); var TEXT_FIELD='Text';var VALUE_FIELD='Value';var LABEL_FIELD='Label';function GetURLUptoBaseDirectory(){return result=window.location.protocol+"//"+window.location.host+((WEBSITEBASENAME)?"/"+WEBSITEBASENAME:"");} function GetURLUptoHost(){return result=window.location.protocol+"//"+window.location.host+"/";} Ext.define('Forms.Constants',{singleton:true,DASHBOARD_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/DashboardService.svc/json/",FORMS_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/FormService.svc/json/",CATEGORY_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/CategoryService.svc/json/",BUSINESS_EVENT_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/BusinessEventService.svc/json/",RESOURCE_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/ResourceService.svc/json/",PROCESS_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/ProcessService.svc/json/",CHECKLIST_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/ChecklistService.svc/json/",ACTIVITY_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/ActivityService.svc/json/",BEACON_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/BeaconService.svc/json/",CLIENT_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/ClientService.svc/json/",USER_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/UserService.svc/json/",CLIENTWINDOWS_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/ClientWindowsService.svc/json/",SERVER_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/ServerService.svc/json/",ENTITY_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/EntityService.svc/json/",SECURITY_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/SecurityService.svc/json/",WQDEFINITION_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/WorkQueueDefinitionService.svc/json/",JOB_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/JobService.svc/json/",DEBUG_JOB_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/JobDebugService.svc/json/",CASE_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/CaseService.svc/json/",BUSINESS_CALENDAR_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/BusinessCalendarService.svc/json/",REPORT_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/ReportService.svc/json/",TENANT_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/TenantService.svc/json/",REPORT_RUNTIME_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/ReportRuntimeService.svc/json/",TRIM_INTEGRATION_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/TrimIntegrationService.svc/json/",CAPTURE_CONFIGURATION_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/CaptureConfigurationService.svc/json/",CAPTURE_DOCUMENT_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/CaptureDocumentService.svc/json/",CAPTURE_RUNTIME_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/CaptureRuntimeService.svc/json/",CAPTURE_RUNTIME_REST_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/CaptureRuntimeRestService.svc/",DOCUMENT_VIEWER_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/DocumentViewerService.svc/json/",DOCUMENT_SET_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/DocumentSetService.svc/json/",PERSONA_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/PersonaService.svc/json/",FEDERATED_LOGIN_REST_URL:GetURLUptoBaseDirectory()+"/Rest/FederatedLogin/",FEDERATED_LOGIN_CALLBACK_URL:GetURLUptoBaseDirectory()+"/FederatedLogin.aspx",QUERY_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/QueryService.svc/json/",PACKAGE_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/PackageService.svc/json/",CCM_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/CCMIntegrationService.svc/json/",PERCEPTIVE_CONTENT_WEB_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/PerceptiveContentIntegrationService.svc/json/",DATA_MODEL_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/DataModelService.svc/json/",PROCESS_TEST_SERVICE_URL:GetURLUptoBaseDirectory()+"/Services/Sdk/ProcessTestService.svc/json/",PERCEPTIVE_INTEGRATION_ADDIN_ID:'332AD071B0F9408F895ACB3EE8076701',STREAMING_SERVICE_BASE_URL:'/TotalAgility/Services/Sdk/StreamingService.svc',ALL_CATEOGRY_ID:'DF6F07856D1D47BBB68F35901162EAD1',GLOBAL_RESOURCE_ID:'7DF43CCDF24611D2804B00104B71BD10',DEFAULT_CATEGORY_ID:'201F370CA5164F76ADDD8EEEFF666AF7',EVERYONE_RESOURCE_ID:'7DF43CCDF24611D2804B00104B71BD15',DEFAULT_NOTE_TYPE_ID:'9E298F8BC47F49B3BAD91B852862B4D6',PRODUCT_NAME:'Kofax TotalAgility',PIXELS_PER_CHARACTER:'6',DEFAULT_SCAN_VRS_PROFILE:'C525FA863EB74348961543C740ED00A0',SLA_GREEN:'Green',SLA_AMBER:'Amber',SLA_RED:'Red',SLA_BLACK:'Black',SLA_PURPLE:'Purple',JOB_ID:'JOB_ID',NODE_ID:'NODE_ID',QUERY_ID:'QUERYID',GROUP_BY_FIELD:'GROUPBYFIELD',GROUP_BY_WORKTYPE_FIELD:'GROUPBYWORKTYPEFIELD',QUERY_TYPE_FIELD:'QUERYTYPE',JOBID:'jobid',NODEID:'nodeid',epc:'epc',EPC:'EPC',CASE_REFERENCE:'CaseReference',ANDROID_CORDOVA_PATH:'Forms/Plugins/MobileCapture/Cordova//android/cordova.js',ANDROID_CORDOVA_PLUGIN_PATH:'Forms/Plugins/MobileCapture/Cordova//android/cordova_plugins.js',IOS_CORDOVA_PATH:'Forms/Plugins/MobileCapture/Cordova//ios/cordova.js',IOS_CORDOVA_PLUGIN_PATH:'Forms/Plugins/MobileCapture/Cordova//ios/cordova_plugins.js',MOBILE_IMAGE_CAPTURE_FILE_PATH:'/Forms/Plugins/MobileCapture/Plugins/com.kofax.mobile.phonegap.imagecapture/www/imageCapture.js',MOBILE_CAPTURE_APP_FILE_PATH:'/Forms/Plugins/MobileCapture/mobileCaptureApp.js',DEFAULT_CORDOVA_VERSION:9.0,CORDOVA_PARAMETER_NAME:'cordovaVersion',LEXMARK_MFP_PLUGIN_PATH:'Forms/Plugins/MFP/LexmarkCsf.js',LEXMARK_MFP_IO_PLUGIN_PATH:'Forms/Plugins/MFP/io.js',SET_DEVICE_CONFIGURATION_COOKIE:'deviceConfigurationCookie',HOST_PREFIXED_SET_DEVICE_CONFIGURATION_COOKIE:'__HOST-deviceConfigurationCookie',BROWSER_NOT_SUPPORTED_WARNING_DISPLAYED:'browserNotSupportedWarningDisplayed',NONE:'None',DESIGN_HELP:'/help/TA/index.html',CUSTOM_HELP_PATH:'./custom/Help.html',FORMS:'/Forms',OFFLINE_DESIGN_HELP_PATH:'/Help/TotalAgility_designer/index.html',FORM_REFERRER:'referrer',FORM_HISTORY:'FormHistory',FORM_CONTROL_LABEL:'Label',FORM_CONTROL_TEXTBOX:'TextBox',FORM_CONTROL_NUMERIC_TEXTBOX:'NumericText',FORM_CONTROL_TEXTAREA:'TextArea',FORM_CONTROL_EMAIL:'Email',FORM_CONTROL_HYPERLINK:'Hyperlink',FORM_CONTROL_CALENDAR:'Calendar',FORM_CONTROL_CHECKBOX:'Checkbox',FORM_CONTROL_DROPDOWN:'Dropdown',FORM_CONTROL_RADIOBUTTON:'RadioButtonList',FORM_CONTROL_TABLE:'Table',TODAY_DATE_EXPRESSION:'@Today',DATE_EXPRESSION_VALID_FORMAT:'^@Today[\-,\+]\\d{0,4}$',EDIT_ICON_CLS:'icon-mode_edit',WORKQUEUE_FORM_GLOBAL_VARIABLE:'WORKQUEUE_FORM',SLASH:'/',TYPE:{CONTROL:{value:0,name:"control"},INLINE:{value:1,name:"inline"},SERVER_VARIABLE:{value:2,name:"server"},CUSTOM_SESSION:{value:2,name:"server"},FORM_VARIABLE:{value:3,name:"form"},INLINE_SCRIPT:{value:5,name:"inlinescript"},SECURE_SESSION:{value:6,name:"securesession"}},DEVICE_TYPE:{DESKTOP:{value:0,name:'DESKTOP'},PHONE:{value:1,name:'PHONE'},TABLET:{value:2,name:'TABLET'}},QUERY_PERMISSION_TYPE:{FULL_CONTROL:{value:0,name:'Fullcontrol'},EDIT:{value:1,name:'Edit'},RUN:{value:2,name:'Run'}},PAGE_RENDITION_NAME:'RENDITION_',SELECTION_MODE:{NONE:{value:0,name:"None"},ACTIVE:{value:1,name:"Active"},SELECTED:{value:2,name:"Selected"},ALL:{value:3,name:"All"}},VERIFICATION_MODE:{CONFIRM:{value:0,name:"Confirm"},BLINDDOUBLEKEYING:{value:1,name:"BlindDoubleKeying"},READONLY:{value:2,name:"ReadOnly"}},COMPLETED_BY:{Anyone:11,Resource:10},RESOURCE_TYPE:{Worker:0,Hardware:1,Software:2,GroupOfWorkers:3,GroupOfSoftware:4,GroupOfHardware:5,Role:6,RoleFixed:7,RoleFloating:8,HumanOnly:1024,NonhumanOnly:2048,ExternalUser:32,WorkerOrGroup:33,AllResources:2096},FormEventType:{Loaded:0,OnValidationFormLoaded:42,OnVerificationFormLoaded:43,OnDocumentReviewFormLoaded:44,OnScanActivityFormLoaded:45,},FORM_VARIABLE_TYPE:{ARRAY:{value:0,name:"Array"},BOOLEAN:{value:1,name:"Boolean"},DATE:{value:2,name:"Date"},DECIMAL:{value:3,name:"Decimal"},NUMERIC:{value:4,name:"Numeric"},STRING:{value:5,name:"String"}},FORM_TYPE:{DOCUMENTSCAN:{value:13,name:"DocumentScan"},FOLDERSCAN:{value:14,name:"FolderScan"},DOCUMENTVALIDATION:{value:17,name:"DocumentValidation"},DOCUMENTVERIFICATION:{value:18,name:"DocumentVerification"},FOLDERVALIDATION:{value:19,name:"FolderValidation"},FOLDERVERIFICATION:{value:20,name:"FolderVerification"},DOCUMENTDOCUMENTREVIEW:{value:31,name:"DocumentDocumentReview"},FOLDERDOCUMENTREVIEW:{value:32,name:"FolderDocumentReview"}},FOLDER_SEPARATION_TYPE:{BARCODEPATCHCODE:{value:0,name:"barCodePatchCode"},BARCODEMANUAL:{value:1,name:"manual"}},DOCUMENT_SEPARATION_TYPE:{BARCODEPATCHCODE:{value:0,name:"barCodePatchCode"},BARCODEFIXEDSHEET:{value:1,name:"fixedSheet"},BARCODEMANUAL:{value:2,name:"manual"}},BAR_CODE_TYPES:{AZTEC:{value:0,name:"Aztec"},CODABAR:{value:1,name:"Codabar"},CODE39:{value:2,name:"Code 39"},CODE39FULLASCII:{value:3,name:"Code 39 (Full ASCII)"},CODE93:{value:4,name:"Code 93"},CODE128:{value:5,name:"Code 128"},DATAMATRIX:{value:6,name:"Data Matrix"},EAN8:{value:7,name:"EAN-8"},EAN13:{value:8,name:"EAN-13"},INTERLEAVED2OF5:{value:9,name:"Interleaved 2 of 5"},PDF417:{value:10,name:"PDF417"},MICROPDF417:{value:11,name:"MicroPDF417"},POSTNET:{value:12,name:"POSTNET"},QRCODE:{value:13,name:"QR Code"},MICROQRCODE:{value:14,name:"Micro QR Code"},UPCA:{value:15,name:"UPC-A"},UPCE:{value:16,name:"UPC-E"}},BAR_CODE_SEPARATION:{BARCODEFOUND:{value:0,name:"barCodeFound"},BARCODEVALUECHANGES:{value:1,name:"barCodeValueChanges"},BARCODEVALUEFOUND:{value:2,name:"barCodeValueEquals"}},PATCH_CODE_TYPE:{PATCHCODE1:{value:0,name:"1"},PATCHCODE2:{value:1,name:"2"},PATCHCODE3:{value:2,name:"3"},PATCHCODE4:{value:3,name:"4"},PATCHCODE6:{value:4,name:"6"},PATCHCODET:{value:5,name:"T"}},DOCUMENT_SERVICES_ERRORS:{SESSION_NOT_VALID:{value:-2147198977,name:"SESSION_NOT_VALID"}},FREQUENCY:{HOUR:5,DAY:0,WEEK:1,MONTH:2,QUARTER:3,YEAR:4},PERIOD_TYPE:{DAYS:0,HOURS:1,MINUTES:2,SECONDS:3},MODE_OF_OPERATION:{COMPOSE:0,REVIEW:1,RERUN:2},DISTRIBUTION_TYPE:{NONE:0,EMAIL:1,PRINT:2,PORTAL:3,ARCHIVE:4,SIGNDOC:5},CHART_TYPE:{BAR:0,PIE:1,COLUMN:2},QUERY_TYPE:{JOBLIST:0,WORKQUEUE:1,ALL:2,SYSTEM:3},ASSIGNEDTO_TYPE:{RESOURCE:10,ANYONE:11},WORKALLOCATIONRULE_TYPE:{NONE:{Value:0,name:"NONE"},ALL:{Value:99,name:"ALL"},ACTIVITY:{Value:1,name:"ACTIVITY"},ACTIVITY_SLA:{Value:2,name:"ACTIVITY_SLA"},INDIVIDUAL:{Value:3,name:"INDIVIDUAL"},JOB_SLA:{Value:4,name:"JOB_SLA"},PRIORITY:{Value:5,name:"PRIORITY"},PROCESS:{Value:6,name:"PROCESS"},STATE:{Value:7,name:"STATE"},WORK_TYPE:{Value:8,name:"WORK_TYPE"},WORKQUEUE_QUERY:{Value:9,name:"WORKQUEUE_QUERY"}},OPERATOR:{ALL:{Value:-1,name:"ALL"},EQUALTO:{Value:0,name:"="},GREATERTHAN:{Value:1,name:">"},LESSTHAN:{Value:3,name:"<"},GREATERTHANOREQULTO:{Value:2,name:">="},LESSTHANOREQULTO:{Value:4,name:"<="},GREATERTHANLESSTHAN:{Value:5,name:"<>"},IN:{Value:6,name:"IN"},LIKE:{Value:7,name:"LIKE"},ISNULL:'IS NULL',ISNOTNULL:'IS NOT NULL',NOTLIKE:{Value:8,name:"NOT LIKE"},MONTHTODATE:"MONTH TO DATE",YEARTODATE:"YEAR TO DATE",WEEKTODATE:"WEEK TO DATE"},STYLE_SOURCE:{THEME:{value:0,name:"Theme"},INLINE:{value:1,name:"Inline"},CLASS:{value:2,name:"Class"}},QUERY_DISPLAY_TYPE:{DropDown:0,TreeView:1},VARIABLE_TYPE:{Empty:0,Short:2,Long:3,Float:4,Double:5,Currency:6,Date:7,String:8,Decimal:14,Byte:17,Bool:11,Variant:12,Array:2000,Complex:8204,Xml:32767,XmlExpression:32766,Text:32765,Checklist:32764,NullableDate:32763,NullableString:32762,Entity:32761,Document:32760,Folder:32759,DataBackbone:32750,DataObject:32748,JsonExpression:32749,},VARIABLE_CONTROL_TYPE:{Singleline:0,Multiline:1,DropDown:2,Email:3},VARIABLE_SCOPE:{Process:0,Server:1,Case:2,},MINMAXVALUE:{ShortMinValue:-32768,ShortMaxValue:32767,LongMinValue:-9223372036854775808,LongMaxValue:9223372036854775807,FloatMinValue:-3.402823e+38,FloatMaxValue:3.402823e+38,DoubleMinValue:-1.79769313486232e+308,DoubleMaxValue:1.79769313486232e+308,DecimalMinValue:-79228162514264337593543950335,DecimalMaxValue:79228162514264337593543950335,ByteMinValue:0,ByteMaxValue:255},JOB_STATUS:{Live:-1,LiveAndFinished:-2,Active:0,Completed:1,Terminated:2,Suspended:3,PendingCompletion:4,Locked:5,ReadyForEvaluation:6,OnHold:7,AwaitingCompletion:8,AwaitingCaseCompletion:9,AwaitingCompletionTerminated:10,AwaitingCaseCompletionTerminated:11},Job_Criteria_Status:{JobCriteriaActive:0,JobCriteriaAllLiveAndFinished:1,JobCriteriaAllFinished:2,JobCriteriaAllLive:3,JobCriteriaCompleted:4,JobCriteriaReadyForEvaluation:5,JobCriteriaPendingCompletion:6,JobCriteriaSuspended:7,JobCriteriaTerminated:8,JobCriteriaOnHold:9,JobCriteriaAwaitingCompletion:10,JobCriteriaAwaitingCaseCompletion:11,JobCriteriaTerminatedAwaitingCompletion:12,JobCriteriaTerminatedAwaitingCaseCompletion:13},JOB_DOCUMENT_RULE_STATUS:{NotRun:0,Passed:1,Failed:2},DOCUMENT_SET_FIELD_TYPE:{String:0,Bool:1,Number:2,Date:3},JOB_DOCUMENT_SOURCE:{Upload:'0',Link:'1',NotRequired:'2'},DUEDATE:{All:0,Since:1,Between:2,Today:3,ThisWeek:4,ThisMonth:5,ThisYear:6},JobActionNames:{ViewJob:'viewJob',OnHold:'onHold',Suspend:'suspend',Terminate:'terminate',Activate:'activate',Recover:'recover',AddNote:'addNote',ChangeOwner:'changeOwner',ChangeState:'changeState',ReevaluateSkins:'reevaluateSkins',ReevaluateScore:'reevaluateScore',ReevaluatePreconditions:'reevaluatePreconditions',ViewDocuments:'viewDocuments',ViewNotes:'viewNotes',InitiateAProcess:'initiateAProcess',AddTask:'addTask',SuggestDesign:'suggestDesign',RaisePriority:'raisePriority',EngageSupervisor:'engageSupervisor',ManageDocuments:'manageDocuments'},MultiViewCardId:'multiviewcard',MainContainerId:'_mainContainer',EmptyStoreId:'ext-empty-store',QuickTipsId:'ext-quicktips-tip',NavigationViewId:'NavigationView',MainCardLayoutId:'mainCardLayout',MultiViewFormId:'multiViewForm',MobileExtension:'_mobile',TabletExtension:'_tablet',JoblistColumnData:"_JOBLIST_COLUMN_DATA_",WorkQueueColumnData:"_WORKQUEUE_COLUMN_DATA_",WorkQueueQueryData:"_WORKQUEUE_QUERY_DATA_",WorkQueueQueryCollapsed:"_WORKQUEUE_QUERY_COLLAPSED_",HOTKEY_COMMAND:{ACTIVITYSETTINGS:{value:"03e04b5340294261bef47cf4f082ffed",name:"editActivitySettings"},BESTFIT:{value:"b7576e052e874a05ab8d158b87442325",name:"zoomBestFit"},CANCELACTIVITY:{value:"6e37e5348e7247d58da8d89f37722ba4",name:"cancelActivity"},CHANGEDOCUMENTTYPE:{value:"317b2cd2da7d477c8ff1853c62360c9a",name:"changeDocumentType"},COLLAPSEOREXPANDTHEBOTTOMPANEL:{value:"9a60106db0674b30b45db5e7fd0dc15a",name:"toggleSouthRegionPane"},COLLAPSEOREXPANDTHECURRENTERRORPANEL:{value:"6ab5f69024d1416dbd13bae2f0d33489",name:"toggleErrorPanel"},COLLAPSEOREXPANDTHELEFTSIDEPANEL:{value:"560efac061b641e1b6125416e3cf3c8f",name:"toggleWestRegionPane"},COLLAPSEOREXPANDTHERIGHTSIDEPANEL:{value:"220959c18fcb4828b65c47419891c722",name:"toggleEastRegionPane"},CREATEJOB:{value:"ab814e904097485bb0ea2cec9299deab",name:"createJob"},COMPLETEACTIVITY:{value:"963215853d8347638402a6070f34343c",name:"completeActivity"},CONFIRMDOCUMENTTYPE:{value:"92476ee92b194efba2535e21261716eb",name:"confirmDocumentType"},DISPLAYSTICKYNOTES:{value:"e12a8a823ebe4f1a9fcdbb938800aedb",name:"showAnnotations"},FIRSTDOCUMENT:{value:"bcaf09f5116143fcb88bc1e668d3078f",name:"moveToFirstDocument"},FIRSTFOLDER:{value:"9262bf9384f14503b7698024a4e33d67",name:"moveToFirstFolder"},FIRSTPAGE:{value:"22d79724c34e45a29c458bf8a20bef75",name:"moveToFirstPage"},FITPAGETOHEIGHT:{value:"ab19f58067004676886b3551cde55fde",name:"zoomFitHeight"},FITPAGETOWIDTH:{value:"ae5aa37188fd4b088e7e85fc0c45d308",name:"zoomFitWidth"},FORCEVALID:{value:"fe9ccb7c0a194894908d3224e7409724",name:"forceFieldValid"},GOTODOCUMENTTYPE:{value:"0bbf30dc591c41bb9188d5bca5efc3c5",name:"gotoChangeDocumentType"},GOTOFIELDSPANEL:{value:"aac03eea8b2a48229caa63f6dbe531ce",name:"gotoFieldsPanel"},GOTOIMAGE:{value:"6ce18827e69f4a1897182443f2663a01",name:"gotoImageViewerPanel"},GOTONAVIGATOR:{value:"650d319bfeee43b89013fb0a00df9b61",name:"gotoNavigatorPanel"},GOTOTHUMBNAILS:{value:"3283de33975e43d9b5feeadbb5bda223",name:"gotoThumbnailPanel"},HELP:{value:"0778e400fdce4157897015e0ce72bfad",name:"showHelp"},LASTDOCUMENT:{value:"561afe1e43a345e0adf9294a4739c8f2",name:"moveToLastDocument"},LASTFOLDER:{value:"22029955ae5349e38cfac18c483de986",name:"moveToLastFolder"},LASTPAGE:{value:"c74bb6f40b494b0983368a5cc0070a06",name:"moveToLastPage"},MERGEDOCUMENT:{value:"557923586ed8463c852fbeacdfee9d9d",name:"mergeDocuments"},NEXTDOCUMENT:{value:"a7c38e4285d741dd93e4e6a669f86621",name:"moveToNextDocument"},NEXTFOLDER:{value:"99b72f3a574f4c7db459a4db751ff08f",name:"moveToNextFolder"},NEXTINVALIDFIELD:{value:"4ad9d9c0b4d04bf88803007dca39d9ff",name:"nextInvalidField"},NEXTNOTVERIFIEDFIELD:{value:"d576f2bf599a40caa859cd31be3313f6",name:"nextUnverifiedField"},NEXTPAGE:{value:"175bdab17acb4151bd942fdef6096d70",name:"moveToNextPage"},NEXTPROBLEM:{value:"f0845f9030a248c5b989068ecf1d1b20",name:"moveToNextProblem"},NEXTTAB:{value:"45f38ec7f6cd465b8b6d268b4ddbc6fd",name:"moveToNextFieldTab"},ONLINELEARNING:{value:"3f94f6d6d73a43c3a9b5ec931af2f898",name:"toggleSpecificOnlineLearning"},OVERRIDEPROBLEM:{value:"4f07c0fa825f4da08412d1ec683f958c",name:"overrideProblem"},PREVIOUSDOCUMENT:{value:"c5e5788650a44380a41eff0ae19a69ee",name:"moveToPreviousDocument"},PREVIOUSFOLDER:{value:"20cae50007aa46c58d26711f3129884b",name:"moveToPreviousFolder"},PREVIOUSPAGE:{value:"b7dff5ca60df42048c7e2e6a7f921019",name:"moveToPreviousPage"},PREVIOUSPROBLEM:{value:"2aaa483059fe4e85aa7e34d95463edeb",name:"moveToPreviousProblem"},PREVIOUSTAB:{value:"6f434a0de895471e9616d0c45562ea48",name:"moveToPreviousFieldTab"},REJECTDOCUMENT:{value:"6e768e8fae964215b7e3581f6832718e",name:"rejectDocument"},RESTOREPROBLEM:{value:"dac1852751954c63830941c608961d7a",name:"restoreProblem"},ROTATEDISPLAYEDIMAGE180:{value:"964ddf239fe94d79a773283df8232715",name:"rotateDisplayedPage180"},ROTATEDISPLAYEDIMAGELEFT:{value:"5b3d9fabfe2a484b9b84786c34cb41e9",name:"rotateDisplayedPageLeft"},ROTATEDISPLAYEDIMAGERIGHT:{value:"5888a0480e5e497fb31dea665d40f65f",name:"rotateDisplayedPageRight"},ROTATEVIEWDISPLAYEDPAGELEFT:{value:"ce46677e1be14936aa9a8d395ed37b2b",name:"rotateViewDisplayedPageLeft"},ROTATEVIEWDISPLAYEDPAGERIGHT:{value:"644ac5d038b746a7a896db06038e526c",name:"rotateViewDisplayedPageRight"},ROTATEVIEWDISPLAYEDPAGE180:{value:"f146ce5ef66c4df6a0a2a9b9d1ee6cca",name:"rotateViewDisplayedPage180"},REVERTVIEWROTATION:{value:"2e4c7fa6dcbc4470be69c4aa6251a7f8",name:"revertViewRotation"},SCANALLSHEETSORIMPORTFILES:{value:"b037c2cce7f24fd7964a46e7f3240fe0",name:"scanAll"},SCANONESHEET:{value:"c08c88804a014c2fbac9c3fddf4c70e9",name:"scanOne"},SETFIELDTONOTVERIFIED:{value:"34ec92a90197489fa6669d0690dc1fa4",name:"setFieldNotVerified"},SPLITDOCUMENT:{value:"3a950c9f06ab4516a762a25726cbf985",name:"splitDocument"},VIEWORCHANGESCANSETTINGS:{value:"a23472a275bf4cb7975af34f455a3928",name:"editScanSettings"},ZOOMIN:{value:"49e62e0e121a4068b14a9992751a82f5",name:"zoomIn"},ZOOMOUT:{value:"d194f77607d3444cb746d56239b27d87",name:"zoomOut"},REJECTPAGE:{value:"d194f77607d3444cb746d56239b27d88",name:"rejectPage"},COMPLETEANDTAKENEXTACTIVITY:{value:"1ffbde41f8d2478c81c56d6d460a6155",name:"completeAndTakeNextActivity"},SHOWPAGESOURCEIMAGE:{value:"43AB0FFED08B4F67955690EE9979A221",name:"showpagesourceimage"},SHOWRENDITIONIMAGE1:{value:"43AB0FFED08B4F67955690EE9979A222",name:"showrenditionimage1"},SHOWRENDITIONIMAGE2:{value:"43AB0FFED08B4F67955690EE9979A223",name:"showrenditionimage2"},SHOWRENDITIONIMAGE3:{value:"43AB0FFED08B4F67955690EE9979A224",name:"showrenditionimage3"},SHOWRENDITIONIMAGE4:{value:"43AB0FFED08B4F67955690EE9979A225",name:"showrenditionimage4"},SHOWRENDITIONIMAGE5:{value:"43AB0FFED08B4F67955690EE9979A226",name:"showrenditionimage5"},NEXTREJECTEDDOCPAGE:{value:"0AE6EC51AB254CA4BD5883FF3C86C022",name:"moveToNextRejectedDocPage"},PREVIOUSREJECTEDDOCPAGE:{value:"D48DE87C11324B45A1B50ED4822462DE",name:"moveToPreviousRejectedDocPage"},REPLACEPAGE:{value:"6614AC0D72F34E25A24DAC3F58BAF29C",name:"replacePage"},LASSOZOOM:{value:"94E57E430BC1449F88846ADA66A506C5",name:"lassoZoom"},LASSOZOOMLOCK:{value:"949DB2EC74F3423795902F5707B7FF3C",name:"lassoZoomPersist"},GETSOURCEFILE:{value:"ED6381F8E66649CFA535AC128F6E6840",name:"getSourceFile"},INSERTPAGES:{value:"E8088611230F41DB9FB184141CAD1AD6",name:"insertPages"},TOGGLETOFROMVIRTUALFIELD:{value:"3769D9EBBEC14C239E1A849B6416CEBA",name:"toggleToFromVirtualField"}},ERROR_CODE:{LicenseError:"-2147199086",NoAvailableConcurrentUserLicenseError:"-2147198848",WindowsAuthenticationError:"-2147199301",ActivityNotFound:"-2147199874",GetProcessSummaryFailed:"-2147198822",GetProcessSummaryFailedForSepWebAppEnvironment:"-2147199033"},ALL_CATEGORY_ID:'DF6F07856D1D47BBB68F35901162EAD1',INSTANCE_ID:'Id_53B562EA682941FE8721D88360B264C1',FORM_FILE_EXTENSION:'.form',STRING_DATATYPE:"string",FIRST_COLUMN:"Column1",COLUMN_NUMERIC_TYPE:"numberfield",TEST_CASE_ID:"testCaseId",TEST_CASE:"testCase",NEW_TEST:"new-test",JOB_NODE_RESTART_HERE:"JobNodeRestarthere",JOB_NODE_DUE_DATE:"JobNodeDueDate",JOB_NODE_RESTART_NEXT:"JobNodeRestartnext",JOB_VIEWER_ADD_BREAKPOINT:"JobViewerAddBreakpoint",JOB_VIEWER_REMOVE_BREAKPOINT:"JobViewerRemoveBreakpoint",JOB_NODE_RESOURCES:"JobNodeResources",JOB_NODE_PRIORITY:"JobNodePriority",CHECKBOX_MAIN_WINDOW:"checkBoxMainWindow",CHECKBOX_ITERATION_WINDOW:"checkBoxIterationWindow",DATA_MODEL_FIELD_TYPE:{TEXT:{Value:0,name:"Text"},BOOLEAN:{Value:1,name:"Boolean"},NUMBER:{Value:2,name:"Number"},DATE:{Value:3,name:"Date"},OBJECT:{Value:4,name:"Object"},OBJECTARRAY:{Value:5,name:"ObjectArray"}},LOGON_STATE_TYPE:{LoggedOn:0,AwaitingSecurityAnswersForForgottenPassword:1,AwaitingChangePassword:2,AwaitingChangeForgottenPassword:3,AwaitingSecurityAnswersDefinition:4,AwaitingSecurityAnswers:5,AwaitingPasscode:6},FEDERATED_CALLBACK_PROTOCOL:{Designer:0,Workspace:1},LOG_ON_PROTOCOL:{Push:0,Pull:1,PushPull:2,Admin:3,Mis:4,Ide:5,NotSet:6,Internet:7,TransformationIde:8,LimitedUser:9,Device:10},ARTIFACT_TYPE:{GlobalVariable:'Global Variable',ServerVariables:'Server Variables',ConnectorMappings:'Export Connectors',},ARTIFACT_SERVERVARIABLE_TYPE:{Short:{value:2,name:"Short"},Long:{value:3,name:"Long"},Float:{value:4,name:"Float"},Double:{value:5,name:"Double"},Currency:{value:6,name:"Currency"},Date:{value:7,name:"Date"},String:{value:8,name:"String"},Decimal:{value:14,name:"Decimal"},Byte:{value:17,name:"Byte"},Bool:{value:11,name:"Bool"},Complex:{value:8204,name:"Complex"},Xml:{value:32767,name:"Xml"},XmlExpression:{value:32766,name:"XmlExpression"},NullableDate:{value:32763,name:"NullableDate"},NullableString:{value:32762,name:"NullableString"},},ACTIVITY_STANDARD_FIELD:{ACTIVITYFIELDNOTUSED:{value:0,name:"ActivityFieldNotUsed",guid:"10A16000D0F4480C9CBD994B91B4904C"},ACTIVITYSTATUSFIELD:{value:1,name:"ActivityStatusField",guid:"9B71BB71951246E9922037059B19B495"},ACTIVITYASSIGNEDTOFIELD:{value:2,name:"ActivityAssignedToField",guid:"6AADD73418204A95919BCDA18BCD2809"},ACTIVITYPROCESSNAMEFIELD:{value:3,name:"ActivityProcessNameField",guid:"F750AFBD16FB49E780B35A5C57F0D705"},ACTIVITYPROCESSVERSIONFIELD:{value:4,name:"ActivityProcessVersionField",guid:"A2ADFCADCABB4E10AC4723ED406F0ECE"},ACTIVITYNAMEFIELD:{value:5,name:"ActivityNameField",guid:"90EBC554E94A4E68AF1CF19104E8DED7"},ACTIVITYDUEDATEFIELD:{value:6,name:"ActivityDueDateField",guid:"1D98B8D344214C6B885FF4062A40527F"},ACTIVITYPRIORITYFIELD:{value:7,name:"ActivityPriorityField",guid:"4905D2499D324013AEAFC7CD78E25D76"},ACTIVITYSLAFIELD:{value:8,name:"ActivitySlaField",guid:"9DE0424C4E15423B9BFFCC7E4212AFF0"},JOBSLAFIELD:{value:9,name:"JobSlaField",guid:"6ABFC14A14F34392B36AC891FCC3C64C"},JOBSTATEFIELD:{value:10,name:"JobStateField",guid:"B7ECF75BC0CC4FC8BFAF80BE33F94665"},CASEREFERENCE:{value:11,name:"CaseReference",guid:"1235C60BDE034ACF864A1B07306F154F"},ACTIVITYTYPE:{value:12,name:"ActivityType",guid:"8639150D8BFA45CE8BC374F6E077E380"},WORKTYPE:{value:13,name:"WorkType",guid:"425044FFBA4C42B2BB9009CCBB009C5B"},PENDINGTIME:{value:14,name:"PendingTime",guid:"BEA6C30B0E4743B48953766C57B7CB20"},DESIGNACTIVITYTYPE:{value:15,name:"DesignActivityType",guid:"A894EB15F2A44B6A9964B29C00AD098E"},WORKTYPEFIELD:{value:16,name:"WorkTypeField",guid:"B594EB15F2A44B6A9964B29C00A62153"},MACHINE:{value:23,name:"MachineName",guid:"8891480A5C8E4376A8A1EF7D7ABFC579"}},JOB_STANDARD_FIELD:{JOBFIELDNOTUSED:{value:0,name:"Job Field Not Used",guid:"4BD0C1C22B3B4B23A390851F54C2B795"},JOBSTATUSFIELD:{value:1,name:"Job Status",guid:"CE93C4BD99D44E2785C4F528A81C40D4"},JOBCREATIONTIMEFIELD:{value:2,name:"Job Creation Time",guid:"FE48EAEE37FC40E4B3DD7FAC5047DC22"},JOBCREATORFIELD:{value:3,name:"Job Creation ",guid:"3D34EC3FAC1A476DBCDCA9E8592FC8C6"},JOBFINISHTIMEFIELD:{value:4,name:"Job Finish Time",guid:"7E8561F6098A414A95F9F4D9C3EF3D4F"},JOBIDFIELD:{value:5,name:"Job Id",guid:"3BDE9110FAD64A86855B41D33E46BC16"},JOBPROCESSNAMEFIELD:{value:6,name:"Job Process Name",guid:"B09761DBBF904021939A5D8FE7CBFBBB"},JOBPROCESSVERSIONFIELD:{value:7,name:"Job Process Version",guid:"5812141C020143A485360165375510E1"},JOBPRIORITYFIELD:{value:8,name:"Job Priority",guid:"B348A4F9F3B94FAEBF65F2BE65E1A751"},STATEFIELD:{value:9,name:"Job State",guid:"D9ED6179EE464F5AAFCC4508EA835633"},SLAFIELD:{value:10,name:"Job SLA",guid:"AFDBB80CD167412C8A23175D7B213875"},CASEREFFIELD:{value:11,name:"Case Reference",guid:"07A4BDBC798D470EA74CEDAC5A59E183"},JOBOWNERFIELD:{value:12,name:"Job Owner",guid:"EC0D26ECDACC478297065B5B16DCE913"},TYPE:{value:13,name:"Job Type",guid:"6B1423622D744544B0A785A7E0C40305"},SCORE:{value:14,name:"Job Score",guid:"ABD6A3E793B648CEA946F9317075DDCD"},WORKTYPE:{value:15,name:"Job Work Type",guid:"07C27F59F6C24DB1830467D3997DE5AC"},WORKTYPEFIELD:{value:16,name:"Job Work Type Field",guid:"4F8AD2C691DA4A9ABDD9CC91EE70EF23"},STARTDATEFIELD:{value:20,name:"Start Date",guid:"1B214BA852654B44A972205B39D8A304"}},LIVE_ACTIVITY_STATUS:{None:-1,Pending:0,Active:1,Offered:2,Suspended:3,Locked:4,ActiveActivityPendingCompletion:5,OnHold:7,AwaitingEvent:8,AwaitingAllocation:9,Saved:10,AllLiveActivities:128,InHistory:129},ACTIVITY_STATUS_FILTERS:{None:0,Pending:1,Active:2,Suspended:4,Offered:8,OnHold:16,ActiveButNotAwaitingEvents:32,AwaitingAllocation:64,AwaitingEvents:128,Saved:256,ActiveActivityPendingCompletion:512,Completed:1024,EvaluationFailed:2048,Locked:4096},JOB_TYPE:{All:-1,Job:0,Case:1,AssociatedJob:2,BusinessRule:4},PROCESS_TYPE:{BusinessProcess:0,CaseDefinition:1,CaseFragment:2,StraightThroughMap:3,All:4,BusinessRule:5},BROADCASTCHANNEL_MESSAGE_TYPE:{Breakpoint:0,FormControl:1,FormVariable:2,GlobalVariable:3,DebugOperation:4,ActionExecuted:5,ActionPaused:6,EventStarted:7,EventEnded:8,ErrorOccurred:9,Unload:10,ServerActionExecuted:11,ServerActionCallback:12,FormLoadBegin:13,FormVariablesChanged:14,RedirectOccurred:15,ConditionExecuted:16,FormControlsChanged:17,SkipActionListUpdated:18,ActionToBeSkipped:19,BeginFormLoadCompleted:20,SkipPausedAction:21,},DEBUG_OPERATION_TYPE:{Continue:0,StepOver:1},DATABASE_CONNECTION_TYPE:{Live:1,Archive:2,LiveAndArchive:3},CAPTURE_CLIENT_ACTION_TYPE:{AutoNavigate:0},PROCESS_Debug_Option:{None:0,StopAtCurrentActivity:1,StepOver:2,StepInto:3,ExecuteAll:4},ACTIVITY_TYPE_FILTERS:{None:0,FilterManualOrdinary:1,FiltersManualAlertTask:1024},LIVE_ACTIVITY_TYPE:{None:0,ManualOrdinary:1,AlertTask:1048576,},TEST_DEBUG_MODE:{Normal:0,DebugUnlocked:1,DebugLocked:2,TestEdit:3,TestRun:4},PROCESS_TEST_RESULT_STATUS:{NotStarted:0,Pending:1,Passed:2,Failed:3,Cancelled:4,},INSIGHTSERVERURL_SESSIONSTORAGE_NAME:'SYSTEM_INSIGHT_SERVER_URL',JOBDETAILSOVERVIEW_FORM:'JobDetailsOverview.form',JOBDETAILSPROPERTIES_FORM:'JobDetailsProperties.form',GetGuidForActivityStandardField:function(activityStandardEnum){var guid;switch(activityStandardEnum){case Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYFIELDNOTUSED.value:guid=Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYFIELDNOTUSED.guid;break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYSTATUSFIELD.value:guid=Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYSTATUSFIELD.guid;break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYASSIGNEDTOFIELD.value:guid=Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYASSIGNEDTOFIELD.guid;break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYPROCESSNAMEFIELD.value:guid=Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYPROCESSNAMEFIELD.guid;break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYPROCESSVERSIONFIELD.value:guid=Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYPROCESSVERSIONFIELD.guid;break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYNAMEFIELD.value:guid=Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYNAMEFIELD.guid;break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYDUEDATEFIELD.value:guid=Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYDUEDATEFIELD.guid;break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYPRIORITYFIELD.value:guid=Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYPRIORITYFIELD.guid;break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYSLAFIELD.value:guid=Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYSLAFIELD.guid;break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.JOBSLAFIELD.value:guid=Forms.Constants.ACTIVITY_STANDARD_FIELD.JOBSLAFIELD.guid;break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.JOBSTATEFIELD.value:guid=Forms.Constants.ACTIVITY_STANDARD_FIELD.JOBSTATEFIELD.guid;break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.CASEREFERENCE.value:guid=Forms.Constants.ACTIVITY_STANDARD_FIELD.CASEREFERENCE.guid;break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYTYPE.value:guid=Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYTYPE.guid;break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.WORKTYPE.value:guid=Forms.Constants.ACTIVITY_STANDARD_FIELD.WORKTYPE.guid;break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.PENDINGTIME.value:guid=Forms.Constants.ACTIVITY_STANDARD_FIELD.PENDINGTIME.guid;break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.DESIGNACTIVITYTYPE.value:guid=Forms.Constants.ACTIVITY_STANDARD_FIELD.DESIGNACTIVITYTYPE.guid;break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.WORKTYPEFIELD.value:guid=Forms.Constants.ACTIVITY_STANDARD_FIELD.WORKTYPEFIELD.guid;break;} return guid;},GetGuidForJobStandardField:function(jobStandardEnum){var guid;switch(jobStandardEnum){case Forms.Constants.JOB_STANDARD_FIELD.JOBFIELDNOTUSED.value:guid=Forms.Constants.JOB_STANDARD_FIELD.JOBFIELDNOTUSED.guid;break;case Forms.Constants.JOB_STANDARD_FIELD.JOBSTATUSFIELD.value:guid=Forms.Constants.JOB_STANDARD_FIELD.JOBSTATUSFIELD.guid;break;case Forms.Constants.JOB_STANDARD_FIELD.JOBCREATIONTIMEFIELD.value:guid=Forms.Constants.JOB_STANDARD_FIELD.JOBCREATIONTIMEFIELD.guid;break;case Forms.Constants.JOB_STANDARD_FIELD.JOBCREATORFIELD.value:guid=Forms.Constants.JOB_STANDARD_FIELD.JOBCREATORFIELD.guid;break;case Forms.Constants.JOB_STANDARD_FIELD.JOBFINISHTIMEFIELD.value:guid=Forms.Constants.JOB_STANDARD_FIELD.JOBFINISHTIMEFIELD.guid;break;case Forms.Constants.JOB_STANDARD_FIELD.JOBIDFIELD.value:guid=Forms.Constants.JOB_STANDARD_FIELD.JOBIDFIELD.guid;break;case Forms.Constants.JOB_STANDARD_FIELD.JOBPROCESSNAMEFIELD.value:guid=Forms.Constants.JOB_STANDARD_FIELD.JOBPROCESSNAMEFIELD.guid;break;case Forms.Constants.JOB_STANDARD_FIELD.JOBPROCESSVERSIONFIELD.value:guid=Forms.Constants.JOB_STANDARD_FIELD.JOBPROCESSVERSIONFIELD.guid;break;case Forms.Constants.JOB_STANDARD_FIELD.JOBPRIORITYFIELD.value:guid=Forms.Constants.JOB_STANDARD_FIELD.JOBPRIORITYFIELD.guid;break;case Forms.Constants.JOB_STANDARD_FIELD.STATEFIELD.value:guid=Forms.Constants.JOB_STANDARD_FIELD.STATEFIELD.guid;break;case Forms.Constants.JOB_STANDARD_FIELD.SLAFIELD.value:guid=Forms.Constants.JOB_STANDARD_FIELD.SLAFIELD.guid;break;case Forms.Constants.JOB_STANDARD_FIELD.CASEREFFIELD.value:guid=Forms.Constants.JOB_STANDARD_FIELD.CASEREFFIELD.guid;break;case Forms.Constants.JOB_STANDARD_FIELD.JOBOWNERFIELD.value:guid=Forms.Constants.JOB_STANDARD_FIELD.JOBOWNERFIELD.guid;break;case Forms.Constants.JOB_STANDARD_FIELD.TYPE.value:guid=Forms.Constants.JOB_STANDARD_FIELD.TYPE.guid;break;case Forms.Constants.JOB_STANDARD_FIELD.SCORE.value:guid=Forms.Constants.JOB_STANDARD_FIELD.SCORE.guid;break;case Forms.Constants.JOB_STANDARD_FIELD.WORKTYPE.value:guid=Forms.Constants.JOB_STANDARD_FIELD.WORKTYPE.guid;break;case Forms.Constants.JOB_STANDARD_FIELD.WORKTYPEFIELD.value:guid=Forms.Constants.JOB_STANDARD_FIELD.WORKTYPEFIELD.guid;break;} return guid;},getTypeFromSource:function(dataSource){switch(dataSource){case Forms.Constants.TYPE.CONTROL.value:return Forms.Constants.TYPE.CONTROL;case Forms.Constants.TYPE.INLINE.value:return Forms.Constants.TYPE.INLINE;case Forms.Constants.TYPE.SERVER_VARIABLE.value:return Forms.Constants.TYPE.SERVER_VARIABLE;case Forms.Constants.TYPE.CUSTOM_SESSION.value:return Forms.Constants.TYPE.CUSTOM_SESSION;case Forms.Constants.TYPE.FORM_VARIABLE.value:return Forms.Constants.TYPE.FORM_VARIABLE;case Forms.Constants.TYPE.INLINE_SCRIPT.value:return Forms.Constants.TYPE.INLINE_SCRIPT;case Forms.Constants.TYPE.SECURE_SESSION.value:return Forms.Constants.TYPE.SECURE_SESSION;default:return Forms.Constants.TYPE.INLINE;}},GetJobCriteriaStatusFromJobStatusType:function(jobStatus){switch(jobStatus){case Forms.Constants.JOB_STATUS.Active:return Forms.Constants.Job_Criteria_Status.JobCriteriaActive;case Forms.Constants.JOB_STATUS.Completed:return Forms.Constants.Job_Criteria_Status.JobCriteriaCompleted;case Forms.Constants.JOB_STATUS.Terminated:return Forms.Constants.Job_Criteria_Status.JobCriteriaTerminated;case Forms.Constants.JOB_STATUS.Suspended:return Forms.Constants.Job_Criteria_Status.JobCriteriaSuspended;case Forms.Constants.JOB_STATUS.PendingCompletion:return Forms.Constants.Job_Criteria_Status.JobCriteriaPendingCompletion;case Forms.Constants.JOB_STATUS.ReadyForEvaluation:return Forms.Constants.Job_Criteria_Status.JobCriteriaReadyForEvaluation;case Forms.Constants.JOB_STATUS.OnHold:return Forms.Constants.Job_Criteria_Status.JobCriteriaOnHold;case Forms.Constants.JOB_STATUS.AwaitingCompletion:return Forms.Constants.Job_Criteria_Status.JobCriteriaAwaitingCompletion;case Forms.Constants.JOB_STATUS.AwaitingCaseCompletion:return Forms.Constants.Job_Criteria_Status.JobCriteriaAwaitingCaseCompletion;case Forms.Constants.JOB_STATUS.AwaitingCompletionTerminated:return Forms.Constants.Job_Criteria_Status.JobCriteriaTerminatedAwaitingCompletion;case Forms.Constants.JOB_STATUS.AwaitingCaseCompletionTerminated:return Forms.Constants.Job_Criteria_Status.JobCriteriaTerminatedAwaitingCaseCompletion;case Forms.Constants.JOB_STATUS.Live:return Forms.Constants.Job_Criteria_Status.JobCriteriaAllLive;case Forms.Constants.JOB_STATUS.LiveAndFinished:return Forms.Constants.Job_Criteria_Status.JobCriteriaAllLiveAndFinished;default:return Forms.Constants.Job_Criteria_Status.JobCriteriaActive;}},GetActivityStatusFilterFromLiveActivityStatus:function(activityStatus){switch(activityStatus){case Forms.Constants.LIVE_ACTIVITY_STATUS.None:return Forms.Constants.ACTIVITY_STATUS_FILTERS.None;case Forms.Constants.LIVE_ACTIVITY_STATUS.Pending:return Forms.Constants.ACTIVITY_STATUS_FILTERS.Pending;case Forms.Constants.LIVE_ACTIVITY_STATUS.Active:return Forms.Constants.ACTIVITY_STATUS_FILTERS.Active;case Forms.Constants.LIVE_ACTIVITY_STATUS.Offered:return Forms.Constants.ACTIVITY_STATUS_FILTERS.Offered;case Forms.Constants.LIVE_ACTIVITY_STATUS.Suspended:return Forms.Constants.ACTIVITY_STATUS_FILTERS.Suspended;case Forms.Constants.LIVE_ACTIVITY_STATUS.ActiveActivityPendingCompletion:return Forms.Constants.ACTIVITY_STATUS_FILTERS.ActiveActivityPendingCompletion;case Forms.Constants.LIVE_ACTIVITY_STATUS.OnHold:return Forms.Constants.ACTIVITY_STATUS_FILTERS.OnHold;case Forms.Constants.LIVE_ACTIVITY_STATUS.AwaitingEvent:return Forms.Constants.ACTIVITY_STATUS_FILTERS.AwaitingEvents;case Forms.Constants.LIVE_ACTIVITY_STATUS.AwaitingAllocation:return Forms.Constants.ACTIVITY_STATUS_FILTERS.AwaitingAllocation;case Forms.Constants.LIVE_ACTIVITY_STATUS.Saved:return Forms.Constants.ACTIVITY_STATUS_FILTERS.Saved;case Forms.Constants.LIVE_ACTIVITY_STATUS.Locked:case Forms.Constants.LIVE_ACTIVITY_STATUS.AllLiveActivities:case Forms.Constants.LIVE_ACTIVITY_STATUS.InHistory:return Forms.Constants.ACTIVITY_STATUS_FILTERS.None;default:return Forms.Constants.ACTIVITY_STATUS_FILTERS.None;}},GetActivityTypeFilterFromLiveActivityType:function(liveActivityType){switch(liveActivityType){case Forms.Constants.LIVE_ACTIVITY_TYPE.None:return Forms.Constants.ACTIVITY_TYPE_FILTERS.None;break;case Forms.Constants.LIVE_ACTIVITY_TYPE.ManualOrdinary:return Forms.Constants.ACTIVITY_TYPE_FILTERS.FilterManualOrdinary;break;case Forms.Constants.LIVE_ACTIVITY_TYPE.AlertTask:return Forms.Constants.ACTIVITY_TYPE_FILTERS.FiltersManualAlertTask;break;default:return liveActivityType;}},PAGE_RENDITIONS:"PageRenditions",ClientRefreshSettings:"ClientRefreshSettings",SessionCookie:"SessionCookie",CLIENT_REFRESH_SETTINGS:{None:0,RefreshPageRenditions:2,},FormCellAlignment:{None:0,Center:1,Left:2,Right:3},FormLabelAlignment:{Left:0,Top:1},SpaPackageImportType:{AllItemsAndPackageDefinition:0,ItemsOnly:1},FormsSiteParentDirectoryPathPrefix:"../../",FormsNonSiteParentDirectoryPathPrefix:"../",IsSessionTimeoutForm:"IsSessionTimeoutForm=true",SAMLRequest:"SAMLRequest",RelayState:"RelayState",HiddenInputType:"hidden",RequestTokenCustomHeader:"RequestToken",QuestionMark:"?",EqualTo:"=",Ampersand:"&",LocalizationPath:"Forms/Custom/Localization",Export_Capture_Solution_Data_Url:'/TotalAgility/Services/Sdk/StreamingService.svc/json/GetCaptureSolutionExportZip',ExtLocalizationClassicFolderPath:'/Forms/Plugins/extjs/classic/locale/',ExtLocalizationModernFolderPath:'/Forms/Plugins/extjs/modern/locale/',FORM_DEPLOYER_ERROR:"FormDeployerError",Colors:['#00bdae','#404041','#357cd2','#e56590','#f8b883','#70ad47','#dd8abd','#fbf300','#a074c2','#39edb7','#ea7a57','#c3994a','#00b0ff','#afb42b','#ffa000','#fe3d50','#f2f567','#b0bec5','#16e03e','#e01616','#16e0e0','#7f31a3','#37b379','#912348','#34aac2'],});Ext.define('Forms.ControlDataHelper',{config:{controlManager:{},variables:{}},constructor:function(options){Ext.apply(this,options||{});},retrieveData:function(){var dataToReturn;if(arguments.length==1){dataToReturn=this.retrieveDataUsingEventInput(arguments[0]);} else if(arguments.length==2){var input=Ext.create('Forms.Events.EventInput',{});input.setName(arguments[0]);input.setInputType(arguments[1]);dataToReturn=this.retrieveDataUsingEventInput(input);} return dataToReturn;},retriveRedirectInputData:function(name,type){var dataToReturn=this.retrieveData(name,type);if(Ext.isDate(dataToReturn)){dataToReturn=Forms.Common.Common.GetFormattedDate(dataToReturn);} return dataToReturn;},retrieveDataUsingEventInput:function(input){var inputType=input.getInputType();var name=input.getName();var value;if(inputType==Forms.Constants.TYPE.CONTROL){var ctrl=this.controlManager.getControlByName(name);value=this.getProperty(ctrl,name);if(value===undefined&&ctrl!==undefined&&ctrl.getControlData!==undefined){value=this.getControlData(ctrl,input);}} else if(inputType==Forms.Constants.TYPE.FORM_VARIABLE){var variable=this.variables.getFormVariableByName(name);value=variable.getVariableValue(input);if(variable.type==="DataObject"&&value){value=JSON.stringify(Forms.DataObjectHelper.convertVariableValueToJson(value));}} else if(inputType==Forms.Constants.TYPE.SERVER_VARIABLE||inputType==Forms.Constants.TYPE.CUSTOM_SESSION||inputType==Forms.Constants.TYPE.SECURE_SESSION){if(inputType==Forms.Constants.TYPE.SECURE_SESSION){value=Forms.SessionVariables.getSessionVariable(name,true);} else{value=Forms.SessionVariables.getSessionVariable(name);} if(Forms.SessionVariables.getIsSecure(name)){input.setInputType(Forms.Constants.TYPE.SECURE_SESSION);}} else if(inputType==Forms.Constants.TYPE.INLINE){value=name;} else if(inputType==Forms.Constants.TYPE.INLINE_SCRIPT){if(name.toUpperCase()==='CEBPM.controller.AppConfig.getMainView().sessionID'.toUpperCase()){return CEBPM.controller.AppConfig.getMainView().sessionID;} if(name.toUpperCase()==='CEBPM.controller.BatchData.getChanges()'.toUpperCase()){return CEBPM.controller.BatchData.getChanges();}} return value;},getProperty:function(ctrl,requiredProperty){var propertyValue=undefined;try{if(requiredProperty.indexOf(".")>0){var propertyParts=requiredProperty.split('.');propertyValue=this.getPropertyValue(ctrl,propertyParts.slice(1));}} catch(err){propertyValue=undefined;} return propertyValue;},getPropertyValue:function(propertyObject,propertyParts){if(propertyParts.length>1){var objectToInterrogate=propertyObject[propertyParts[0]];if(objectToInterrogate===null){return null;} else{return this.getPropertyValue(objectToInterrogate,propertyParts.slice(1));}} else{return propertyObject[propertyParts[0]];}},setProperty:function(ctrl,propertyName,propertyValue){var propertyToSet=undefined;try{if(propertyName.indexOf(".")>0){var propertyParts=propertyName.split('.');propertyToSet=this.setPropertyValue(ctrl,propertyParts.slice(1),propertyValue);}} catch(err){propertyToSet=undefined;} return propertyToSet;},setPropertyValue:function(propertyObject,propertyParts,propertyValue){if(propertyParts.length>1){var objectToInterrogate=propertyObject[propertyParts[0]];return this.setPropertyValue(objectToInterrogate,propertyParts.slice(1),propertyValue);} else{if(propertyParts[0]in propertyObject){propertyObject[propertyParts[0]]=propertyValue;return propertyParts[0];} else{return undefined;}}},isNullable:function(fieldName){var ctrl=this.controlManager.getControlByName(fieldName);if(ctrl!==undefined&&ctrl.dateIsNullable!==undefined){return ctrl.dateIsNullable();} else if(ctrl!==undefined&&ctrl.isNullable!==undefined){return ctrl.isNullable();} else if(ctrl.$className=="Forms.Controls.Standard.Table"&&fieldName.split('.').length>1){var fieldNameArray=fieldName.split('.');var columns=ctrl.getColumns();for(var i=0;i1){var fieldNameArray=fieldName.split('.');var columns=ctrl.getColumns();for(var i=0;i0&&(columnNames[0].indexOf(TEXT_FIELD)>0||columnNames[0].indexOf(VALUE_FIELD)>0)){return ctrl.setDropdownColumnData(columnNames,value,{isServerEvent:eventOutput.isServerEvent});} else{return ctrl.setColumnData(columnNames,value,{isServerEvent:eventOutput.isServerEvent});}} else{if(columnNames&&Forms.Common.PropertyHelper.IsControlProperty(columnNames[0])){if(columnNames[0].indexOf(LABEL_FIELD)>-1){target=target+'.'+LABEL_FIELD;actualValue=value[0].toString();value=value[0].toString();} else{target=columnNames;actualValue=value[0];value=value[0];}} try{if(value!=null&&Ext.isDate(value)){if(window.CEBPM!=undefined&&window.CEBPM.util.FieldUtils.isCebpmComponent(ctrl)){value=Ext.Date.format(value,Forms.Common.Common.GetDateFormat());}} if(this.setProperty(ctrl,target,value)==undefined){this.setControlData(ctrl,value,actualValue,target,eventOutput.isServerEvent);}} catch(err){if(ctrl&&ctrl.el&&ctrl.el.dom===null&&ctrl.el.destroyed===true){Forms.Common.Common.LogMessage("The control had been destroyed. Unable to set value for: "+target);}else {var errorMessage=Forms.Common.Lang.GetLocaleString('BC5D9DB63071459C97BE0ECAB961F661',true)+target;Ext.Msg.alert(Forms.Common.Lang.GetLocaleString('E2D953CE7F754BF2838067671F68C8BC',true),errorMessage);}} return;}}} else if(type==Forms.Constants.TYPE.FORM_VARIABLE.value){var variable=this.variables.getFormVariableByName(target);if(!eventOutput.isServerEvent&&variable.type=="DataObject"){var dataObjectVariableArray=new Array();dataObjectVariableArray.push(eventOutput);this.variables.UpdateDataObjectFormVariables(dataObjectVariableArray,null,null,false,columnNames,variable);} else{if(columnNames){return variable.setVariableValueUsingColumnData(columnNames,value);} else{return variable.setVariableValue(value);}}} else if(type==Forms.Constants.TYPE.SERVER_VARIABLE.value){return Forms.SessionVariables.setSessionVariable(target,value,false);} else if(type==Forms.Constants.TYPE.SECURE_SESSION.value){return Forms.SessionVariables.setSessionVariable(target,value,true);} else if(type==Forms.Constants.TYPE.INLINE_SCRIPT.value){}},getControlData:function(ctrl,input){var controlClassName=Object.getPrototypeOf(ctrl).$className;if(controlClassName.indexOf("CEBPM")==0){if(input!==undefined&&input.getName()&&Forms.Common.PropertyHelper.IsControlProperty(input.getName())){return Forms.Common.PropertyHelper.GetPropertyValue(ctrl,input.getName());} else{var value=ctrl.getControlData?ctrl.getControlData(input):undefined;if(value&&input!=undefined&&input.isServerEvent&&input.isDateTimeInput()&&ctrl.ignoreServerTimeZone){var value=Ext.isDate(value)?value:Forms.Common.Common.ConvertStringToDateObject(value,input.isNullableInput());value=Forms.Common.Common.GetISODateStringWithoutTimeZoneConversion(value);input.ignoreTimeZone=true;} return value;}} else{return ctrl.getControlData?ctrl.getControlData(input):undefined;}},setControlData:function(ctrl,value,actualValue,target,setDataFromServerEvent){var controlClassName=Object.getPrototypeOf(ctrl).$className;if(controlClassName=="Forms.Controls.Standard.Calendar"||controlClassName=="Forms.MobileControls.Standard.Calendar"){ctrl.setControlData(value,target,actualValue,setDataFromServerEvent);} else if(controlClassName.indexOf("CEBPM")==0){var isControlProperty=false;if(target!==undefined){if(!Ext.isArray(target)){isControlProperty=Forms.Common.PropertyHelper.IsControlProperty(target);}else{for(var i=0;i0){for(i=0;i0){for(i=0;i0){for(i=0;i1){if(control.$className=="Forms.Controls.Standard.Tab"){var ctrlNameArray=controlName.split('.');if(ctrlNameArray.length>2){ctrlNameArray.splice(0,1);var tabItemName=ctrlNameArray.join(".");control=control.getTabItemByName(tabItemName);} else{control=control.getTabItemByName(ctrlNameArray[1]);}}} return control;},injectCaptureFieldNameProperty:function(control,fieldname){control.captureFieldName=fieldname;},injectAutomationTag:function(control,controlName){control.on('afterrender',function(cmp){try{cmp.getEl().set({"data-automation-controlname":controlName});}catch(err){Forms.Common.Common.LogMessage("Exception occured while setting automation tag for control: "+controlName);}},control,{single:true});},getCaptureFieldControlByFieldName:function(fieldName){var control;if(this.controlArray!=undefined&&this.controlArray.length>0){for(i=0;i0){for(i=0;i0)||(this.controlArray[i].name.indexOf("Miniviewer")>0))){control=this.controlArray[i];break;}}} return control;},getName:function(controlName){if(controlName){return controlName.split('.')[0];}},setControlName:function(control,controlName){if(control!=null){if(control.autoEl!=null&&typeof(control.autoEl)==='object'){control.autoEl.name=controlName;}}},createTile:function(controlName,controlId,config){config=config?config:{};config=Ext.merge({id:controlId,name:controlName.toString(),msgTarget:'side',isTAControl:true},config);var tile=Ext.create('Forms.Controls.Standard.Tile',config);this.setControlName(tile,controlName);this.addControlToCollection(tile);this.injectAutomationTag(tile,controlName);return tile;},createToolBar:function(controlName,controlId,config){config=config?config:{} config=Ext.merge({id:controlId,name:controlName.toString(),msgTarget:'side',isTAControl:true},config);var toolBar=Ext.create('Forms.Controls.Standard.ToolBar',config);this.setControlName(toolBar,controlName);this.addControlToCollection(toolBar);this.injectAutomationTag(toolBar,controlName);return toolBar;},createToolBarMenuItem:function(controlName,controlID,config){config=config?config:{} config=Ext.merge({id:controlID,name:controlName.toString(),msgTarget:'side',isTAControl:true},config);var btn=Ext.create('Forms.Controls.Standard.ToolBarMenuItem',config);this.setControlName(btn,controlName);this.addControlToCollection(btn);this.injectAutomationTag(btn,controlName);return btn;},createToolBarButton:function(controlName,controlID,config){config=config?config:{} config=Ext.merge({id:controlID,name:controlName.toString(),msgTarget:'side',isTAControl:true},config);var btn=Ext.create('Forms.Controls.Standard.ToolBarButton',config);this.setControlName(btn,controlName);this.addControlToCollection(btn);this.injectAutomationTag(btn,controlName);return btn;},createButton:function(controlName,controlID){var btn=Ext.create('Forms.Controls.Standard.Button',{id:controlID,name:controlName.toString(),msgTarget:'side',isTAControl:true,ariaAttributes:{name:controlName.toString()}});this.addControlToCollection(btn);this.injectAutomationTag(btn,controlName);return btn;},createNumericTextBox:function(controlName,currencySymbol,id){var txtBox=Ext.create('Forms.Controls.Standard.NumericText',{id:id,name:controlName.toString(),currencySymbol:currencySymbol?currencySymbol:null,msgTarget:'side',isTAControl:true});this.addControlToCollection(txtBox);this.injectAutomationTag(txtBox,controlName);return txtBox;},createTextBox:function(controlName,id,mask){var config={};var pluginArray=[];if(mask!==null&&mask!==undefined){var maskPlugin=new Forms.Controls.Standard.DesktopInputMask(mask);pluginArray.push(maskPlugin);} config.plugins=pluginArray;config.id=id.toString();config.name=controlName.toString();config.usingMask=!Ext.isEmpty(mask);config.msgTarget='side';config.isTAControl=true;var txtBox=Ext.create('Forms.Controls.Standard.TextBox',config);this.addControlToCollection(txtBox);this.injectAutomationTag(txtBox,controlName);return txtBox;},createTextArea:function(controlName,id,mask){var config={};var pluginArray=[];if(mask!==null&&mask!==undefined){var maskPlugin=new Forms.Controls.Standard.DesktopInputMask(mask);pluginArray.push(maskPlugin);} config.plugins=pluginArray;config.id=id;config.name=controlName.toString();config.usingMask=!Ext.isEmpty(mask);config.msgTarget='side';config.isTAControl=true;var txtBox=Ext.create('Forms.Controls.Standard.TextArea',config);this.addControlToCollection(txtBox);this.injectAutomationTag(txtBox,controlName);return txtBox;},createLabel:function(controlName,id,formName,headerSize,displayDateWithoutTime){var labelInputId='';if(formName){var sanitizedFormName=formName.replace(/[- ]/g,'_');labelInputId=sanitizedFormName+"-"+controlName;} else{labelInputId=controlName;} var label=Ext.create('Forms.Controls.Standard.Label',{id:id,name:controlName.toString(),msgTarget:'side',inputId:labelInputId,isTAControl:true,headerSize:headerSize,displayDateWithoutTime:displayDateWithoutTime});this.addControlToCollection(label);this.injectAutomationTag(label,controlName);return label;},createCheckBox:function(controlName,id){var checkBox=Ext.create('Forms.Controls.Standard.Checkbox',{id:id,name:controlName.toString(),msgTarget:'side',isTAControl:true});this.addControlToCollection(checkBox);this.injectAutomationTag(checkBox,controlName);return checkBox;},createDropDownList:function(controlName,dataArray,headerColumns,controlId,val){var itemCollection=Ext.create('Ext.data.Store',{fields:headerColumns,data:dataArray});var dropDownList=Ext.create('Forms.Controls.Standard.Dropdown',{id:controlId.toString(),name:controlName.toString(),queryMode:'local',displayField:headerColumns[0],valueField:headerColumns[1],store:itemCollection,value:val,msgTarget:'side',isTAControl:true});this.addControlToCollection(dropDownList);this.injectAutomationTag(dropDownList,controlName);return dropDownList;},createCalendarControl:function(controlName,id,config){config=Ext.apply({id:id,name:controlName.toString(),msgTarget:'side',isTAControl:true},config);var calendarControl=Ext.create('Forms.Controls.Standard.Calendar',config);this.addControlToCollection(calendarControl);this.injectAutomationTag(calendarControl,controlName);this.injectAutomationTag(calendarControl.dateField,controlName+'-datefield');this.injectAutomationTag(calendarControl.timeField,controlName+'-timefield');return calendarControl;},createImageControl:function(controlName,controlID){var imageControl=Ext.create('Forms.Controls.Standard.Image',{id:controlID,name:controlName.toString(),listeners:{el:{click:function(ev){ev.preventDefault();imageControl.onClickEventHandler();}}},msgTarget:'side',isTAControl:true,});this.addControlToCollection(imageControl);this.injectAutomationTag(imageControl,controlName);return imageControl;},createHyperlinkControl:function(controlName,id){var hyperlinkControl=Ext.create('Forms.Controls.Standard.Hyperlink',{id:id,name:controlName.toString(),listeners:{el:{click:function(ev){ev.preventDefault();hyperlinkControl.onClickEventHandler();}}},isTAControl:true});this.setControlName(hyperlinkControl,controlName);this.addControlToCollection(hyperlinkControl);this.injectAutomationTag(hyperlinkControl,controlName);return hyperlinkControl;},createHorizontalRule:function(controlName,id){var horizontalRule=Ext.create('Forms.Controls.Standard.HorizontalRule',{id:id,name:controlName.toString(),msgTarget:'side',isTAControl:true});this.addControlToCollection(horizontalRule);this.injectAutomationTag(horizontalRule,controlName);return horizontalRule;},createRadioButtonListControl:function(controlName,items,vertical,minHeight,minWidth,id){var radioButtonListControl;if(vertical){radioButtonListControl=Ext.create('Forms.Controls.Standard.RadioButtonList',{id:id,name:controlName.toString(),items:items,layout:{type:'vbox',align:'stretch'},msgTarget:'side',minHeight:minHeight,minWidth:minWidth,isTAControl:true});} else{radioButtonListControl=Ext.create('Forms.Controls.Standard.RadioButtonList',{id:id,name:controlName.toString(),items:items,layout:{type:'hbox'},msgTarget:'side',minHeight:minHeight,minWidth:minWidth,isTAControl:true});} this.addControlToCollection(radioButtonListControl);this.injectAutomationTag(radioButtonListControl,controlName);return radioButtonListControl;},createTable:function(controlName,autofit,columns,id,theStore,ignorelocaleheadercolumn,isMultipleSelect,allowAdd,allowModify,useFlexForColumns,customActionMenus,disableAutoCorrection,controlConfig){var config={};if(theStore==undefined){var fields=[];for(var i=0;i'+encodedValue+'';}};} col.scope=col;if(!col.style){col.style={};} var checkedStyle=this;switch(columns[i].ControlType){case'Calendar':col.editor={xtype:'datefield'};break;case'CheckBox':col.editor={xtype:'checkboxfield',style:{'text-align':align},value:0};switch(columns[i].DataType){case'Int32':case'Int16':case'Decimal':col.editor.value=0;break;case'String':col.editor.value=false.toString();break;case'Boolean':if(!allowModify){col.disabledCls='';col.disabled=true;} col.editor.value=false;break;default:col.editor.value=false;break;} break;case'Hyperlink':col.redirect=columns[i].Redirect.Name;col.showAsImage=columns[i].ShowAsImage;col.imagePath=columns[i].ImagePath;col.loadFromStore=columns[i].LoadFromStore;col.alternateText=columns[i].AlternateText;col.renderer=function(val,meta,rec,rowIndex,colIndex){var formsLocation=Forms.Common.Common.GetFormsLocation()+'/Forms/';var deployedImagesLocation=Forms.Common.Common.GetFormsLocation()+'/DeployedImages/';SelectRow=function(rowId,tableId){var table=Ext.getCmp(tableId);if(table) table.selModel.select(rowId);};if(this.showAsImage){if(this.loadFromStore){if((val!=null&&val!="")&&val!=this.imagePath){if(this.redirect) if(columns[colIndex].Enabled==true){return'';} else{return'';} else return'';} else{if(this.redirect) return'';else return'';} if(this.redirect) return'';else return'';} else{if(this.imagePath){if(this.imagePath.indexOf('://')>-1){if((val!=null&&val!="")&&val!=this.imagePath){if(this.redirect) return'';else return'';} else{if(this.redirect) return'';else return'';}}} if(this.imagePath.indexOf('/')==-1){if((val!=null&&val!="")&&val!=this.imagePath){if(this.redirect) return'';else return'';} else{if(this.redirect) return'';else return'';}}} if(this.redirect) return'';else return'';} else{var encodedValue=Ext.util.Format.htmlEncode(val);if(encodedValue) {if(this.redirect) return''+encodedValue+'';else return''+encodedValue+'';} else {if(this.redirect) return'';else return'';}}};col.editor={xtype:'textfield'};break;case'Image':col.imagePath=columns[i].ImagePath;col.loadFromStore=columns[i].LoadFromStore;col.renderer=function(val,meta,rec,rowIndex,colIndex){var formsLocation=Forms.Common.Common.GetFormsLocation()+'/Forms/';var deployedImagesLocation=Forms.Common.Common.GetFormsLocation()+'/DeployedImages/';if(!val){val=this.imagePath;} if(val){if(this.loadFromStore){return'';} else{if(val){if(val.indexOf('://')>-1) return'';if(val.indexOf('/')==-1) return'';} return'';}}};col.editor={xtype:'textfield'};break;case'Action List':if(customActionMenus!=null&&customActionMenus[i]!==undefined){window[('actionColumnClick'+columns[i].Identity.Id).replace(/-/g,'_')]=function(e,rowIndex,colIndex){tableControl.selModel.select(rowIndex);var imagePosition=e.currentTarget.getElementsByTagName('img')[0].getBoundingClientRect();var xPosition=imagePosition.left+5;var yPosition=imagePosition.top+5;var position={0:xPosition,1:yPosition};var currentColumnMenu=customActionMenus[colIndex];currentColumnMenu.showAt(position);};col.renderer=function(val,meta,record,rowIndex,colIndex,store,view){var actionMenuText="";if(view.grid.isMultipleSelect){colIndex=colIndex-1;} var designerColIndex=0;for(var i=0;i";} else{var v="";} var arrowStyle="style = 'width:10px; height:10px;'";if(actionMenuText!=""){v+=""+actionMenuText+" ";} v+="";return v;},isMultipleSelect;} else{col.editor={xtype:'textfield'};} break;case'Drop-down':var data=[];var defaultvalue='';if(columns[i].StaticData){for(var p=0;p';},getCheckboxUnCheckedStyle:function(){return'';},createResourceTreeControl:function(controlName,multiSelection,id){var resourceTreeControl;if(multiSelection){resourceTreeControl=Ext.create('Forms.Controls.Custom.ResourceTreeControl',{id:id,name:controlName.toString(),isTAControl:true});}else{resourceTreeControl=Ext.create('Forms.Controls.Custom.ExplorerTreeDropDown',{id:id,name:controlName.toString(),isTAControl:true});} this.addControlToCollection(resourceTreeControl);this.injectAutomationTag(resourceTreeControl,controlName);return resourceTreeControl;},createTabControl:function(controlName,position,id,config){var controlConfig={id:id,name:controlName.toString(),tabPosition:position,isTAControl:true};Ext.applyIf(controlConfig,config);var tabControl=Ext.create('Forms.Controls.Standard.Tab',controlConfig);this.addControlToCollection(tabControl);this.injectAutomationTag(tabControl,controlName);return tabControl;},createTabItemControl:function(id,config){var controlConfig={id:id.toString(),isTAControl:true};Ext.applyIf(controlConfig,config);var tabItemControl=Ext.create('Forms.Controls.Standard.TabItem',controlConfig);return tabItemControl;},createDashboardControl:function(controlName){var dashboardControl=Ext.create('Forms.Controls.Custom.Dashboard.Dashboard',{id:controlName.toString(),name:controlName.toString(),isTAControl:true});this.addControlToCollection(dashboardControl);this.injectAutomationTag(dashboardControl,controlName);return dashboardControl;},createCaseHealthControl:function(controlName,id){var casehealthControl=Ext.create('Forms.Controls.Custom.CaseHealth.CaseHealth',{id:id.toString(),name:controlName.toString(),isTAControl:true});this.addControlToCollection(casehealthControl);this.injectAutomationTag(casehealthControl,controlName);return casehealthControl;},createWorkQueueControl:function(controlName,id,config){var controlConfig={id:id.toString(),name:controlName.toString(),isTAControl:true,queryType:Forms.Constants.QUERY_TYPE.WORKQUEUE};Ext.applyIf(controlConfig,config);var workQueueControl=Ext.create('Forms.Controls.Custom.WorkQueue.WorkQueue',controlConfig);this.addControlToCollection(workQueueControl);this.injectAutomationTag(workQueueControl,controlName);return workQueueControl;},createWorkloadControl:function(controlName,id,config,ismultitenant){var controlConfig={id:id.toString(),name:controlName.toString(),isTAControl:true,queryType:Forms.Constants.QUERY_TYPE.SYSTEM,isMultiTenant:ismultitenant};Ext.applyIf(controlConfig,config);var workloadControl=Ext.create('Forms.Controls.Custom.WorkQueue.WorkQueue',controlConfig);this.addControlToCollection(workloadControl);this.injectAutomationTag(workloadControl,controlName);return workloadControl;},createJobListControl:function(controlName,id,config){var controlConfig={id:id.toString(),name:controlName.toString(),isTAControl:true};Ext.applyIf(controlConfig,config);var joblistControl=Ext.create('Forms.Controls.Custom.JobList.JobList',controlConfig);this.addControlToCollection(joblistControl);this.injectAutomationTag(joblistControl,controlName);return joblistControl;},createActivityActionControl:function(controlName,id){var activityActionControl=Ext.create('Forms.Controls.Custom.ActivityActionButton.ActivityActionButton',{id:id,name:controlName.toString(),isTAControl:true});this.addControlToCollection(activityActionControl);this.injectAutomationTag(activityActionControl,controlName);return activityActionControl;},createJobActionButtonControl:function(controlName,id){var jobActionButtonControl=Ext.create('Forms.Controls.Custom.JobActionButton.JobActionButton',{id:id,name:controlName.toString(),isTAControl:true});this.addControlToCollection(jobActionButtonControl);this.injectAutomationTag(jobActionButtonControl,controlName);return jobActionButtonControl;},createSummaryControl:function(controlName,id){var summaryControl=Ext.create('Forms.Controls.Custom.Summary.Summary',{id:id,name:controlName.toString(),isTAControl:true});this.addControlToCollection(summaryControl);this.injectAutomationTag(summaryControl,controlName);return summaryControl;},createChecklistControl:function(controlName,id,config){var controlConfig={id:id,name:controlName.toString(),isTAControl:true};Ext.applyIf(controlConfig,config) var checklistControl=Ext.create('Forms.Controls.Custom.Checklist.Checklist',controlConfig);this.addControlToCollection(checklistControl);this.injectAutomationTag(checklistControl,controlName);return checklistControl;},createFileUploadControl:function(controlName,form,id){var control=Ext.create('Forms.Controls.Standard.FileUpload',{id:id,name:controlName.toString(),isTAControl:true,thisForm:form});this.addControlToCollection(control);this.injectAutomationTag(control,controlName);return control;},createProcessViewerControl:function(controlName,id,config){var controlConfig={id:id,name:controlName,isTAControl:true};Ext.applyIf(controlConfig,config);var processviewerControl=Ext.create('Forms.Controls.Custom.JobViewer.Jobviewer',controlConfig);this.addControlToCollection(processviewerControl);this.injectAutomationTag(processviewerControl,controlName);return processviewerControl;},createDocumentViewerControl:function(controlName,form,id,config){this.LoadDependenciesForWebCaptureControl();var controlConfig={id:id,name:controlName,isTAControl:true,thisForm:form};Ext.applyIf(controlConfig,config);var documentViewerControl=Ext.create('Forms.Controls.Custom.DocumentViewer.DocumentViewer',controlConfig);this.addControlToCollection(documentViewerControl);this.injectAutomationTag(documentViewerControl,controlName);return documentViewerControl;},createThumbnailViewerControl:function(controlName,form,id,config){this.LoadDependenciesForWebCaptureControl();var controlConfig={id:id,name:controlName,isTAControl:true,thisForm:form};Ext.applyIf(controlConfig,config);var thumbnailViewerControl=Ext.create('Forms.Controls.Custom.ThumbnailViewer.ThumbnailViewer',controlConfig);this.addControlToCollection(thumbnailViewerControl);this.injectAutomationTag(thumbnailViewerControl,controlName);return thumbnailViewerControl;},createDocumentContainerControl:function(controlName,id,config){this.LoadDependenciesForWebCaptureControl();var controlConfig={id:id,name:controlName,isTAControl:true,};Ext.applyIf(controlConfig,config);var documentContainerControl=Ext.create('Forms.Controls.Custom.DocumentContainerControl.DocumentContainerControl',controlConfig);this.addControlToCollection(documentContainerControl);this.injectAutomationTag(documentContainerControl,controlName);return documentContainerControl;},createDocumentSetControl:function(controlName,form,id,config){this.LoadDependenciesForWebCaptureControl();var controlConfig={id:id,name:controlName,isTAControl:true,thisForm:form};Ext.applyIf(controlConfig,config);var documentSetControl=Ext.create('Forms.Controls.Custom.DocumentSet.DocumentSet',controlConfig);this.addControlToCollection(documentSetControl);this.injectAutomationTag(documentSetControl,controlName);return documentSetControl;},createEntityInstanceControl:function(controlName,id){var entityInstance=Ext.create('Forms.Controls.Custom.EntityInstance.EntityInstance',{id:id,name:controlName,isTAControl:true});this.addControlToCollection(entityInstance);this.injectAutomationTag(entityInstance,controlName);return entityInstance;},createEmbeddedWebpageControl:function(controlName,id,config){var controlConfig={id:id,name:controlName,isTAControl:true};Ext.applyIf(controlConfig,config);var embeddedPage=Ext.create('Forms.Controls.Standard.EmbeddedPage',controlConfig);this.addControlToCollection(embeddedPage);this.injectAutomationTag(embeddedPage,controlName);return embeddedPage;},createPerceptiveViewerControl:function(controlName){var perceptiveViewer=Ext.create('Forms.Controls.Custom.PerceptiveViewer.PerceptiveViewer',{id:controlName,name:controlName,isTAControl:true});this.addControlToCollection(perceptiveViewer);this.injectAutomationTag(perceptiveViewer,controlName);return perceptiveViewer;},createCanvasControl:function(controlName,id){var canvas=Ext.create('Forms.Controls.Standard.Canvas',{id:id,name:controlName,isTAControl:true});this.addControlToCollection(canvas);this.injectAutomationTag(canvas,controlName);return canvas;},createCaptureTextField:function(fieldDef,config){if(config==undefined){config={};} var captureTextField=CEBPM.view.field.FieldFactory.createField(fieldDef,config);this.injectFieldEditOperationResult(captureTextField);this.addControlToCollection(captureTextField);this.injectCaptureFieldNameProperty(captureTextField,fieldDef.fieldName);return captureTextField;},createCaptureMiniViewerField:function(fieldDef,marginValue){var myConfig={margin:2};var captureMiniViewerField=CEBPM.view.field.FieldFactory.createMiniViewer(fieldDef,myConfig);this.injectFieldEditOperationResult(captureMiniViewerField);this.addControlToCollection(captureMiniViewerField);return captureMiniViewerField;},createContainerMiniViewerControl:function(controlName,controlId,containerItems,layoutType){var containerControl=Ext.create('Ext.container.Container',{id:controlId.toString(),name:controlName.toString(),items:containerItems,layout:{type:layoutType,autoSize:true},style:{'display':'inline-block','vertical-align':'top'}});this.addControlToCollection(containerControl);return containerControl;},createInnerMiniViewerContainer:function(controlName,controlId,containerItems,layoutType){var containerControl=Ext.create('Ext.container.Container',{id:controlId.toString(),name:controlName.toString(),items:containerItems,layout:{type:layoutType},style:{'display':'inline-block','vertical-align':'top'},flex:1});this.addControlToCollection(containerControl);return containerControl;},createFlexibleContainerMiniViewerControl:function(controlName,controlId,containerItems,layoutType,width){var containerControl=Ext.create('Ext.container.Container',{id:controlId.toString(),name:controlName.toString(),items:containerItems,layout:{type:layoutType},style:{'display':'inline-block','vertical-align':'top'},width:width});this.addControlToCollection(containerControl);return containerControl;},createCaptureCheckBoxField:function(fieldDef,config){var captureCheckBoxField=CEBPM.view.field.FieldFactory.createField(fieldDef,config);this.injectFieldEditOperationResult(captureCheckBoxField);this.addControlToCollection(captureCheckBoxField);this.injectCaptureFieldNameProperty(captureCheckBoxField,fieldDef.fieldName);return captureCheckBoxField;},createComboBoxCaptureControl:function(fieldDef,handleComboBoxExpanded,config){var captureComboBoxField=CEBPM.view.field.FieldFactory.createField(fieldDef,config);if(captureComboBoxField.isXType("cebpmcomboboxfield")){captureComboBoxField.setDefaultValue=function(value){this.defaultValue=value;};captureComboBoxField.getDefaultValue=function(){return this.defaultValue};captureComboBoxField.setPromptValue=function(value){this.promptValue=value;};captureComboBoxField.getPromptValue=function(){return this.promptValue};} this.injectFieldEditOperationResult(captureComboBoxField);captureComboBoxField.addListener('combobox_expanded',handleComboBoxExpanded);this.addControlToCollection(captureComboBoxField);this.injectCaptureFieldNameProperty(captureComboBoxField,fieldDef.fieldName);return captureComboBoxField;},createComboBoxCaptureControlBackup:function(controlName,dataArray,headerColumns,val){var fieldDef={};fieldDef.style=2;fieldDef.name=controlName;var captureTextField=CEBPM.view.field.FieldFactory.createField(fieldDef,{});var itemCollection=Ext.create('Ext.data.Store',{fields:headerColumns,data:dataArray});var comboBox=Ext.create('CEBPM.view.field.ComboBoxField',{id:controlName.toString(),name:controlName.toString(),queryMode:'local',displayField:headerColumns[0],valueField:headerColumns[1],store:itemCollection,value:val});this.addControlToCollection(comboBox);return comboBox;},createTableCaptureField:function(fieldDef,handleComboBoxExpanded,controlScope,width,isMultiLineEnabled){var captureTableField=CEBPM.view.field.FieldFactory.createField(fieldDef,{width:width,isMultiLineEnabled:isMultiLineEnabled});if(fieldDef.columnDefs!=undefined){for(var i=0;i1){var hours=parseInt(ticksAndTimeZoneOffSetArrray[1].substring(0,2),10);var minutes=parseInt(ticksAndTimeZoneOffSetArrray[1].substring(2,4),10);timeZoneOffSetInSeconds=(hours*60+minutes)*60;timeZoneOffSetInSeconds=isNegativeOffSet?(timeZoneOffSetInSeconds*-1):timeZoneOffSetInSeconds;} return timeZoneOffSetInSeconds;},parseJsonDate:function(jsonDateString){var ticks=this.getEpochSecondsFromJsonDate(jsonDateString);return new Date(ticks);}});Ext.define('Forms.DataObjectHelper',{singleton:true,constructor:function(){},convertVariableValueToJson:function(value){try{var dataObject=JSON.parse(value);var jsonData={};if(dataObject){if(dataObject.ModelObjectType){var dataObjectField=this.getObjectFieldById(dataObject.Fields,dataObject.ModelObjectType);this.buildJsonForObjectFields(dataObjectField.ObjectFields,jsonData);}else if(dataObject.Fields.length>0){this.buildJsonForObjectFields(dataObject.Fields,jsonData);}} return jsonData;}catch(e){return value;}},getObjectFieldById:function(fields,id){var dataObjectField=null;for(var i=0;i0){dataObjectField=this.getObjectFieldById(fields[i].ObjectFields,id);}} if(dataObjectField!=null){break;}}} return dataObjectField;},buildJsonForObjectFields:function(fields,jsonData){for(var i=0;i0){this.buildJsonForObjectFields(field.ObjectFields,objectJson);} else{objectJson=null;} jsonData[name]=objectJson;break;case Forms.Constants.DATA_MODEL_FIELD_TYPE.OBJECTARRAY.Value:var arrayJson=[];this.buildJsonArray(field.ArrayFields,arrayJson);jsonData[name]=arrayJson;break;default:if(this.isSimpleDataModelFieldType(field.Type)){if(field.Type==Forms.Constants.DATA_MODEL_FIELD_TYPE.DATE.Value){if(Forms.Common.Common.IsValidJsonDate(field.Value)){jsonData[name]=Forms.Common.Common.ConvertFromJsonDate(field.Value);}else{jsonData[name]=field.Value;}}else{jsonData[name]=field.Value;}} break;}},isSimpleDataModelFieldType:function(type){if(type===Forms.Constants.DATA_MODEL_FIELD_TYPE.TEXT.Value||type===Forms.Constants.DATA_MODEL_FIELD_TYPE.BOOLEAN.Value||type===Forms.Constants.DATA_MODEL_FIELD_TYPE.NUMBER.Value||type===Forms.Constants.DATA_MODEL_FIELD_TYPE.DATE.Value){return true;} else{return false;}},buildJsonArray:function(arrayFields,jsonData){for(var i=0;i0&&arrayFields[i].SubFields[0].IsUnnamed){if(arrayFields[i].SubFields[0].Type==Forms.Constants.DATA_MODEL_FIELD_TYPE.DATE.Value){if(Forms.Common.Common.IsValidJsonDate(arrayFields[i].SubFields[0].Value)){jsonData[name]=Forms.Common.Common.ConvertFromJsonDate(arrayFields[i].SubFields[0].Value);}else{jsonData[name]=arrayFields[i].SubFields[0].Value;}} jsonData.push(arrayFields[i].SubFields[0].Value);} else{var arrayJson={};this.buildJsonForObjectFields(arrayFields[i].SubFields,arrayJson);jsonData[i]=arrayJson;}}},});Ext.define('Forms.FederatedSecurityHelper',{config:{callbackUrl:"",userService:{},protocol:""},constructor:function(options){this.initConfig(options);return this;},CreateAuthenticationProviderSelections:function(providers,me){var buttonContainer=this.CreateButtonContainer();var x=0;for(x;x1){me.CreateAuthenticationProviderSelections(allProviders,me);}}},ProviderSelected:function(sender,eventArgs){if(sender&&sender.data){var authenticationProviderIdentity=Ext.create('Forms.Custom.Classes.AuthenticationProviderIdentity');authenticationProviderIdentity.setId(sender.data.getIdentity().getId());if(sender.federatedSecurityHelper){var me=sender.federatedSecurityHelper;me.getUserService().GetFederatedAuthenticationSignInUrl(function(data){if(data&&data.d){if(sender.data.getBindingType()==null||sender.data.getBindingType()==0){window.location=data.d;}else{me.MakeHttpPostRequest(data.d);}}},me.getCallbackUrl(),authenticationProviderIdentity,me.getProtocol(),window.location);}}},MakeHttpPostRequest:function(signInUrl){var signInUrl=signInUrl;var samlRequest;var relayState;var index=signInUrl.indexOf('?');var url=signInUrl.substring(0,index);var queryString=signInUrl.substr(signInUrl.indexOf(Forms.Constants.QuestionMark)+1,signInUrl.length-1);var keyPairValues=queryString.split(Forms.Constants.Ampersand) for(keyValuePair in keyPairValues){if(keyPairValues[keyValuePair].search(Forms.Constants.SAMLRequest)>-1){var request=keyPairValues[keyValuePair];var index=request.indexOf(Forms.Constants.EqualTo);samlRequest=request.substr(index+1,request.length-index);} else if(keyPairValues[keyValuePair].search(Forms.Constants.RelayState)>-1){var parameterNameAndValue=keyPairValues[keyValuePair].split(Forms.Constants.EqualTo);relayState=parameterNameAndValue[parameterNameAndValue.length-1];}} var formElement=document.createElement('form');formElement.target='_self';formElement.method='POST';formElement.action=url;var samlRequestInput=this.CreateFormElement(Forms.Constants.SAMLRequest,samlRequest);formElement.appendChild(samlRequestInput);var relayStateInput=this.CreateFormElement(Forms.Constants.RelayState,relayState);formElement.appendChild(relayStateInput);Ext.getBody().appendChild(formElement);formElement.submit();Ext.getBody().removeChild(formElement);},CreateFormElement:function(name,value){var mapInput=document.createElement('input');mapInput.type=Forms.Constants.HiddenInputType;mapInput.name=name;mapInput.value=value;return mapInput},CreateButtonContainer:function(){var buttonContainer=Ext.create('Ext.panel.Panel',{width:900,height:400,layout:{type:'vbox',align:'left'},cls:'federatedSecurityContainerCentered'});var federatedSecurityContainer=Ext.create('Ext.panel.Panel',{width:'100%',items:[buttonContainer],renderTo:Ext.getBody(),cls:'federationContainer'});var headerLabel=Ext.create('Ext.form.Label',{text:Forms.Common.Lang.GetLocaleString('9821EFD11EFA4945BA309804459FFB12',true),cls:'authenticationLabel',margin:15,width:850});buttonContainer.add(headerLabel);return buttonContainer;},GetAuthenticationProviders:function(protocol){this.getUserService().GetFederatedAuthenticationProvidersForSignIn2(this.GetProvidersSucceeded,this.getCallbackUrl(),this.getProtocol(),window.location,this);},GetSessionIdFromUrl:function(url){var providerLogonSucceeded=this.GetProviderLogOnSucceededFromUrl(url);if(providerLogonSucceeded){return Forms.Common.Common.GetSessionID();} return'';},GetProviderLogOnSucceededFromUrl:function(url){var urlParts=url.split('?');if(urlParts&&urlParts.length>1){return Ext.Object.fromQueryString(urlParts[1]).ProviderLogOnSucceeded;} return undefined;}});Ext.define('Forms.FieldValidationError',{config:{fieldLabel:'',fieldName:'',fieldError:'',},constructor:function(options){this.setConfig(options);},});Ext.define('Forms.FieldValidationSummary',{constructor:function(options){this.setConfig(options);},errorsCellName:'fieldValidationErrorsCell',hideValidationSummary:function(thisForm){var fieldValidationErrorsCell=thisForm.controlManager.getControlByName(this.errorsCellName);if(fieldValidationErrorsCell){fieldValidationErrorsCell.hide();}},showValidationSummary:function(thisForm){var me=this;this.thisForm=thisForm;fieldValidationErrors=[];this.thisForm.getForm().getFields().each(function(field){if(me.thisForm.controlManager.getControlByName(field.getName())){var errors=field.getActiveErrors();errors.forEach(function(error){fieldValidationErrors.push(Ext.create('Forms.FieldValidationError',{fieldLabel:field.getFieldLabel?field.getFieldLabel():'',fieldName:field.getName(),fieldError:error}))});}});SuspendFormLayouts();var fieldValidationErrorsCell=this.thisForm.controlManager.getControlByName(me.errorsCellName);fieldValidationErrorsCell=fieldValidationErrorsCell?fieldValidationErrorsCell:me.createErrorsCell();fieldValidationErrorsCell.removeAll();fieldValidationErrors.forEach(function(fieldValidationError){fieldValidationErrorsCell.add(me.createErrorItem(fieldValidationError));}) fieldValidationErrorsCell.show();fieldValidationErrorsCell.expand();ResumeFormLayouts();document.getElementById(fieldValidationErrorsCell.getId()).scrollIntoView(false);},createErrorItem:function(fieldValidationError){var me=this;var errorMessage=(Ext.isEmpty(fieldValidationError.getFieldLabel())?fieldValidationError.getFieldName():fieldValidationError.getFieldLabel())+": "+fieldValidationError.getFieldError();var item=Ext.create({xtype:'component',margin:'2 2 2 30',cls:'ktafieldvalidationsummarylink',style:{'color':'red','cursor':'pointer','font-weight':'500','font-size':'12px','text-decoration':'none'},autoEl:{tag:'a',html:'-     '+errorMessage,},listeners:{el:{click:function(ev){ev.preventDefault();me.setFocusOnInvalidControl(fieldValidationError);}}},});return item;},setFocusOnInvalidControl:function(fieldValidationError){var control=this.thisForm.controlManager.getControlByName(fieldValidationError.getFieldName());Forms.Common.Common.setFocusOnFormControl(control,this.thisForm);},createErrorsCell:function(){var fieldValidationErrorsCell=Ext.create('Forms.Controls.Standard.Cell',{name:this.errorsCellName,border:false,collapsible:false,closable:true,closeAction:'hide',width:'100%',layout:{type:'vbox'},margin:'10 0 10 0',maxHeight:150,autoScroll:true,title:{xtype:'title',text:Forms.Common.Lang.GetLocaleString('87441b635c2d4637a85011eefe1e22bd',true),style:{'color':'red','font-weight':'500','font-size':'13px',}},items:[]});this.thisForm.controlManager.controlArray.push(fieldValidationErrorsCell);this.thisForm.insert(0,fieldValidationErrorsCell);return fieldValidationErrorsCell;},});Ext.define('Forms.FormCache',{config:{formCacheArray:[],maxCacheSize:0,cacheEnabled:false,formHistory:[],originFormUrl:'',lastPoppedFormFromUrl:''},constructor:function(initConfig){this.formCacheArray=new Array();this.maxCacheSize=initConfig.maxSize?initConfig.maxSize:10;this.cacheEnabled=initConfig.enabled;this.formHistory=new Array();},setCacheEnabled:function(isCacheEnabled){this.cacheEnabled=isCacheEnabled;},isEnabled:function(){return this.cacheEnabled;},addLastPoppedFormToHistory:function(){this.formHistory.push(this.lastPoppedFormFromUrl);this.lastPoppedFormFromUrl=null;},popFormFromHistory:function(){if(this.formHistory.length>0){var poppedForm=this.formHistory.pop();this.lastPoppedFormFromUrl=poppedForm;return poppedForm;} return null;},addFormToHistory:function(formUrl){this.formHistory.push(formUrl);},addForm:function(formToCache,formId,formVersion,formType,formUrl,formClassName){formUrl=formUrl===undefined?null:formUrl;formClassName=formClassName===undefined?null:formClassName;if(this.cacheEnabled&&formToCache){var formToCache=Ext.create('Forms.CachedForm',{id:formId,version:formVersion,type:formType,form:formToCache,url:formUrl,className:formClassName});if(this.isCacheFull()){this.removeLeastActiveForm();} this.formCacheArray.unshift(formToCache);}},removeCaptureFormFromCache:function(formId,formVersion,formType){var formIsInCache=this.isFormInCache(formId,formVersion,null);var cachedFormPosition=0;if(formIsInCache){if(this.formCacheArray.length>0){for(var i=0;i0){for(var i=0;i=me.maxCacheSize){return true;} return false;},removeLeastActiveForm:function(){var formToRemove=this.formCacheArray.pop();this.disposeForm(formToRemove.getForm());},removeOlderFormVersions:function(formId,formVersion,formType){if(this.cacheEnabled){var allOlderVersionsRemoved=false;while(!allOlderVersionsRemoved){var cachedform=null;var cachedFormPosition=0;if(this.formCacheArray!=undefined&&this.formCacheArray.length>0){for(var i=0;i0){for(var i=0;i0){for(var i=0;i0){for(var i=0;i0){for(var i=0;i0){return true;} return false;},getCacheLength:function(){return this.formCacheArray.length;},disposeForm:function(formToRemove){formToRemove.fireEvent('delete_form');if(formToRemove.controlManager){for(var n=0;n0){formName=formName.substring(0,formName.indexOf("?"));} if(formName.indexOf('/')>0){formName=formName.substring(formName.lastIndexOf('/')+1);}} return formName;},removeQueryString:function(url){var formName=decodeURI(url);if(url.indexOf("?")>0){formName=url.substring(0,url.indexOf("?"));} return formName;},extractHeaderFormName:function(url){var formName=decodeURI(url);if(formName.indexOf(Forms.Constants.MobileExtension)>0){formName=formName.substring(0,formName.indexOf(Forms.Constants.MobileExtension));} else if(formName.indexOf(Forms.Constants.TabletExtension)>0){formName=formName.substring(0,formName.indexOf(Forms.Constants.TabletExtension));} else{formName=formName.substring(0,formName.lastIndexOf('.'));} if(formName.lastIndexOf("_")>0){formName=url.substring(0,formName.lastIndexOf("_"));} return formName;},extractVersionFromFormName:function(fullFormName){var version=null;var formName=Forms.FormCacheHelper.extractFormName(fullFormName);if(fullFormName.substring(0,13)!=='Forms/Custom/'){if(formName.indexOf(Forms.Constants.MobileExtension)>0){formName=formName.substring(0,formName.indexOf(Forms.Constants.MobileExtension));version=formName.substring(formName.lastIndexOf('_')+1);} else if(formName.indexOf(Forms.Constants.TabletExtension)>0){formName=formName.substring(0,formName.indexOf(Forms.Constants.TabletExtension));version=formName.substring(formName.lastIndexOf('_')+1);} else{formName=formName.substring(0,formName.lastIndexOf('.'));version=formName.substring(formName.lastIndexOf('_')+1);}} return version;},isTouchNavigationMenu:function(fullFormName){var isTouchNavMenu=false;var formVersion=Forms.FormCacheHelper.extractVersionFromFormName(fullFormName);if(formVersion==='touchmobile'||formVersion==='touchtablet'){return true;} return false;},extractVersionFromObject:function(formObject){var formVersion=null;if(formObject.formVersion!==undefined&&formObject.formVersion!==null){formVersion=formObject.formVersion;} else if(formObject.getFormVersion){formVersion=formObject.getFormVersion();} return formVersion;},isTouchForm:function(){if(Forms.Common.Common.IsSenchaTouch()){return true;} return false;},showAlert:function(actionType){if(Forms.FormCacheHelper.isTouchForm()){} else{}},loadNewFormIntoCache:function(fileName,formVersion,url,currentUrl,requestedUrlName,formCache,navigatingBack,captureOptions){var formContainer=Ext.getCmp(Forms.Constants.MainCardLayoutId);var mainContainer=Ext.getCmp(Forms.Constants.MainContainerId);var currentItems=formContainer.items;var previousForm=currentItems.first();Forms.FormCacheHelper.showAlert('Load');if(previousForm){previousForm.fireEvent('cleanup_form');formContainer.remove(previousForm,false);var className=Forms.FormCacheHelper.formatClassName(previousForm.$className);var previousFormVersion=Forms.FormCacheHelper.extractVersionFromObject(previousForm);var formURL=Forms.FormCacheHelper.getFormUrl(previousForm,false);if(formURL===null){formURL=currentUrl;previousForm.url=currentUrl;} if(!formCache.isFormInCache(className,previousFormVersion,null)){formCache.addForm(previousForm,className,previousFormVersion,null,formURL,null);} if(navigatingBack!==true){formCache.addFormToHistory(formURL);} else if(Forms.Common.Common.GetRedirectConfirmation().getConfirmationRequired()==true&&Forms.Common.Common.GetRedirectConfirmation().getIgnoreRedirectConfirmation()==false){if(navigatingBack===true&&Forms.Common.Common.getUseBreadcrumbTrail()===false&&loadedFormUrl) formCache.addFormToHistory(Forms.FormCacheHelper.getFormUrl(loadedFormUrl,true));} Forms.Common.Common.UpdateSessionStorageForWindow(Forms.Constants.FORM_REFERRER,formURL);} Forms.FormCacheHelper.setAddressBar(url);var className=fileName;if(Forms.FormCacheHelper.removeQueryString(requestedUrlName)=='Forms/Custom/'+fileName.toLowerCase()+'.js'){className='Forms.Custom.'+fileName.toLowerCase();} formCache.removeOlderFormVersions(Forms.FormCacheHelper.formatFileName(fileName),formVersion,null);var newform=Ext.create(className,{url:url,border:0,width:'100%',itemId:'_main_form_panel_',captureData:captureOptions});Forms.FormCacheHelper.setMainContainerWidth(mainContainer,newform);Forms.FormCacheHelper.setFormPageTitle(Forms.FormCacheHelper.getFormTitle(newform));formContainer.add(newform);formCache.addForm(newform,Forms.FormCacheHelper.formatFileName(fileName),formVersion,null,url,null);},reLoadFormFromCache:function(formName,formVersion,formCache,formURL,navigatingBack){var cachedFormWithDetails=formCache.getFormWithDetails(Forms.FormCacheHelper.formatFileName(formName),formVersion,null);var cachedForm=cachedFormWithDetails.getForm();var formContainer=Ext.getCmp(Forms.Constants.MainCardLayoutId);var mainContainer=Ext.getCmp(Forms.Constants.MainContainerId);var currentItems=formContainer.items;var currentForm=currentItems.first();Forms.FormCacheHelper.showAlert('ReLoad');if(currentForm){currentForm.fireEvent('cleanup_form');formContainer.remove(currentForm,false);var className=Forms.FormCacheHelper.formatClassName(currentForm.$className);var previousFormVersion=Forms.FormCacheHelper.extractVersionFromObject(currentForm);if(!formCache.isFormInCache(className,previousFormVersion,null)){formCache.addForm(currentForm,className,previousFormVersion,null,Forms.FormCacheHelper.getFormUrl(currentForm,true),null);} if(navigatingBack!==true){formCache.addFormToHistory(Forms.FormCacheHelper.getFormUrl(currentForm,true));} else if(Forms.Common.Common.GetRedirectConfirmation().getConfirmationRequired()==true&&Forms.Common.Common.GetRedirectConfirmation().getIgnoreRedirectConfirmation()==false){if(navigatingBack===true&&Forms.Common.Common.getUseBreadcrumbTrail()===false&&loadedFormUrl) formCache.addFormToHistory(Forms.FormCacheHelper.getFormUrl(loadedFormUrl,true));} var url=Forms.FormCacheHelper.getFormUrl(currentForm,true);Forms.Common.Common.UpdateSessionStorageForWindow(Forms.Constants.FORM_REFERRER,url);} Forms.FormCacheHelper.updateFormUrl(cachedForm,formURL);cachedForm.fireEvent('initialize_form');if(Forms.FormCacheHelper.isTouchForm()){cachedForm.fireEvent('OnInitialiseForm',cachedForm,null);cachedForm.fireEvent('form_updated',cachedForm,null);} else{cachedForm.on('added',function(f){Ext.defer(function(){f.fireEvent('OnInitialiseForm',f,null);f.fireEvent('form_updated',f,null);},10);},cachedForm,{single:true});} var cachedUrl=Forms.FormCacheHelper.getFormUrl(cachedForm,false);var updatedUrl=cachedUrl?cachedUrl:cachedFormWithDetails.getUrl();Forms.FormCacheHelper.setMainContainerWidth(mainContainer,cachedForm);if(updatedUrl!==null&&updatedUrl!==undefined){Forms.FormCacheHelper.setAddressBar(updatedUrl);Forms.FormCacheHelper.setFormPageTitle(Forms.FormCacheHelper.getFormTitle(cachedForm));} formContainer.add(cachedForm);if(cachedForm.accessCheckFailed){Ext.Msg.alert(Forms.Common.Lang.GetLocaleString('5c8592e286934cab9c3b16be0879e101',true),Forms.Common.Lang.GetLocaleString('5718707a759448658ab168d34ffcad85',true));$('#wrapper').hide();} else $('#wrapper').show();},setMainContainerWidth:function(mainContainer,cachedForm){var newWidth=0;if(cachedForm.getMainContainerWidth){newWidth=cachedForm.getMainContainerWidth();} else if(mainContainer.originalWidth){newWidth=mainContainer.originalWidth;} if(newWidth!==0&&newWidth!==mainContainer.getWidth()){if(newWidth.toString().indexOf('%')==-1){mainContainer.setWidth(newWidth);} else{mainContainer.width=newWidth;if(typeof mainContainer.el.dom.style!=="undefined"&&!Forms.FormCacheHelper.isTouchForm()){mainContainer.el.dom.style.width=newWidth;mainContainer.updateLayout();}}} $(window).resize(function(){cachedForm.updateLayout();});},getFormTitle:function(formObject){if(formObject&&formObject.config&&formObject.config.title!=undefined){return formObject.config.title;} else if(formObject&&formObject.titleLabel&&formObject.titleLabel.text){return formObject.titleLabel.text;} else if(formObject&&formObject.config&&formObject.config.formTitle!=undefined){return formObject.config.formTitle;} return"";}});Ext.define('Forms.FormVariable',{name:null,type:null,value:null,numberOfColumns:null,mixins:{observable:'Ext.util.Observable'},constructor:function(options){Ext.apply(this,options||{});this.mixins.observable.constructor.call(this,options);if(this.type==Forms.Constants.FORM_VARIABLE_TYPE.ARRAY.name){this.numberOfColumns=this.value;}},setVariableName:function(name){this.name=name;},setVariableType:function(type){this.type=type;},setVariableValue:function(val){this.value=val;this.fireEvent('ValueUpdated',this,val);},getVariableValue:function(eventInput){if(this.type==Forms.Constants.FORM_VARIABLE_TYPE.ARRAY.name){return this.getDataUsingEventInput(eventInput);} else{return this.value;}},setVariableValueUsingColumnData:function(columnNames,val){var rowData=new Array(val.length);for(var row=0;row0){colName=eventInput.getName().split(".")[1];} else if(eventInput.getDataType()&&eventInput.getDataType().endsWith("[]")){colName=Forms.Constants.FIRST_COLUMN;} if(colName!=undefined&&colName!=''){rowData=this.getColumnData(colName);} return rowData;},getColumnData:function(colName){var rowCount=this.value.length;var rowData=new Array(rowCount);for(var rowCounter=0;rowCounter0){for(i=0;i-1){val=this.evaluateDateExpression(val.toString());}}} var formVariable=Ext.create('Forms.FormVariable',{name:name,type:type,value:val});var variable=this.getFormVariableByName(name);if(variable==null){this.formVariableArray.push(formVariable);}},updateFormVariable:function(name,val){var variable=this.getFormVariableByName(name);if(variable!=null){variable.setVariableValue(val);}},evaluateDateExpression:function(dateExp){var exp1=dateExp.replace(/ /g,'').replace(/@Today/gi,'');var dateValue=new Date();if(exp1.length>0){dateValue.setDate(parseInt(dateValue.getDate()+parseInt(exp1)));} return dateValue;},UpdateDataObjectFormVariables:function(eventOutputVariables,evtOutputDataCollection,dataHelper,isServerEvent,columnNames,variable){var dataObjectFormVarsUpdate=Ext.create('Forms.Custom.Classes.DataObjectFormVarsUpdate',{});var sessionId=Forms.SessionVariables.getSessionVariable('SESSION_ID',true);dataObjectFormVarsUpdate.setFormIdentity(Forms.Common.Common.FormIdentity);var siteIdentity=Ext.create('Forms.Custom.Classes.SiteIdentity',{});siteIdentity.setName(Forms.Common.Common.GetSiteName());dataObjectFormVarsUpdate.setSiteIdentity(siteIdentity);var dataObjectFormVarUpdateCollection=Ext.create('Forms.Custom.Classes.DataObjectFormVarUpdateCollection',{});var selectedDataObjectVariables=[];var targetDevice;if(Forms.Testing){targetDevice=Forms.Common.Common.TargetDevice;} for(x=0;x0){sig="+";} return+(Math.round(+arr[0]+"e"+sig+(+arr[1]+scale))+"e-"+scale);}}});Ext.define('Forms.HeaderAndNavigationController',{config:{headerFileName:null,horizontalNavigationFileName:null,verticalNavigationFileName:null},constructor:function(initConfig){var me=this;me.setHeaderFileName(null);me.setHorizontalNavigationFileName(null);me.setVerticalNavigationFileName(null);},refreshHeaderAndNavigation:function(formFilePaths,refreshCompleted){var me=this;var filesToRetrieve=new Array();var newHeaderFileName=formFilePaths.HeaderForm?Forms.FormCacheHelper.extractFormName(formFilePaths.HeaderForm):null;var newHNavFileName=formFilePaths.HorizontalNavigation?Forms.FormCacheHelper.extractFormName(formFilePaths.HorizontalNavigation):null;var newVNavFileName=formFilePaths.VerticalNavigation?Forms.FormCacheHelper.extractFormName(formFilePaths.VerticalNavigation):null;var loadHeader=false,loadHNav=false,loadVNav=false,loadTouchnav=false;if(me.getHeaderFileName()!==newHeaderFileName){if(newHeaderFileName&&!me.isHeaderFormInCache(newHeaderFileName)){filesToRetrieve.push(formFilePaths.HeaderForm);} loadHeader=true;} if(me.getHorizontalNavigationFileName()!==newHNavFileName){if(newHNavFileName){filesToRetrieve.push(formFilePaths.HorizontalNavigation);} loadHNav=true;} if(me.getVerticalNavigationFileName()!==newVNavFileName){if(newVNavFileName){filesToRetrieve.push(formFilePaths.VerticalNavigation);} loadVNav=true;} if(formFilePaths.TouchNavigations.length>0){for(var counter=0;counter0){LoadJsFile(filesToRetrieve[formJSLoadcount++]);} else{successCallback();}},addToHeaderFormCache:function(headerFormName,formVersion,headerForm){var me=this;var headerFormCache=Forms.Common.Common.GetHeaderFormCache();if(!headerFormCache.isFormInCache(headerFormName,formVersion,null)){headerFormCache.addForm(headerForm,headerFormName,formVersion,null,null,null);}},isHeaderFormInCache:function(headerFileName){var me=this;var headerFormCache=Forms.Common.Common.GetHeaderFormCache();var formVersion=Forms.FormCacheHelper.extractVersionFromFormName(headerFileName);var headerFormName=Forms.FormCacheHelper.extractHeaderFormName(headerFileName);if(headerFormCache.isFormInCache(headerFormName,formVersion,null)){return true;} return false;},removeCurrentHeader:function(headerContainer){var me=this;var currentItems=headerContainer.items;var currentHeader=currentItems.first();if(currentHeader!=null){var currentHeaderFilename=me.getHeaderFileName();var formVersion=Forms.FormCacheHelper.extractVersionFromFormName(currentHeaderFilename);var headerFormName=Forms.FormCacheHelper.extractHeaderFormName(currentHeaderFilename);currentHeader.fireEvent('cleanup_form');headerContainer.remove(currentHeader,false);me.addToHeaderFormCache(headerFormName,formVersion,currentHeader);}},updateHeader:function(newHeaderFileName){var me=this;var mainContainer=Ext.getCmp(Forms.Constants.MainContainerId);if(mainContainer){var headerContainer=mainContainer.items.items[0];me.removeCurrentHeader(headerContainer);if(newHeaderFileName!=null){var formVersion=Forms.FormCacheHelper.extractVersionFromFormName(newHeaderFileName);var headerFormName=Forms.FormCacheHelper.extractHeaderFormName(newHeaderFileName);var headerFormCache=Forms.Common.Common.GetHeaderFormCache();if(!headerFormCache.isFormInCache(headerFormName,formVersion,null)){headerFormCache.removeOlderFormVersions(headerFormName,formVersion,null);var newHeaderForm=Ext.create('Forms.Custom.HeaderForm',{});headerContainer.add(newHeaderForm);me.addToHeaderFormCache(headerFormName,formVersion,newHeaderForm);} else{var cachedForm=headerFormCache.getForm(headerFormName,formVersion,null);if(Forms.FormCacheHelper.isTouchForm()){cachedForm.fireEvent('OnInitialiseForm',cachedForm,null);cachedForm.fireEvent('form_updated',cachedForm,null);} else{cachedForm.on('added',function(f){Ext.defer(function(){f.fireEvent('OnInitialiseForm',f,null);f.fireEvent('form_updated',f,null);},10);},cachedForm,{single:true});} headerContainer.add(cachedForm);}}} me.setHeaderFileName(newHeaderFileName);},removeFromDockedItems:function(itemContainer){var me=this;var currentItem=itemContainer.dockedItems.items[0];try{if(currentItem){itemContainer.removeDocked(currentItem);Ext.destroy(currentItem);}} catch(ex){currentItem=null;}},updateHorizontalNav:function(newHNavFileName){var me=this;me.setHorizontalNavigationFileName(newHNavFileName);var mainContainer=Ext.getCmp(Forms.Constants.MainContainerId);if(mainContainer){me.removeFromDockedItems(mainContainer.items.items[0]);if(newHNavFileName!=null){var hMenu=Ext.create('Forms.Custom.HNavigation',{dock:'bottom'});mainContainer.items.items[0].addDocked(hMenu);}}},updateVerticalNav:function(newVNavFileName){var me=this;me.setVerticalNavigationFileName(newVNavFileName);var mainContainer=Ext.getCmp(Forms.Constants.MainContainerId);if(mainContainer){me.removeFromDockedItems(mainContainer.items.items[1]);if(newVNavFileName!=null){var vMenu=Ext.create('Forms.Custom.VNavigation',{height:'100%'});mainContainer.items.items[1].addDocked({xtype:'container',items:[vMenu],scrollable:'y',dock:'left',});}}}});Ext.define('Forms.HotkeyMappingHelper',{singleton:true,constructor:function(){},GetGuidForCommand:function(Command){var guid;switch(Command){case Forms.Constants.HOTKEY_COMMAND.ACTIVITYSETTINGS.name:guid=Forms.Constants.HOTKEY_COMMAND.ACTIVITYSETTINGS.value;break;case Forms.Constants.HOTKEY_COMMAND.BESTFIT.name:guid=Forms.Constants.HOTKEY_COMMAND.BESTFIT.value;break;case Forms.Constants.HOTKEY_COMMAND.CANCELACTIVITY.name:guid=Forms.Constants.HOTKEY_COMMAND.CANCELACTIVITY.value;break;case Forms.Constants.HOTKEY_COMMAND.CHANGEDOCUMENTTYPE.name:guid=Forms.Constants.HOTKEY_COMMAND.CHANGEDOCUMENTTYPE.value;break;case Forms.Constants.HOTKEY_COMMAND.COLLAPSEOREXPANDTHEBOTTOMPANEL.name:guid=Forms.Constants.HOTKEY_COMMAND.COLLAPSEOREXPANDTHEBOTTOMPANEL.value;break;case Forms.Constants.HOTKEY_COMMAND.COLLAPSEOREXPANDTHECURRENTERRORPANEL.name:guid=Forms.Constants.HOTKEY_COMMAND.COLLAPSEOREXPANDTHECURRENTERRORPANEL.value;break;case Forms.Constants.HOTKEY_COMMAND.COLLAPSEOREXPANDTHELEFTSIDEPANEL.name:guid=Forms.Constants.HOTKEY_COMMAND.COLLAPSEOREXPANDTHELEFTSIDEPANEL.value;break;case Forms.Constants.HOTKEY_COMMAND.COLLAPSEOREXPANDTHERIGHTSIDEPANEL.name:guid=Forms.Constants.HOTKEY_COMMAND.COLLAPSEOREXPANDTHERIGHTSIDEPANEL.value;break;case Forms.Constants.HOTKEY_COMMAND.CREATEJOB.name:guid=Forms.Constants.HOTKEY_COMMAND.CREATEJOB.value;break;case Forms.Constants.HOTKEY_COMMAND.COMPLETEACTIVITY.name:guid=Forms.Constants.HOTKEY_COMMAND.COMPLETEACTIVITY.value;break;case Forms.Constants.HOTKEY_COMMAND.CONFIRMDOCUMENTTYPE.name:guid=Forms.Constants.HOTKEY_COMMAND.CONFIRMDOCUMENTTYPE.value;break;case Forms.Constants.HOTKEY_COMMAND.DISPLAYSTICKYNOTES.name:guid=Forms.Constants.HOTKEY_COMMAND.DISPLAYSTICKYNOTES.value;break;case Forms.Constants.HOTKEY_COMMAND.FIRSTDOCUMENT.name:guid=Forms.Constants.HOTKEY_COMMAND.FIRSTDOCUMENT.value;break;case Forms.Constants.HOTKEY_COMMAND.FIRSTFOLDER.name:guid=Forms.Constants.HOTKEY_COMMAND.FIRSTFOLDER.value;break;case Forms.Constants.HOTKEY_COMMAND.FIRSTPAGE.name:guid=Forms.Constants.HOTKEY_COMMAND.FIRSTPAGE.value;break;case Forms.Constants.HOTKEY_COMMAND.FITPAGETOHEIGHT.name:guid=Forms.Constants.HOTKEY_COMMAND.FITPAGETOHEIGHT.value;break;case Forms.Constants.HOTKEY_COMMAND.FITPAGETOWIDTH.name:guid=Forms.Constants.HOTKEY_COMMAND.FITPAGETOWIDTH.value;break;case Forms.Constants.HOTKEY_COMMAND.FORCEVALID.name:guid=Forms.Constants.HOTKEY_COMMAND.FORCEVALID.value;break;case Forms.Constants.HOTKEY_COMMAND.GOTODOCUMENTTYPE.name:guid=Forms.Constants.HOTKEY_COMMAND.GOTODOCUMENTTYPE.value;break;case Forms.Constants.HOTKEY_COMMAND.GOTOFIELDSPANEL.name:guid=Forms.Constants.HOTKEY_COMMAND.GOTOFIELDSPANEL.value;break;case Forms.Constants.HOTKEY_COMMAND.GOTOIMAGE.name:guid=Forms.Constants.HOTKEY_COMMAND.GOTOIMAGE.value;break;case Forms.Constants.HOTKEY_COMMAND.GOTONAVIGATOR.name:guid=Forms.Constants.HOTKEY_COMMAND.GOTONAVIGATOR.value;break;case Forms.Constants.HOTKEY_COMMAND.GOTOTHUMBNAILS.name:guid=Forms.Constants.HOTKEY_COMMAND.GOTOTHUMBNAILS.value;break;case Forms.Constants.HOTKEY_COMMAND.HELP.name:guid=Forms.Constants.HOTKEY_COMMAND.HELP.value;break;case Forms.Constants.HOTKEY_COMMAND.LASTDOCUMENT.name:guid=Forms.Constants.HOTKEY_COMMAND.LASTDOCUMENT.value;break;case Forms.Constants.HOTKEY_COMMAND.LASTFOLDER.name:guid=Forms.Constants.HOTKEY_COMMAND.LASTFOLDER.value;break;case Forms.Constants.HOTKEY_COMMAND.LASTPAGE.name:guid=Forms.Constants.HOTKEY_COMMAND.LASTPAGE.value;break;case Forms.Constants.HOTKEY_COMMAND.MERGEDOCUMENT.name:guid=Forms.Constants.HOTKEY_COMMAND.MERGEDOCUMENT.value;break;case Forms.Constants.HOTKEY_COMMAND.NEXTDOCUMENT.name:guid=Forms.Constants.HOTKEY_COMMAND.NEXTDOCUMENT.value;break;case Forms.Constants.HOTKEY_COMMAND.NEXTFOLDER.name:guid=Forms.Constants.HOTKEY_COMMAND.NEXTFOLDER.value;break;case Forms.Constants.HOTKEY_COMMAND.NEXTINVALIDFIELD.name:guid=Forms.Constants.HOTKEY_COMMAND.NEXTINVALIDFIELD.value;break;case Forms.Constants.HOTKEY_COMMAND.NEXTNOTVERIFIEDFIELD.name:guid=Forms.Constants.HOTKEY_COMMAND.NEXTNOTVERIFIEDFIELD.value;break;case Forms.Constants.HOTKEY_COMMAND.NEXTPAGE.name:guid=Forms.Constants.HOTKEY_COMMAND.NEXTPAGE.value;break;case Forms.Constants.HOTKEY_COMMAND.NEXTPROBLEM.name:guid=Forms.Constants.HOTKEY_COMMAND.NEXTPROBLEM.value;break;case Forms.Constants.HOTKEY_COMMAND.NEXTTAB.name:guid=Forms.Constants.HOTKEY_COMMAND.NEXTTAB.value;break;case Forms.Constants.HOTKEY_COMMAND.ONLINELEARNING.name:guid=Forms.Constants.HOTKEY_COMMAND.ONLINELEARNING.value;break;case Forms.Constants.HOTKEY_COMMAND.OVERRIDEPROBLEM.name:guid=Forms.Constants.HOTKEY_COMMAND.OVERRIDEPROBLEM.value;break;case Forms.Constants.HOTKEY_COMMAND.PREVIOUSDOCUMENT.name:guid=Forms.Constants.HOTKEY_COMMAND.PREVIOUSDOCUMENT.value;break;case Forms.Constants.HOTKEY_COMMAND.PREVIOUSFOLDER.name:guid=Forms.Constants.HOTKEY_COMMAND.PREVIOUSFOLDER.value;break;case Forms.Constants.HOTKEY_COMMAND.PREVIOUSPAGE.name:guid=Forms.Constants.HOTKEY_COMMAND.PREVIOUSPAGE.value;break;case Forms.Constants.HOTKEY_COMMAND.PREVIOUSPROBLEM.name:guid=Forms.Constants.HOTKEY_COMMAND.PREVIOUSPROBLEM.value;break;case Forms.Constants.HOTKEY_COMMAND.PREVIOUSTAB.name:guid=Forms.Constants.HOTKEY_COMMAND.PREVIOUSTAB.value;break;case Forms.Constants.HOTKEY_COMMAND.REJECTDOCUMENT.name:guid=Forms.Constants.HOTKEY_COMMAND.REJECTDOCUMENT.value;break;case Forms.Constants.HOTKEY_COMMAND.RESTOREPROBLEM.name:guid=Forms.Constants.HOTKEY_COMMAND.RESTOREPROBLEM.value;break;case Forms.Constants.HOTKEY_COMMAND.ROTATEDISPLAYEDIMAGE180.name:guid=Forms.Constants.HOTKEY_COMMAND.ROTATEDISPLAYEDIMAGE180.value;break;case Forms.Constants.HOTKEY_COMMAND.ROTATEDISPLAYEDIMAGELEFT.name:guid=Forms.Constants.HOTKEY_COMMAND.ROTATEDISPLAYEDIMAGELEFT.value;break;case Forms.Constants.HOTKEY_COMMAND.ROTATEDISPLAYEDIMAGERIGHT.name:guid=Forms.Constants.HOTKEY_COMMAND.ROTATEDISPLAYEDIMAGERIGHT.value;break;case Forms.Constants.HOTKEY_COMMAND.SCANALLSHEETSORIMPORTFILES.name:guid=Forms.Constants.HOTKEY_COMMAND.SCANALLSHEETSORIMPORTFILES.value;break;case Forms.Constants.HOTKEY_COMMAND.SCANONESHEET.name:guid=Forms.Constants.HOTKEY_COMMAND.SCANONESHEET.value;break;case Forms.Constants.HOTKEY_COMMAND.SETFIELDTONOTVERIFIED.name:guid=Forms.Constants.HOTKEY_COMMAND.SETFIELDTONOTVERIFIED.value;break;case Forms.Constants.HOTKEY_COMMAND.SPLITDOCUMENT.name:guid=Forms.Constants.HOTKEY_COMMAND.SPLITDOCUMENT.value;break;case Forms.Constants.HOTKEY_COMMAND.VIEWORCHANGESCANSETTINGS.name:guid=Forms.Constants.HOTKEY_COMMAND.VIEWORCHANGESCANSETTINGS.value;break;case Forms.Constants.HOTKEY_COMMAND.ZOOMIN.name:guid=Forms.Constants.HOTKEY_COMMAND.ZOOMIN.value;break;case Forms.Constants.HOTKEY_COMMAND.ZOOMOUT.name:guid=Forms.Constants.HOTKEY_COMMAND.ZOOMOUT.value;break;case Forms.Constants.HOTKEY_COMMAND.REJECTPAGE.name:guid=Forms.Constants.HOTKEY_COMMAND.REJECTPAGE.value;break;case Forms.Constants.HOTKEY_COMMAND.COMPLETEANDTAKENEXTACTIVITY.name:guid=Forms.Constants.HOTKEY_COMMAND.COMPLETEANDTAKENEXTACTIVITY.value;break;case Forms.Constants.HOTKEY_COMMAND.ROTATEVIEWDISPLAYEDPAGELEFT.name:guid=Forms.Constants.HOTKEY_COMMAND.ROTATEVIEWDISPLAYEDPAGELEFT.value;break;case Forms.Constants.HOTKEY_COMMAND.ROTATEVIEWDISPLAYEDPAGERIGHT.name:guid=Forms.Constants.HOTKEY_COMMAND.ROTATEVIEWDISPLAYEDPAGERIGHT.value;break;case Forms.Constants.HOTKEY_COMMAND.ROTATEVIEWDISPLAYEDPAGE180.name:guid=Forms.Constants.HOTKEY_COMMAND.ROTATEVIEWDISPLAYEDPAGE180.value;break;case Forms.Constants.HOTKEY_COMMAND.REVERTVIEWROTATION.name:guid=Forms.Constants.HOTKEY_COMMAND.REVERTVIEWROTATION.value;break;case Forms.Constants.HOTKEY_COMMAND.SHOWPAGESOURCEIMAGE.name:guid=Forms.Constants.HOTKEY_COMMAND.SHOWPAGESOURCEIMAGE.value;break;case Forms.Constants.HOTKEY_COMMAND.SHOWRENDITIONIMAGE1.name:guid=Forms.Constants.HOTKEY_COMMAND.SHOWRENDITIONIMAGE1.value;break;case Forms.Constants.HOTKEY_COMMAND.SHOWRENDITIONIMAGE2.name:guid=Forms.Constants.HOTKEY_COMMAND.SHOWRENDITIONIMAGE2.value;break;case Forms.Constants.HOTKEY_COMMAND.SHOWRENDITIONIMAGE3.name:guid=Forms.Constants.HOTKEY_COMMAND.SHOWRENDITIONIMAGE3.value;break;case Forms.Constants.HOTKEY_COMMAND.SHOWRENDITIONIMAGE4.name:guid=Forms.Constants.HOTKEY_COMMAND.SHOWRENDITIONIMAGE4.value;break;case Forms.Constants.HOTKEY_COMMAND.SHOWRENDITIONIMAGE5.name:guid=Forms.Constants.HOTKEY_COMMAND.SHOWRENDITIONIMAGE5.value;break;case Forms.Constants.HOTKEY_COMMAND.NEXTREJECTEDDOCPAGE.name:guid=Forms.Constants.HOTKEY_COMMAND.NEXTREJECTEDDOCPAGE.value;break;case Forms.Constants.HOTKEY_COMMAND.PREVIOUSREJECTEDDOCPAGE.name:guid=Forms.Constants.HOTKEY_COMMAND.PREVIOUSREJECTEDDOCPAGE.value;break;case Forms.Constants.HOTKEY_COMMAND.REPLACEPAGE.name:guid=Forms.Constants.HOTKEY_COMMAND.REPLACEPAGE.value;break;case Forms.Constants.HOTKEY_COMMAND.LASSOZOOM.name:guid=Forms.Constants.HOTKEY_COMMAND.LASSOZOOM.value;break;case Forms.Constants.HOTKEY_COMMAND.LASSOZOOMLOCK.name:guid=Forms.Constants.HOTKEY_COMMAND.LASSOZOOMLOCK.value;break;case Forms.Constants.HOTKEY_COMMAND.GETSOURCEFILE.name:guid=Forms.Constants.HOTKEY_COMMAND.GETSOURCEFILE.value;break;case Forms.Constants.HOTKEY_COMMAND.INSERTPAGES.name:guid=Forms.Constants.HOTKEY_COMMAND.INSERTPAGES.value;break;case Forms.Constants.HOTKEY_COMMAND.TOGGLETOFROMVIRTUALFIELD.name:guid=Forms.Constants.HOTKEY_COMMAND.TOGGLETOFROMVIRTUALFIELD.value;break;} return guid;}});Ext.define('Forms.MessageHelper',{singleton:true,Display:function(text,fnc){if(text){text=text.toString();} else{text='';} var me=this;if(Forms.Common.Common.canAccessWindowParent()&&window.parent!=window.self){if(window.parent.Ext){window.parent.Ext.Msg.show({title:'Kofax TotalAgility',msg:this.EncodeText(text),message:this.EncodeText(text),scope:this,buttons:Ext.MessageBox.OK,listeners:{'painted':function(){me.SetMessageBoxHeight(this);}},fn:fnc});} else{me.DisplayMessageBox(text,fnc);}} else{me.DisplayMessageBox(text,fnc);}},DisplayAlert:function(title,text,fnc){if(title){title=title.toString();} else{title='';} if(text){text=text.toString();} else{text='';} var me=this;if(Forms.Common.Common.canAccessWindowParent()&&window.parent!=window.self){if(window.parent.Ext){window.parent.Ext.Msg.show({title:title,msg:this.EncodeText(text),message:this.EncodeText(text),scope:this,buttons:Ext.MessageBox.OK,listeners:{'painted':function(){}}});} else{me.DisplayMessageBox1(title,text,fnc);}} else{me.DisplayMessageBox1(title,text,fnc);}},DisplayMessageBox:function(text,fnc){var me=this;if(text){text=text.toString();} else{text='';} Ext.Msg.show({title:'Kofax TotalAgility',msg:this.EncodeText(text),message:this.EncodeText(text),scope:this,buttons:Ext.MessageBox.OK,listeners:{'painted':function(){me.SetMessageBoxHeight(this);}},fn:fnc});},DisplayMessageBox1:function(title,text,fnc){var me=this;if(text){text=text.toString();} else{text='';} msgBox=Ext.Msg;msgBox.show({title:title,msg:this.EncodeText(text),message:this.EncodeText(text),scope:this,closable:false,buttons:Ext.MessageBox.OK,listeners:{'painted':function(){me.SetMessageBoxHeight(this);}},fn:fnc});if(Ext.isIE){msgBox.focus(false,15);}},Confirm:function(title,text,value){if(text){text=text.toString();} else{text='';} var me=this;if(Forms.Common.Common.canAccessWindowParent()&&window.parent!=window.self){window.parent.Ext.Msg.show({title:title,message:this.EncodeText(text),msg:this.EncodeText(text),buttons:Ext.MessageBox.YESNO,promptConfig:false,scope:this,fn:value,listeners:{'painted':function(){me.SetMessageBoxHeight(this);}}});} else{Ext.Msg.show({title:title,message:this.EncodeText(text),msg:this.EncodeText(text),buttons:Ext.MessageBox.YESNO,promptConfig:false,scope:this,fn:value,listeners:{'painted':function(){me.SetMessageBoxHeight(this);}}});}},SetMessageBoxHeight:function(msgBox) {},GetErrorCodeFromServiceResult:function(serviceResult){var errorCode='';try{errorCode=JSON.parse(serviceResult.responseText).ErrorCode;} catch(err){errorCode=serviceResult.responseText;} return errorCode;},GetMessageFromServiceResult:function(serviceResult){var errorMsg='';try{errorMsg=JSON.parse(serviceResult.responseText).Message;} catch(err){errorMsg=serviceResult.responseText;} return errorMsg;},ExtractDocServicesError:function(serviceResult){var docServicesError=null;var tcBundleMarker="||";if(serviceResult!=undefined){if(serviceResult.responseText.indexOf(tcBundleMarker)>-1){var message=this.GetMessageFromServiceResult(serviceResult);var firstMarker=message.indexOf(tcBundleMarker),lastMarker=message.lastIndexOf(tcBundleMarker);if(firstMarker!==-1&&lastMarker!==firstMarker){docServicesError=message.substring(firstMarker+tcBundleMarker.length,lastMarker);}}} return docServicesError;},ExtractErrorMesssage:function(serviceResult,useStatus){var errorMsg='';if(serviceResult!=undefined){if(serviceResult.responseText.indexOf("||")>-1){if(kofax&&kofax.utils){return kofax.utils.expandTcBundleKeyAndArgs(this.GetMessageFromServiceResult(serviceResult));}} if(useStatus===true){errorMsg=serviceResult.statusText+" "+serviceResult.status+" "+this.GetMessageFromServiceResult(serviceResult);} else{errorMsg=this.GetMessageFromServiceResult(serviceResult);}} return errorMsg;},showMessageBox:function(title,msg,icon,buttonObject,functionMap,configs,delay){if(typeof functionMap=="undefined"||functionMap==null){functionMap={ok:Ext.emptyFn,yes:Ext.emptyFn,no:Ext.emptyFn,cancel:Ext.emptyFn};} var tempConfig={title:title,msg:this.EncodeText(msg),icon:icon,closable:true,closeAction:'hide',fn:function(btnId){Ext.Msg.hide();var functionToCall=functionMap[btnId];if(functionToCall){functionToCall.call();}}};if(Forms.Common.Common.IsSenchaTouch()) {Forms.MessageHelper.Display(msg,function(){var getSesssion=Forms.Common.Common.GetSessionTimeout();if(getSesssion){Ext.Msg.hide();getSesssion.keepSessionAlive();}});} else{if(Ext.isNumber(buttonObject)){tempConfig.buttons=buttonObject;} else if(Ext.isArray(buttonObject)){tempConfig.buttonText=buttonObject;} for(var k in tempConfig)configs[k]=tempConfig[k];Ext.Msg.show(configs);if(delay==undefined){Ext.Msg.focus();} else{Ext.Msg.focus(false,delay);} return Ext.Msg;}},DisplayConfirmation:function(title,text,value){if(title){title=title.toString();} else{title='';} if(text){text=text.toString();} else{text='';} var me=this;if(Forms.Common.Common.canAccessWindowParent()&&window.parent!=window.self){window.parent.Ext.Msg.show({title:title,message:this.EncodeText(text),msg:this.EncodeText(text),buttons:Ext.MessageBox.YESNO,promptConfig:false,closable:false,scope:this,fn:value,listeners:{'painted':function(){me.SetMessageBoxHeight(this);}}});} else{Ext.Msg.show({title:title,message:this.EncodeText(text),msg:this.EncodeText(text),buttons:Ext.MessageBox.YESNO,promptConfig:false,closable:false,scope:this,fn:value,listeners:{'painted':function(){me.SetMessageBoxHeight(this);}}});}},DisplayPrompt:function(title,promptText,fnc,multiline,defaultInput){if(title){title=title.toString();} else{title='';} if(promptText){promptText=promptText.toString();} else{promptText='';} var me=this;var config={};if(multiline==true){config={title:title,message:this.EncodeText(promptText),buttons:Ext.MessageBox.OKCANCEL,closable:false,scope:this,multiline:multiline,multiLine:multiline,value:defaultInput,fn:fnc,listeners:{'painted':function(){me.SetMessageBoxHeight(this);}}}} else{config={title:title,message:this.EncodeText(promptText),buttons:Ext.MessageBox.OKCANCEL,closable:false,scope:this,value:defaultInput,fn:fnc,prompt:true,listeners:{'painted':function(){me.SetMessageBoxHeight(this);}}}} if(Forms.Common.Common.canAccessWindowParent()&&window.parent!=window.self){window.parent.Ext.Msg.show(config);} else{Ext.Msg.show(config);}},EncodeText:function(text){var tempGuid=Forms.Common.Common.GenerateGUID();var escapeText=text.replace(//g,tempGuid).replace(/
/g,tempGuid);var encodedText=Forms.Common.Common.applyHtmlEncode(escapeText);while(encodedText.match(tempGuid)){encodedText=encodedText.replace(tempGuid,'
');} return encodedText;}});Ext.define('Forms.MobileControlManager',{config:{controlArray:[],overWriteDuplicates:{},associativeArray:{}},constructor:function(){this.controlArray=new Array();this.overWriteDuplicates=true;this.associativeArray=new Object();},addControlToCollection:function(control){if(this.overWriteDuplicates==true){if(this.controlArray!=undefined&&this.controlArray.length>0){for(i=0;i0){for(var i=0;i1){control=control.getTabItemByName(controlName.split('.')[1]);} return control;},getName:function(controlName){return controlName.split('.')[0];},createTile:function(controlName,controlId,config){config=config?config:{};config=Ext.merge({id:controlId,name:controlName.toString()},config);var tile=Ext.create('Forms.MobileControls.Standard.Tile',config);this.addControlToCollection(tile);return tile;},createToolBar:function(controlName,controlId,config){config=config?config:{} config=Ext.merge({id:controlId,name:controlName.toString()},config);var toolBar=Ext.create('Forms.MobileControls.Standard.ToolBar',config);this.addControlToCollection(toolBar);return toolBar;},createToolBarMenuItem:function(controlName,controlId,config){config=config?config:{} config=Ext.merge({id:controlId,name:controlName.toString()},config);var btn=Ext.create('Forms.MobileControls.Standard.ToolBarMenuItem',config);this.addControlToCollection(btn);return btn;},createToolBarButton:function(controlName,controlId,config){config=config?config:{} config=Ext.merge({id:controlId,name:controlName.toString()},config);var btn=Ext.create('Forms.MobileControls.Standard.ToolBarButton',config);this.addControlToCollection(btn);return btn;},createButton:function(controlName,controlId){var btn=Ext.create('Forms.MobileControls.Standard.Button',{id:controlId,name:controlName.toString()});this.addControlToCollection(btn);return btn;},createNumericTextBox:function(controlName,currencySymbol){var txtBox=Ext.create('Forms.MobileControls.Standard.NumericText',{name:controlName.toString(),currencySymbol:currencySymbol?currencySymbol:null});this.addControlToCollection(txtBox);return txtBox;},createTextBox:function(controlName,mask){var config={};var pluginArray=[];if(mask!==null&&mask!==undefined){var maskPlugin=new Forms.MobileControls.Standard.InputMask(mask);pluginArray.push(maskPlugin);} config.plugins=pluginArray;config.name=controlName.toString();config.usingMask=!Ext.isEmpty(mask);var txtBox=Ext.create('Forms.MobileControls.Standard.TextBox',config);this.addControlToCollection(txtBox);return txtBox;},createTextArea:function(controlName,mask){var config={};var pluginArray=[];if(mask!==null&&mask!==undefined){var maskPlugin=new Forms.MobileControls.Standard.InputMask(mask);pluginArray.push(maskPlugin);} config.plugins=pluginArray;config.name=controlName.toString();config.usingMask=!Ext.isEmpty(mask);var txtBox=Ext.create('Forms.MobileControls.Standard.TextArea',config);this.addControlToCollection(txtBox);return txtBox;},createEmailControl:function(controlName){var email=Ext.create('Forms.MobileControls.Standard.Email',{name:controlName.toString()});this.addControlToCollection(email);return email;},createPasswordControl:function(controlName){var password=Ext.create('Forms.MobileControls.Standard.Password',{name:controlName.toString()});this.addControlToCollection(password);return password;},createUrlControl:function(controlName){var url=Ext.create('Forms.MobileControls.Standard.Url',{name:controlName.toString()});this.addControlToCollection(url);return url;},createHorizontalRule:function(controlName){var horizontalRule=Ext.create('Forms.MobileControls.Standard.HorizontalRule',{name:controlName.toString()});this.addControlToCollection(horizontalRule);return horizontalRule;},createLabel:function(controlName,id,formName,headerSize,displayDateWithoutTime){var label=Ext.create('Forms.MobileControls.Standard.Label',{name:controlName.toString(),headerSize:headerSize,displayDateWithoutTime:displayDateWithoutTime});this.addControlToCollection(label);return label;},createCheckBox:function(controlName){var checkBox=Ext.create('Forms.MobileControls.Standard.Checkbox',{name:controlName.toString()});this.addControlToCollection(checkBox);return checkBox;},createDropDownList:function(controlName,dataArray,headerColumns,val){var itemCollection=Ext.create('Ext.data.Store',{fields:headerColumns,data:dataArray});var dropDownList=Ext.create('Forms.MobileControls.Standard.Dropdown',{name:controlName.toString(),queryMode:'local',displayField:headerColumns[0],valueField:headerColumns[1],store:itemCollection,});this.addControlToCollection(dropDownList);return dropDownList;},createCalendarControl:function(controlName,config){config=Ext.apply({name:controlName.toString(),},config);var calendarControl=Ext.create('Forms.MobileControls.Standard.Calendar',config);this.addControlToCollection(calendarControl);return calendarControl;},createCanvasControl:function(controlName){var canvas=Ext.create('Forms.MobileControls.Standard.Canvas',{id:controlName,name:controlName});this.addControlToCollection(canvas);return canvas;},createImageControl:function(controlName,controlID){var imageControl=Ext.create('Forms.MobileControls.Standard.Image',{id:controlID,name:controlName.toString(),listeners:{el:{click:function(ev){ev.preventDefault();imageControl.onClickEventHandler();}}},});this.addControlToCollection(imageControl);return imageControl;},createHorizontalRule:function(controlName){var horizontalRule=Ext.create('Forms.MobileControls.Standard.HorizontalRule',{name:controlName.toString()});this.addControlToCollection(horizontalRule);return horizontalRule;},createHyperlinkControl:function(controlName){var hyperlinkControl=Ext.create('Forms.MobileControls.Standard.Hyperlink',{name:controlName.toString(),listeners:{initialize:function(ct){ct.element.on('tap',function(){hyperlinkControl.onClickEventHandler();});}}});this.addControlToCollection(hyperlinkControl);return hyperlinkControl;},createRadioButtonListControl:function(controlName,items,vertical,labelText,panelLayout,controlId){var radioButtonListControl;if(vertical){radioButtonListControl=Ext.create('Forms.MobileControls.Standard.RadioButtonList',{id:controlId,name:controlName.toString(),radioItems:items,label:labelText,mainLayout:panelLayout,itemsLayout:'vbox'});} else{radioButtonListControl=Ext.create('Forms.MobileControls.Standard.RadioButtonList',{id:controlId,name:controlName.toString(),radioItems:items,label:labelText,mainLayout:panelLayout,itemsLayout:'hbox'});} radioButtonListControl.name=controlName.toString();this.addControlToCollection(radioButtonListControl);return radioButtonListControl;},createTable:function(controlName,autofit,columns,id,theStore,ignorelocaleheadercolumn,isMultipleSelect,allowAdd,allowModify,useFlex,customActionMenus,disableAutoCorrection,controlConfig){var tableControl=null;var checkBoxSelMod=null;var config={};if(theStore==undefined){var fields=[];for(var i=0;i20){} col.setFlex(colFlex);} else{col.setWidth(columns[i].Width);}} if(!(columnType=='Ext.grid.column.Check'||columnType=='Ext.grid.column.Date')){col.setRenderer(function(val,meta,record){Forms.Common.Common.ApplyTooltipForTableColumn(val,meta);if(val instanceof Date){if(this.displayDateWithoutTime){return Ext.Date.format(val,Forms.Common.Common.GetDateFormat());} else{return Ext.Date.format(val,Forms.Common.Common.GetDateTimeFormat());}} return Ext.util.Format.htmlEncode(val)});} if(!col.style){col.style={};} if(columnType=='Ext.grid.column.Date'){col.ignoreServerTimeZoneConversion=columns[i].IgnoreServerTimeZoneConversion;} Ext.override(Ext.field.Checkbox,{getSubmitValue:function(){if(this.dType=="Int16"||this.dType=="Int32"){return this.getChecked()==false||null?0:1;} else return this.getChecked();},});Ext.override(Ext.grid.cell.Number,{writeValue:function(){var me=this;var table=this.up('grid.grid');if(table){for(var columns=0;columns';} else{return'';} return'';} else{if(this.imagePath){if(this.imagePath.indexOf('://')>-1){if((val!=null&&val!="")&&val!=this.imagePath){return'';} else{return'';}}} if(this.imagePath.indexOf('/')==-1){if((val!=null&&val!="")&&val!=this.imagePath){return'';} else{return'';}}} return'';} else{return''+Ext.util.Format.htmlEncode(val)+'';}});var textEditor=Ext.create('Forms.MobileControls.Standard.TextBox',{value:'',label:columns[i].Title,name:columns[i].Title});col.setEditor(textEditor);break;case'Image':col.imagePath=columns[i].ImagePath;col.loadFromStore=columns[i].LoadFromStore;col.setRenderer(function(val,meta,rec,rowIndex,colIndex){var formsLocation=Forms.Common.Common.GetFormsLocation()+'/Forms/';var deployedImagesLocation=Forms.Common.Common.GetFormsLocation()+'/DeployedImages/';if(!val){val=this.imagePath;} if(val){if(this.loadFromStore){return'';} else{if(val){if(val.indexOf('://')>-1) return'';if(val.indexOf('/')==-1) return'';} return'';}}});col.setEditor(Ext.create('Forms.MobileControls.Standard.TextBox',{value:columns[i].ImagePath,label:columns[i].Title,name:columns[i].Title}));break;case'Drop-down':var data=[];var defaultvalue='';var hintText='';if(columns[i].StaticData){for(var p=0;p0){var formToInitialize;var newFormClassName=Forms.FormCacheHelper.formatClassName(formInfo.className);Forms.NavigationViewHelper.SetPreviousItem(navigationView);for(var itemCount=0;itemCount1){var formToInitialize;var previousNavView=navigationView.getPreviousViewItem();if(previousNavView.id==Forms.Constants.MainContainerId){formToInitialize=Forms.NavigationViewHelper.GetMainContainerForm();} else{formToInitialize=previousNavView;} Forms.Common.Common.PushFormHistory(loadedFormUrl);Forms.NavigationViewHelper.SetPreviousItem(navigationView);Forms.NavigationViewHelper.SetActiveItem(navigationView,formToInitialize);Forms.NavigationViewHelper.PushCurrentViewFormToHistory(navigationView,form.$className);}} else{var previousFormUrl=Forms.Common.Common.GetPopFormHistory();var newFormName=Forms.FormCacheHelper.extractFormName(previousFormUrl);if(newFormName!=""&&newFormName!=null){var formAlreadyExists=this.CheckItemExistinNavigationViewItems(newFormName,form);if(!formAlreadyExists){this.RedirecttoNewNavigationUsingBreadCrumb(newFormName);} else{Forms.NavigationViewHelper.PushCurrentViewFormToHistory(navigationView,form.$className);}}}}},RedirectToNewNavigationView:function(form){if(Forms.Common.Common.getUseBreadcrumbTrail()===false){var previousFormUrl=Forms.Common.Common.GetPreviousFormUrl();var newFormName=Forms.FormCacheHelper.extractFormName(previousFormUrl);if(newFormName!=""&&newFormName!=null){var onSuccessCallback=function(formObject){Forms.NavigationViewHelper.PushToNavigationView(thisForm,formObject,true);} var redirectController=Ext.create('Forms.RedirectController',{});redirectController.getTargetFormByName(onSuccessCallback,newFormName,'',Forms.NavigationViewHelper.GetNavigationView(thisForm));}} else{var previousFormUrl=Forms.Common.Common.GetPopFormHistory();this.RedirecttoNewNavigationUsingBreadCrumb(previousFormUrl);}},GetMainContainerForm:function(){var formContainer=Ext.getCmp(Forms.Constants.MainCardLayoutId);var currentItems=formContainer.items;var currentForm=currentItems.first();return currentForm;},SetActiveItem:function(navigationView,formToInitialize){formToInitialize.fireEvent('OnInitialiseForm',formToInitialize,null);formToInitialize.fireEvent('form_updated',formToInitialize,null);navigationView.setActiveItem(formToInitialize);},SetPreviousItem:function(navigationView){var currentActiveItem=navigationView.getActiveItem();if(currentActiveItem!=undefined&¤tActiveItem!=null){navigationView.setPreviousViewItem(currentActiveItem);}},PushCurrentViewFormToHistory:function(navigationView,formName){var urluptoFormsDirectory=GetURLUptoBaseDirectory()+((FORMSROOTFOLDER)?"/"+FORMSROOTFOLDER+"/":"/");var siteName=Forms.Common.Common.GetSiteName(window.location.href);var currentformURL='';if(siteName!=''){currentformURL=urluptoFormsDirectory+siteName+"/"+formName+Forms.Constants.FORM_FILE_EXTENSION;} else{currentformURL=urluptoFormsDirectory+formName+Forms.Constants.FORM_FILE_EXTENSION;} Forms.Common.Common.UpdateSessionStorageForWindow(Forms.Constants.FORM_REFERRER,currentformURL);},CheckItemExistinNavigationViewItems:function(previousFormUrl,form){if(previousFormUrl&&previousFormUrl.indexOf(Forms.Constants.FORM_FILE_EXTENSION)>0){previousFormUrl=previousFormUrl.substring(0,previousFormUrl.indexOf(Forms.Constants.FORM_FILE_EXTENSION));} var navigationView=Forms.NavigationViewHelper.GetNavigationView(form);var navigationViewItems=navigationView.getInnerItems();if(navigationViewItems.length>0){var formToInitialize;var newFormClassName=Forms.FormCacheHelper.formatClassName(previousFormUrl);Forms.NavigationViewHelper.SetPreviousItem(navigationView);for(var itemCount=0;itemCount0){this.count--;} if(this.count===0){if(Forms.Common.Common.IsSenchaTouch()){this.showHideMaskForTouchForms(false);} else{if(this.myMask){this.myMask.hide();this.myMask.setStyle('cursor','default');}} this.isFormBusy=false;window.removeEventListener('keydown',this.preventKeyPresses,false);}},preventKeyPresses:function(e){e.preventDefault();e.stopPropagation();},showHideMaskForTouchForms:function(show){if(Ext.Viewport!=undefined){var loadMask=Ext.Viewport.getMasked();if(loadMask==null||loadMask.getId()!="ktaLoadMask"){loadMask=Ext.create('Ext.LoadMask',{id:'ktaLoadMask',message:''});} if(show){Ext.Viewport.mask(loadMask);} else{Ext.Viewport.unmask(loadMask);}}},});Ext.define('Forms.RedirectConfirmation',{config:{confirmationRequired:false,ignoreRedirectConfirmation:true,onErrorRedirect:false,fromRedirectAction:false},constructor:function(){var me=this;me.setConfirmationRequired(false);me.setIgnoreRedirectConfirmation(false);me.setOnErrorRedirect(false);me.setFromRedirectAction(false);if(!Ext.isDefined(Ext.field.Field)){Ext.getWin().on('beforeunload',me.ProcessBeforeUnload,this,{normalized:false});} else{$(window).on('beforeunload',function(){if(me.VerifyRedirect(false)&&me.getConfirmationRequired()){return(' ');}});} $(window).on('unload',function(){if(me.getConfirmationRequired()==true&&me.getIgnoreRedirectConfirmation()==false){if(loadedFormUrl){Forms.Common.Common.UpdateSessionStorageForWindow(Forms.Constants.FORM_REFERRER,loadedFormUrl);} if(Forms.Common.Common.IsSenchaTouch()&&Forms.Common.Common.getUseBreadcrumbTrail()===false&&loadedFormUrl){Forms.Common.Common.PushFormHistory(loadedFormUrl);}} if(me.getIgnoreRedirectConfirmation()==false){me.CancelActivity();Forms.Common.Common.CallCleanupOnCurrentForm();}});},ProcessBeforeUnload:function(e){if(this.VerifyRedirect(false)&&this.getConfirmationRequired()){if(e&&e.browserEvent)e.browserEvent.returnValue=' ';return'';}},initialize:function(){},VerifyRedirect:function(requestUserVerification,form){var redirectVerified=false;if(this.getConfirmationRequired()){if(requestUserVerification==false){if(this.getFromRedirectAction()){if(this.getIgnoreRedirectConfirmation()==false){redirectVerified=true;}} else{redirectVerified=true;}} else{if(requestUserVerification){if(this.getIgnoreRedirectConfirmation()==false){if(!navigator.userAgent.toLowerCase().match(/iphone|ipod|ipad/)){redirectVerified=this.ConfirmationDialog();} else{redirectVerified=true;} if(redirectVerified){if(this.getFromRedirectAction()==false||this.getIgnoreRedirectConfirmation()==false){this.CancelActivity();}} else{if(Forms.Common.Common.getUseBreadcrumbTrail()===true){var formCache=Forms.Common.Common.GetFormCache();if(formCache!=null){formCache.addLastPoppedFormToHistory();}}}} else{this.setIgnoreRedirectConfirmation(true);this.setFromRedirectAction(false);return true;}}}} else if(this.getFromRedirectAction()==false&&redirectVerified==false&&this.getOnErrorRedirect()==false){this.CancelActivity(true,form);return true;} else if(requestUserVerification){redirectVerified=true;} this.setOnErrorRedirect(false);this.setFromRedirectAction(false);return redirectVerified;},SetConfirmationRequired:function(required){var me=this;me.setConfirmationRequired(required);},FromRedirectAction:function(fromRedirectAction){var me=this;me.setFromRedirectAction(fromRedirectAction);},CancelActivity:function(redirectExternalSource,form){var formContainer=Ext.getCmp(Forms.Constants.MainCardLayoutId);if(formContainer!=null&&(this.getConfirmationRequired()==true||redirectExternalSource==true)){var currentItems=formContainer.items;var parentForm=currentItems.first();Forms.Common.Common.setIsWebWorkerEnabled(false);if(Forms.Common.Common.IsSenchaTouch()){if(currentItems.length==0&&form){parentForm=form.getNavigationView().getActiveItem();} if(Forms.Common.Common.IsCurrentView(parentForm)){var navigationView=Forms.NavigationViewHelper.GetNavigationView(parentForm);if(navigationView!=null){var currentForm=navigationView.getActiveItem();isActivityForm=currentForm.getIsActivityForm();}} else{isActivityForm=parentForm.getIsActivityForm();}} else{var isActivityForm=parentForm.isActivityForm;if(parentForm.isCaptureForm&&parentForm.getFormVariables().getFormVariableByName('BatchId')!=undefined){this.CallUnloadBatch(parentForm);}} if(isActivityForm==true){this.CallCancelActivity();}}},CancelCaptureActivity:function(){var formContainer=Ext.getCmp(Forms.Constants.MainCardLayoutId);if(formContainer!=null){var currentItems=formContainer.items;var parentForm=currentItems.first();Forms.Common.Common.setIsWebWorkerEnabled(false);var isActivityForm=parentForm.isActivityForm;if(parentForm.isCaptureForm&&parentForm.getFormVariables().getFormVariableByName('BatchId')!=undefined){this.CallUnloadBatch(parentForm);} if(isActivityForm==true){this.CallCancelActivity();}}},CallUnloadBatch:function(parentForm){function UnloadBatchSucceeded(d){} var unloadBatchFailed=function(serviceResult,userData){try{var ErrMsg=JSON.parse(serviceResult.responseText).Message;if(ErrMsg!='||'+Forms.Constants.DOCUMENT_SERVICES_ERRORS.SESSION_NOT_VALID.name+'||'){Forms.MessageHelper.Display(errMsg);}}catch(err){if(serviceResult.status==null||serviceResult.status==undefined){var errorMessage=Forms.Common.Lang.GetLocaleString('ff9443378894487484bc363b88d81438',true);Forms.MessageHelper.Display(errMsg);}else{var errMsg='Service Call Failed: '+serviceResult.status+' - '+serviceResult.statusText;Forms.MessageHelper.Display(errMsg);}}};var batchId=parentForm.getFormVariables().getFormVariableByName('BatchId').value;var captureRuntimeService=Ext.create('Forms.Custom.ServiceCalls.CaptureRuntimeService',{});if(parentForm.isSCNJForm){captureRuntimeService.UnloadBatch(UnloadBatchSucceeded,Forms.Common.Common.GetSessionID(),batchId,null,1,false,unloadBatchFailed,true);}else{captureRuntimeService.UnloadBatch(UnloadBatchSucceeded,Forms.Common.Common.GetSessionID(),batchId,null,0,false,unloadBatchFailed,true);}},CallCancelActivity:function(){function CancelActivitySucceeded(d){} var sppEPC=Forms.SessionVariables.getSessionVariable('EPC');var sppNodeId=Forms.SessionVariables.getSessionVariable('NODE_ID');var sppJobId=Forms.SessionVariables.getSessionVariable('JOB_ID');var jobActivityIdentity=Ext.create('Forms.Custom.Classes.JobActivityIdentity',{});jobActivityIdentity.setJobId(sppJobId);jobActivityIdentity.setNodeId(sppNodeId);jobActivityIdentity.setEmbeddedProcessCount(sppEPC);var activityService=Ext.create('Forms.Custom.ServiceCalls.ActivityService',{});activityService.CancelActivity(CancelActivitySucceeded,Forms.Common.Common.GetSessionID(),jobActivityIdentity,null,null,false,true);},ConfirmationDialog:function(){var text;if(Ext.isIE||Ext.isChrome){text=Forms.Common.Lang.GetLocaleString('391F2C2DBB6542DCBD8FFE6905D126A1',true);} else if(Ext.isGecko) {text=Forms.Common.Lang.GetLocaleString('25F9B0FF2BCE4DEA91D6CF3FFA56AC8D',true);} else {text=Forms.Common.Lang.GetLocaleString('391F2C2DBB6542DCBD8FFE6905D126A1',true);} return confirm(text);}});Ext.define('Forms.RedirectController',{config:{onSucceedCallback:{},fileName:'',queryString:'',navigationView:null},constructor:function(config){var me=this;me.callParent(arguments);},initialize:function(){var me=this;me.callParent(arguments);},getTargetFormByName:function(succeeded,fileName,queryString,navView){var me=this;if(me.endsWith(fileName,'.form')){fileName=fileName.substring(0,fileName.length-5)} me.onSucceedCallback=succeeded;me.fileName=(fileName==='null'?null:fileName);me.queryString=queryString;me.navigationView=navView;me.GetFileName(me.fileName,queryString);},endsWith:function(str,suffix){return str.indexOf(suffix,str.length-suffix.length)!==-1;},GetFileName:function(fileName,queryString){var me=this;var siteIdentity=Ext.create('Forms.Custom.Classes.SiteIdentity',{});siteIdentity.setName(Forms.Common.Common.GetSiteName());var formIdentity=Ext.create('Forms.Custom.Classes.FormIdentity',{});formIdentity.setName(fileName);var runtimeFormIdentity=Ext.create('Forms.Custom.Classes.RuntimeFormIdentity');runtimeFormIdentity.setSiteIdentity(siteIdentity);runtimeFormIdentity.setFormIdentity(formIdentity);var formService=Ext.create('Forms.Custom.ServiceCalls.FormService',{});var getFormJsFileNameSucceeded=function(serviceResult,UserData){var response=serviceResult.d;if(response!==undefined&&response!==null){var jsFileName=response.toString();Forms.Common.Common.LoadJsCssFile(Forms.Common.Common.GetFormsLocation()+'/'+jsFileName,'js');var className=Forms.Common.Common.ReplaceIllegalCharacters(fileName);me.createFormInfoObject(className,queryString,me);} else{me.onSucceedCallback(null);}};formService.GetFormJSFileName(getFormJsFileNameSucceeded,runtimeFormIdentity,{fileName:fileName});},createFormInfoObject:function(className,queryString,me){if(currentUserIdWithGroups==null||currentUserIdWithGroups.NeedsRefresh()){Forms.Common.Common.GetFormInitializationData(false,null,false);} var formInfoObject=new Object;formInfoObject.className=className;formInfoObject.navView=me.navigationView;formInfoObject.queryString=queryString;me.onSucceedCallback(formInfoObject);}}); Ext.define('Forms.SDK',{singleton:true,form:null,constructor:function(){},InitialiseFormObject:function(form){this.form=form;},GetGlobalVariableValue:function(variableName){if(Forms.SessionVariables.exists(variableName)){return Forms.SessionVariables.getSessionVariable(variableName);} else{throw{message:Forms.Common.Lang.GetLocaleString('EA27B5F1EFB44499AF6170E620FFA870',true)+variableName};}},GetFormVariableValue:function(variableName){var formVar=this.form.dataHelper.variables.getFormVariableByName(variableName);if(formVar){if(formVar.type==Forms.Constants.FORM_VARIABLE_TYPE.ARRAY.name){throw{message:Forms.Common.Lang.GetLocaleString('E1C0CF223C984515963826141575772A',true)+variableName};} else{return formVar.getVariableValue(name);}} else{throw{message:Forms.Common.Lang.GetLocaleString('C4C0D6CED36043618FB0190564141D97',true)+variableName};}},GetControlValue:function(controlName){var ctrl=this.form.dataHelper.controlManager.getControlByName(controlName);if(ctrl!==undefined){return this.form.dataHelper.retrieveData(controlName,Forms.Constants.TYPE.CONTROL);} else{throw{message:Forms.Common.Lang.GetLocaleString('69DA78285F354D9B88B2662B3161AAA1',true)+controlName};}},UpdateGlobalVariableValue:function(variableName,value){if(Forms.SessionVariables.exists(variableName)){Forms.SessionVariables.setSessionVariable(variableName,value,false);} else{throw{message:Forms.Common.Lang.GetLocaleString('EA27B5F1EFB44499AF6170E620FFA870',true)+variableName};}},UpdateFormVariableValue:function(variableName,value){var formVar=this.form.dataHelper.variables.getFormVariableByName(variableName);if(formVar){if(formVar.type==Forms.Constants.FORM_VARIABLE_TYPE.ARRAY.name){throw{message:Forms.Common.Lang.GetLocaleString('E1C0CF223C984515963826141575772A',true)+variableName};} else{formVar.setVariableValue(value);}} else{throw{message:Forms.Common.Lang.GetLocaleString('C4C0D6CED36043618FB0190564141D97',true)+variableName};}},UpdateControlValue:function(controlName,value){var ctrl=this.form.dataHelper.controlManager.getControlByName(controlName);if(ctrl!==undefined){this.form.dataHelper.setData(controlName,Forms.Constants.TYPE.CONTROL.value,value);} else{throw{message:Forms.Common.Lang.GetLocaleString('69DA78285F354D9B88B2662B3161AAA1',true)+controlName};}}});Ext.define('Forms.SessionTimeout',{config:{sessionTimeout:0,warningPeriod:0,sessionTimeoutFormName:''},constructor:function(defaults){var me=this;me.sessionTimeout=defaults.sessionTimeout?defaults.sessionTimeout:0;me.warningPeriod=defaults.warningPeriod?defaults.warningPeriod:0;me.sessionTimeoutFormName=defaults.sessionTimeoutFormName;},keepSessionAlive:function(){var me=this;var userService=Ext.create('Forms.Custom.ServiceCalls.UserService',{});userService.ValidateSession(Ext.bind(me.sessionTimeoutReset,me),me.ServiceFailed,Forms.Common.Common.GetSessionID(),me);},warnOfSessionTimeout:function(delay){var me=this;var title=Forms.Common.Lang.GetLocaleString('7AAD8620FF7A4E7AB593C1996D8FF168',true);msg=Forms.Common.Lang.GetLocaleString('2AD89BF321244C018F6B40DF6EF7AD67',true);Forms.MessageHelper.showMessageBox(title,msg,Ext.MessageBox.WARNING,Ext.MessageBox.OK,{ok:Ext.bind(this.keepSessionAlive,me)},{closable:false,modal:true});},getWarningTask:function(){var me=this;if(!me.warningTask){me.warningTask=new Ext.util.DelayedTask(me.warnOfSessionTimeout,me);} return me.warningTask;},getSessionTask:function(){var me=this;if(!me.sessionTask){me.sessionTask=new Ext.util.DelayedTask(me.clientServiceCall,me);} return me.sessionTask;},sessionTimeoutReset:function(serviceResult,userData){var me=this,delay,task,resetTimer,warningTask=me.getWarningTask(),sessionTask=me.getSessionTask();if(me.resetTimer){me.resetTimer.cancel();} if(Ext.isNumber(me.warningPeriod)&&me.warningPeriod>=0){delay=(me.sessionTimeout>me.warningPeriod)?(me.sessionTimeout-me.warningPeriod):(me.sessionTimeout-5);delay=delay*60*1000;task=me.sessionTimeout*60*1000;warningTask.delay(delay,null,null,[delay]);sessionTask.delay(task,null,null,[task]);} if(serviceResult){if(!serviceResult.d.IsValid){me.failed(userData);}}},clientServiceCall:function(){var me=this;var clientService=Ext.create('Forms.Custom.ServiceCalls.ClientService',{});Forms.Common.Common.systemSessionTimeout=null;clientService.ValidateClientSession(me.validationSucceeded,Forms.Common.Common.GetSessionID(),me.ServiceFailed,me);},redirectToSessionTimeoutForm:function(){var me=this;sessionStorage.removeItem('SESSION_ID');sessionStorage.removeItem('RESOURCE_ID');Forms.Common.Common.GetRedirectConfirmation().setConfirmationRequired(false);var siteName=Forms.Common.Common.GetSiteName(window.location.href);if(siteName!=''){var formUrl=GetURLUptoBaseDirectory()+'/'+(FORMSROOTFOLDER?FORMSROOTFOLDER+'/':'/')+siteName+'/'+me.sessionTimeoutFormName+'?'+Forms.Constants.IsSessionTimeoutForm;} else{var formUrl=GetURLUptoBaseDirectory()+'/'+(FORMSROOTFOLDER?FORMSROOTFOLDER+'/':'/')+me.sessionTimeoutFormName+'?'+Forms.Constants.IsSessionTimeoutForm;} window.location=formUrl;},validationSucceeded:function(serviceResult,userData){var me=userData;if(!serviceResult.d) {Ext.Msg.hide();me.failed(me);} else{me.resetTimer=Ext.create('Ext.util.DelayedTask',function(){me.clientServiceCall();},me);resetTime=60000;me.resetTimer.delay(resetTime,null,null,[resetTime]);}},failed:function(userData){var me=userData;if(me.warningTask){me.warningTask.cancel();} if(me.resetTimer){me.resetTimer.cancel();} if(me.sessionTask){me.sessionTask.cancel();} me.sessionTimeoutFormName=userData.sessionTimeoutFormName;Forms.Common.Common.systemSessionTimeout=null;me.redirectToSessionTimeoutForm();},ServiceFailed:function(serviceResult) {try{var ErrMsg=JSON.parse(serviceResult.responseText).Message;Forms.MessageHelper.Display(ErrMsg);} catch(err){Forms.MessageHelper.Display('Service Call Failed: '+serviceResult.status+' - '+serviceResult.statusText);}}});Ext.define('Forms.SessionVariable',{name:null,value:null,isSecure:false,isLocalizable:false,constructor:function(options){Ext.apply(this,options||{});},getData:function(){return this;}});Ext.define('Forms.SessionVariables',{singleton:true,mixins:{observable:'Ext.util.Observable'},constructor:function(options){this.mixins.observable.constructor.call(this,options);},initialise:function(sessionVariableArray,overwrite){if(sessionStorage.initialisedSessionVariables==undefined||overwrite){if(sessionVariableArray!="undefined"&&sessionVariableArray.length>0){for(i=0;i1){captureRefernceId=splitResult[1];} return captureRefernceId;},getCaptureRefenceVersion:function(className){var splitResult;var index=className.lastIndexOf('/');var captureRefernceVersion;if(index!=-1){var result=className.substring(index+1);splitResult=result.split('_');} if(splitResult!=undefined&&splitResult.length>2){captureRefernceVersion=splitResult[2];} return captureRefernceVersion;},getFormCache:function(){var me=this;if(me.getDocumentType()){return Forms.Common.Common.GetDocumentCache();} if(me.getFolderType()){return Forms.Common.Common.GetFolderCache();} return null;},getFullJSClassName:function(formType,className){switch(formType){case Forms.Constants.FORM_TYPE.DOCUMENTSCAN.value:case Forms.Constants.FORM_TYPE.FOLDERSCAN.value:className+="Scan";break;case Forms.Constants.FORM_TYPE.DOCUMENTVALIDATION.value:case Forms.Constants.FORM_TYPE.FOLDERVALIDATION.value:className+="Validation";break;case Forms.Constants.FORM_TYPE.DOCUMENTVERIFICATION.value:case Forms.Constants.FORM_TYPE.FOLDERVERIFICATION.value:className+="Verification";break;case Forms.Constants.FORM_TYPE.DOCUMENTDOCUMENTREVIEW.value:case Forms.Constants.FORM_TYPE.FOLDERDOCUMENTREVIEW.value:className+="DocumentReview";break;} return className;},createClassFromScript:function(className,type,me,useCache,formCache,formVersion,formType){var embeddedJS;var isDocumentForm=false;var documentId="";switch(formType){case Forms.Constants.FORM_TYPE.DOCUMENTSCAN.value:case Forms.Constants.FORM_TYPE.DOCUMENTVALIDATION.value:case Forms.Constants.FORM_TYPE.DOCUMENTDOCUMENTREVIEW.value:isDocumentForm=true;} try{if(isDocumentForm){documentId=me.getFormObject().id;} embeddedJS=Ext.create(className,{CaptureReferenceType:type,DocumentId:documentId});} catch(err){var errorMessage=Forms.Common.Lang.GetLocaleString('B98F41923AD241E788B9770ADBA59642',true)+className+' '+err;Ext.MessageBox.alert(Forms.Common.Lang.GetLocaleString('E2D953CE7F754BF2838067671F68C8BC',true),errorMessage);} if(useCache){formCache.addForm(embeddedJS,className,formVersion,formType,null,className);} else{embeddedJS.on('removed',function(f){try{embeddedJS.removeAll(true);embeddedJS.destroy();} catch(err){Forms.Common.Common.LogMessage("Exception occured during cleanup of form: "+err);}},embeddedJS,{single:true});} if(isDocumentForm){if(embeddedJS&&embeddedJS.getHasDynamicActionsOnForm()){embeddedJS.on('DocumentFormInitialised',function(){me.getOnSucceedCallback().call(me.getParentActivityForm(),embeddedJS,me.getFormObject());});}else{me.getOnSucceedCallback().call(me.getParentActivityForm(),embeddedJS,me.getFormObject());}} else{me.getOnSucceedCallback().call(me.getParentActivityForm(),embeddedJS,me.getFormObject());}}});Ext.define('Forms.WebServiceHelper',{requires:['Forms.MessageHelper','Forms.ProgressIndicator'],singleton:true,getCaptureContextData:function(batchId){return{"batchId":batchId,"systemChangeMode":false,'activityInstanceId':(typeof Forms!=='undefined'&&Forms.Common.Common&&Forms.Common.Common.GetReportingId())||""};},getJobActivityInformation:function(batchId){if(Ext.isEmpty(batchId)&&typeof Forms!=='undefined'&&Forms.Common.Common){return{"jobId":Forms.Common.Common.getJobId()||"","nodeId":Forms.Common.Common.getNodeId()||"",'embeddedProcessCount':Forms.Common.Common.getEPC()||""};} else{return undefined;}},getCSRFToken:function(){if(Forms.SessionVariables.getSessionVariable('SESSION_ID',false)){return Forms.SessionVariables.getSessionVariable('SESSION_ID',false);} return'';},getRequestToken:function(){return REQUESTTOKENS.pop();},setRequestToken:function(requestToken){REQUESTTOKENS.push(requestToken);},CallService:function(webServiceUrl,method,data,succeeded,failed,userData,callAsync,batchId,optionalParams,targetDevice){var me=this;if(batchId==undefined||batchId==null) {batchId='';} var progressIndicator=(!Ext.isEmpty(optionalParams)&&!Ext.isEmpty(optionalParams.showProgressIndicator))?optionalParams.showProgressIndicator:true;if(progressIndicator){Forms.ProgressIndicator.Show();} var url=webServiceUrl+method;if(Ext.is&&Ext.is.iOS){url+='?_time='+new Date().getTime();} var type="POST";var contentType="application/json; charset=utf-8";var dataType="json";var processData=true;if((callAsync===undefined||callAsync===null)||(callAsync!==true&&callAsync!==false)){callAsync=true;} var headers={CSRFGenericToken:me.getCSRFToken(),culture:Forms.Common.Lang.getLocale(),BatchId:batchId,JsonEndpoint:true,CaptureContextDataHeader:JSON.stringify(me.getCaptureContextData(batchId)),JobActivityDataHeader:JSON.stringify(me.getJobActivityInformation(batchId)),DisallowDesignerSession:Forms.Common.Common.ShouldDisallowDesignerSession()};if(targetDevice!=undefined){headers.TargetDevice=targetDevice;} if(typeof USE_REQUEST_TOKEN!=="undefined"){if(USE_REQUEST_TOKEN){headers.RequestToken=me.getRequestToken();}} $.ajax({type:type,async:callAsync,url:url,data:data,contentType:contentType,dataType:dataType,headers:headers,processdata:processData,success:function(serviceResult,textStatus,response){$("#busy-mask").hide();if(progressIndicator){Forms.ProgressIndicator.Hide();} if(typeof USE_REQUEST_TOKEN!=="undefined"){if(USE_REQUEST_TOKEN){var requestToken=response.getResponseHeader(Forms.Constants.RequestTokenCustomHeader);if(requestToken){me.setRequestToken(requestToken);}}} me.resetSessionTimeout(!Ext.isEmpty(optionalParams)?optionalParams.ignoreSessionTimeout:false);succeeded(serviceResult,userData);},error:function(serviceResult){$("#busy-mask").hide();if(progressIndicator){Forms.ProgressIndicator.Hide();} if(typeof USE_REQUEST_TOKEN!=="undefined"){if(USE_REQUEST_TOKEN){var requestToken=serviceResult.getResponseHeader(Forms.Constants.RequestTokenCustomHeader);if(requestToken){me.setRequestToken(requestToken);}}} if(failed!==null&&failed!==undefined){if(failed===''){me.ServiceFailed(serviceResult);} else{failed(serviceResult,userData);}} else{me.ServiceFailed(serviceResult);}}});},CallRestService:function(serviceURL,method,succeeded,failed){$.ajax({type:method,url:serviceURL,headers:{'CSRFGenericToken':me.getCSRFToken(),'Content-Type':'application/json'},success:succeeded,error:function(serviceResult){if(failed!==null&&failed!==undefined){if(failed===''){me.ServiceFailed(serviceResult);} else{failed(serviceResult,userData);}} else{me.ServiceFailed(serviceResult);}}});},ServiceFailed:function(serviceResult,userData){function LoadFailureRedirect(userData,errMsg) {if(userData){if(userData.onFormLoadFailure!=null&&userData.onFormLoadFailure.IsLoadingForm()){userData.onFormLoadFailure.Redirect(userData,errMsg);} else if(userData.events!=undefined&&userData.events.painted){if(userData.component!=undefined&&userData.component.onFormLoadFailure!=null&&userData.component.onFormLoadFailure.IsLoadingForm()){userData.component.onFormLoadFailure.Redirect(userData.component,errMsg);}} else if(userData.isTakeActivityCustomForm){function fn(){processBackRequest(false,userData,false);} Forms.MessageHelper.Display(errMsg,fn);} else if(userData.hasDynamicActionsOnForm&&userData.getHasDynamicActionsOnForm()){Forms.MessageHelper.Display(errMsg,fn);userData.fireEvent('DocumentFormInitialised');} else{Forms.MessageHelper.Display(errMsg);}} else{Forms.MessageHelper.Display(errMsg);}} if(window.formUrl==undefined||window.location.href==formUrl||(window.location.href!=formUrl&&Forms.Common.Common.IsFormCacheEnabled())||(formUrl&&window.location.href!==formUrl&&!formUrl.startsWith('http'))){try{var ErrMsg=JSON.parse(serviceResult.responseText).Message;LoadFailureRedirect(userData,ErrMsg);} catch(err){if(serviceResult.status==null||serviceResult.status==undefined){var errorMessage=Forms.Common.Lang.GetLocaleString('ff9443378894487484bc363b88d81438',true);LoadFailureRedirect(userData,errorMessage);} else{var errMsg='Service Call Failed: '+serviceResult.status+' - '+serviceResult.statusText;LoadFailureRedirect(userData,errMsg);}}} Forms.ProgressIndicator.Hide();},resetSessionTimeout:function(ignoreSessionTimeout){if(!ignoreSessionTimeout){var sessionTimeout=Forms.Common.Common.GetSessionTimeout();if(sessionTimeout){sessionTimeout.sessionTimeoutReset();}}},CallBeaconRequest:function(webServiceUrl,method,data,batchId){var me=this;if(batchId==undefined||batchId==null){batchId='';} var url=webServiceUrl+method;if(Ext.is&&Ext.is.iOS){url+='?_time='+new Date().getTime();} var beaconData={Data:data.toObject(),DisallowDesignerSession:Forms.Common.Common.ShouldDisallowDesignerSession()} if(typeof USE_REQUEST_TOKEN!=="undefined"){if(USE_REQUEST_TOKEN){beaconData.RequestToken=me.getRequestToken();}} var blob=new Blob([JSON.stringify(beaconData)],{type:'text/plain;charset=UTF-8',culture:Forms.Common.Lang.getLocale(),BatchId:batchId,JsonEndpoint:true,CaptureContextDataHeader:JSON.stringify(me.getCaptureContextData(batchId)),JobActivityDataHeader:JSON.stringify(me.getJobActivityInformation(batchId))});navigator.sendBeacon(url,blob);}});Ext.define('Forms.Common.CEBPMUtils',{singleton:true,injectTAProperties:function(){if(!CEBPM.view.field.TextField.taData){CEBPM.view.field.TextField.taData={};CEBPM.view.field.TextField.taData.fieldEditOperationResult={};} if(!CEBPM.view.field.CheckBoxField.taData){CEBPM.view.field.CheckBoxField.taData={};CEBPM.view.field.CheckBoxField.taData.fieldEditOperationResult={};} if(!CEBPM.view.field.ComboBoxField.taData){CEBPM.view.field.ComboBoxField.taData={};CEBPM.view.field.ComboBoxField.taData.fieldEditOperationResult={};} if(!CEBPM.view.field.AutoCompleteField.taData){CEBPM.view.field.AutoCompleteField.taData={};CEBPM.view.field.AutoCompleteField.taData.fieldEditOperationResult={};} if(!CEBPM.view.ScanClientView.taData){CEBPM.view.ScanClientView.taData={};CEBPM.view.ScanClientView.taData.batchEditOperationResult={};CEBPM.view.ScanClientView.taData.initializationData={};}},ISODateString:function(d){var me=this;function pad(n){return n<10?'0'+n:n;} return Ext.String.format("{0}-{1}-{2}T{3}:{4}:{5}Z",d.getUTCFullYear(),pad(d.getUTCMonth()+1),pad(d.getUTCDate()),pad(d.getUTCHours()),pad(d.getUTCMinutes()),pad(d.getUTCSeconds()));},generateWingScanKey:function(){var me=this;var isVRSlicensed=true;var keyPlain=Ext.String.format("{0}&{1}&{2}&{3}",window.location.hostname,me.ISODateString(new Date()),true,isVRSlicensed);var key='';for(var i=0;i0){return scanVrsProfiles[0].Identity.Id;} return null;},getValueForEnumeration:function(enumeration,requiredValue){var key,obj,owns=Object.prototype.hasOwnProperty;for(key in enumeration){if(owns.call(enumeration,key)){obj=enumeration[key];if(obj.value===requiredValue){return obj.name;}}}},getFolderSeparationType:function(separationTypeEnum){return this.getValueForEnumeration(Forms.Constants.FOLDER_SEPARATION_TYPE,separationTypeEnum);},getDocumentSeparationType:function(separationTypeEnum){return this.getValueForEnumeration(Forms.Constants.DOCUMENT_SEPARATION_TYPE,separationTypeEnum);},getBarCodeTypes:function(selectedBarCodeTypes){var me=this;var barCodeTypes=[];if(selectedBarCodeTypes){Ext.each(selectedBarCodeTypes,function(barCodeType){barCodeTypes.push(me.getValueForEnumeration(Forms.Constants.BAR_CODE_TYPES,barCodeType));});} return barCodeTypes;},getBarcodeSeparationCreate:function(createNewFolderWhen){return this.getValueForEnumeration(Forms.Constants.BAR_CODE_SEPARATION,createNewFolderWhen);},getPatchCodeType:function(patchCodeTypeEnum){return this.getValueForEnumeration(Forms.Constants.PATCH_CODE_TYPE,patchCodeTypeEnum);},getFolderSeparationProfile:function(separationProfiles){if(separationProfiles&&separationProfiles.length>0){var folderProfile={'id':separationProfiles[0].Identity.Id,'separationType':this.getFolderSeparationType(separationProfiles[0].FolderSeparation.FolderSeparation),'barCodeEnabled':separationProfiles[0].FolderSeparation.BarcodeSeparation,'barCodeTypes':this.getBarCodeTypes(separationProfiles[0].FolderSeparation.BarcodeTypes),'useBarCodeChecksum':separationProfiles[0].FolderSeparation.BarcodeChecksum,'startNewFolderWhen':this.getBarcodeSeparationCreate(separationProfiles[0].FolderSeparation.CreateNewFolderWhen),'barCodeMatchValue':separationProfiles[0].FolderSeparation.ValueStartText,'valueUsesRegex':separationProfiles[0].FolderSeparation.ValueStartTextUsesRegularExpression,'useValueForFldName':separationProfiles[0].FolderSeparation.UseBarcodeValueForFolderName,'patchCodeEnabled':separationProfiles[0].FolderSeparation.PatchCodeSeparation,'patchCodeType':this.getPatchCodeType(separationProfiles[0].FolderSeparation.PatchCodeType),'deletePatchCodeSeparator':separationProfiles[0].FolderSeparation.DeletePatchCodeSeparatorSheet,'deleteBarCodeSeparator':separationProfiles[0].FolderSeparation.DeleteBarCodeSeparatorSheet};return folderProfile;} return null;},getDocumentSeparationProfile:function(separationProfiles){if(separationProfiles&&separationProfiles.length>0){var documentProfile={'id':separationProfiles[0].Identity.Id,'separationType':this.getDocumentSeparationType(separationProfiles[0].DocumentSeparation.DocumentSeparation),'barCodeEnabled':separationProfiles[0].DocumentSeparation.BarcodeSeparation,'barCodeTypes':this.getBarCodeTypes(separationProfiles[0].DocumentSeparation.BarcodeTypes),'useBarCodeChecksum':separationProfiles[0].DocumentSeparation.BarcodeChecksum,'startNewDocumentWhen':this.getBarcodeSeparationCreate(separationProfiles[0].DocumentSeparation.StartNewDocumentWhen),'barCodeMatchValue':separationProfiles[0].DocumentSeparation.ValueStartText,'valueUsesRegex':separationProfiles[0].DocumentSeparation.ValueStartTextUsesRegularExpression,'useValueForDocType':separationProfiles[0].DocumentSeparation.UseBarcodeValueForDocumentType,'patchCodeEnabled':separationProfiles[0].DocumentSeparation.PatchCodeSeparation,'patchCodeType':this.getPatchCodeType(separationProfiles[0].DocumentSeparation.PatchCodeType),'deletePatchCodeSeparator':separationProfiles[0].DocumentSeparation.DeletePatchCodeSeparatorSheet,'sheetsPerDocument':separationProfiles[0].DocumentSeparation.SheetsPerDocument,'deleteBarCodeSeparator':separationProfiles[0].DocumentSeparation.DeleteBarCodeSeparatorSheet};return documentProfile;} return null;},getPermissions:function(permissions){if(permissions!==null&&permissions!==undefined){var tcPermissions={allowDocumentDel:permissions.deleteDocuments?true:false,allowFolderDel:permissions.deleteFolders?true:false,allowPageDel:permissions.deletePages?true:false,allowSplitOnBackPage:permissions.splitOnBackPageAccess?true:false,allowAddFolderCmd:permissions.addFolderAccess?true:false,allowSplitDocument:permissions.splitDocumentAccess?true:false,allowBatchEdit:permissions.batchEditingOperationsAccess?true:false,allowChangeDocType:permissions.changeDocumentsAccess?true:false,allowNextUnverifiedField:true,allowSetUnverifiedField:true,allowRejectCmd:permissions.rejectDocuments?true:false,allowProblemOverride:permissions.overrideProblems?true:false,allowAnnotateCmd:permissions.annotations?true:false,allowOnlineLearningCmd:permissions.onlineLearning?true:false,allowScanVrsProfileAccess:permissions.scanVrsProfileAccess?true:false,allowSeparationProfileAccess:permissions.separationProfileAccess?true:false,allowRejectPageCmd:permissions.RejectPagesAccess?true:false,allowRotatePages:permissions.RotatePagesAccess?true:false,allowCreateDocumentsAndPages:permissions.createDocumentAndPages?true:false,allowModifyDocument:permissions.modifyDocument?true:false,allowConfirmFields:permissions.confirmFields?true:false,allowMergeDocuments:permissions.mergeDocuments?true:false,allowMaskAndRedactImages:permissions.maskAndRedactImages?true:false,allowWebCaptureMaskAndRedactImages:permissions.webCaptureMaskAndRedactImages?true:false,};return tcPermissions;} return null;},getHotkeyMappings:function(hotkeyMappings){var tcHotkeyMappings=new Array();if(hotkeyMappings!=null){Ext.Array.forEach(hotkeyMappings,function(hotkeyMapping){if(hotkeyMapping.HotKeySequence!=null&&hotkeyMapping.HotKeySequence.HotKeyCollection!=null){var tcHotkeyMapping;var singleKey=hotkeyMapping.HotKeySequence.HotKeyCollection[0];var doubleKey=hotkeyMapping.HotKeySequence.HotKeyCollection[1];if((singleKey.Key==null||singleKey.Key=="")&&singleKey.KeyCode==0&&(doubleKey.Key==null||doubleKey.Key=="")&&doubleKey.KeyCode==0){return;} if(!(doubleKey.Key==null||doubleKey.Key=="")) {tcHotkeyMapping={keys:[{ctrl:singleKey.Ctrl,shift:singleKey.Shift,alt:singleKey.Alt,key:(singleKey.Key==null)?null:singleKey.Key.replace(" ","_").toUpperCase(),keyCode:singleKey.KeyCode},{ctrl:doubleKey.Ctrl,shift:doubleKey.Shift,alt:doubleKey.Alt,key:(doubleKey.Key==null)?null:doubleKey.Key.replace(" ","_").toUpperCase(),keyCode:doubleKey.KeyCode}],cmd:hotkeyMapping.Command,desc:Forms.HotkeyMappingHelper.GetGuidForCommand(hotkeyMapping.Command)};} else{tcHotkeyMapping={keys:[{ctrl:singleKey.Ctrl,shift:singleKey.Shift,alt:singleKey.Alt,key:(singleKey.Key==null)?null:singleKey.Key.replace(" ","_").toUpperCase(),keyCode:singleKey.KeyCode}],cmd:hotkeyMapping.Command,desc:Forms.HotkeyMappingHelper.GetGuidForCommand(hotkeyMapping.Command)};} tcHotkeyMappings.push(tcHotkeyMapping);}});return tcHotkeyMappings;} return null;},reloadBatch:function(){var isDocument=true,id='',typeId='',sessionIdInput=Ext.create('Forms.Events.EventInput',{}),documentInputId=CEBPM.controller.AppConfig.getMainView().getDocument(),folderInputId=CEBPM.controller.AppConfig.getMainView().getFolder();sessionIdInput.setName('SESSION_ID');sessionIdInput.setDataType('System.String');sessionIdInput.setInputType(Forms.Constants.TYPE.SERVER_VARIABLE);if(folderInputId){isDocument=false;id=folderInputId.id;typeId=folderInputId.type.id;}else{id=documentInputId.id;typeId=documentInputId.type.id;} var captureService=Ext.create('Forms.Custom.ServiceCalls.CaptureRuntimeService',{});captureService.ReloadBatch(thisForm.dataHelper.retrieveData(sessionIdInput),CEBPM.controller.AppConfig.getMainView().sessionID,id,typeId,isDocument);},showError:function(title,msg,fnc){Ext.MessageBox.show({title:title,msg:msg,buttons:Ext.MessageBox.OK,icon:Ext.MessageBox.ERROR,closable:false,modal:true,fn:fnc});}});Ext.define('Forms.Common.Common',{singleton:true,mixins:{observable:'Ext.util.Observable'},localeInfo:{},formCache:{},documentFormCache:{},folderFormCache:{},headerFormCache:{},systemSessionTimeout:null,warningTimeout:null,headerAndNavController:{},redirectConfirmation:{},loadedFormUrl:null,reportingId:null,formCellAlignment:null,formLabelAlignment:null,redirectFormId:null,config:{isWebWorkerEnabled:true,useBreadcrumbTrail:false},IsTestFormLoadBeginCompleted:false,TargetDevice:0,constructor:function(options){Ext.apply(this,options||{});this.mixins.observable.constructor.call(this,options);if(!this.IsIntegrationServer()){this.InitializeSessionTimeout();this.InitializeFormCacheSettings();this.InitializeRedirectConfirmationSettings();this.setUseBreadcrumbTrail(false);}},getProductVersion:function(excludeQuestionMark){if(excludeQuestionMark){return'productVersion='+window.__productVersion__;} return'?productVersion='+window.__productVersion__;},InitializeFormCacheSettings:function(){var me=this;var formCacheSize=0,documentCacheSize=0,folderCacheSize=0;if(typeof FORMCACHESETTINGS!="undefined"&&FORMCACHESETTINGS.length==3){if(!me.IsBrowserIE9()){formCacheSize=FORMCACHESETTINGS[0];} documentCacheSize=FORMCACHESETTINGS[1];folderCacheSize=FORMCACHESETTINGS[2];} this.formCache=Ext.create('Forms.FormCache',{maxSize:formCacheSize,enabled:formCacheSize!=0});this.headerFormCache=Ext.create('Forms.FormCache',{maxSize:formCacheSize,enabled:formCacheSize!=0});this.documentFormCache=Ext.create('Forms.FormCache',{maxSize:documentCacheSize,enabled:documentCacheSize!=0});this.folderFormCache=Ext.create('Forms.FormCache',{maxSize:folderCacheSize,enabled:folderCacheSize!=0});this.headerAndNavController=Ext.create('Forms.HeaderAndNavigationController');if(formCacheSize>0){if(history&&history.replaceState){history.replaceState({allowBack:true},'New URL: '+window.location,window.location);} window.addEventListener("popstate",me.ProcessOnPopState);}},canAccessWindowParent:function(){try{if(window.parent.Ext){return true;}}catch(ex){return false;}},IsSessionTimeoutForm:function(){var url=decodeURI(window.location.href);if(url&&url.indexOf(Forms.Constants.IsSessionTimeoutForm)>0){return true;} return false;},IsIntegrationServer:function(){try{if(isIntegrationServer=="true") {return true;}} catch(ex){return false;} return false;},InitializeSessionTimeout:function(){var sessionTimeout=0,warningPeriod=0;timeoutForm='';if(!this.IsSessionTimeoutForm()){if(typeof TIMEOUTSETTINGS!="undefined"&&TIMEOUTSETTINGS.length==4){if(TIMEOUTSETTINGS[0]>0){var configs={sessionTimeout:TIMEOUTSETTINGS[0],warningPeriod:TIMEOUTSETTINGS[2],sessionTimeoutFormName:TIMEOUTSETTINGS[3]};this.batchTimeout=TIMEOUTSETTINGS[1];this.warningTimeout=TIMEOUTSETTINGS[2];this.systemSessionTimeout=Ext.create('Forms.SessionTimeout',configs);}}}},InitializeRedirectConfirmationSettings:function(){var me=this;this.redirectConfirmation=Ext.create('Forms.RedirectConfirmation',{});},IsBrowserIE9:function(){return Ext.isIE9m;},IsBrowserIE10OrLower:function(){return Ext.isIE10m;},IsBrowserSupported:function(useExtAlert){if(Forms.Common.Common.IsBrowserIE10OrLower()){if(Forms.Common.Common.GetBrowserSupportWarningDisplayed()==false){var title=Forms.Common.Lang.GetLocaleString('E2D953CE7F754BF2838067671F68C8BC',true);var msg=Forms.Common.Lang.GetLocaleString('4188AAB43EFB5224BA3099044533BCDA',true);if(useExtAlert){Forms.MessageHelper.showMessageBox(title,msg,Ext.MessageBox.WARNING,Ext.MessageBox.OK,null,{closable:false,modal:true});} else{msg=msg.replace('

','\n\n');alert(msg);}} Forms.Common.Common.SetBrowserSupportWarningDisplayed(true);}},GetBrowserSupportWarningDisplayed:function(){var warningDisplayed=sessionStorage.getItem(Forms.Constants.BROWSER_NOT_SUPPORTED_WARNING_DISPLAYED);if(warningDisplayed!=null&&warningDisplayed!=undefined){return warningDisplayed;} return false;},SetBrowserSupportWarningDisplayed:function(value){sessionStorage.setItem(Forms.Constants.BROWSER_NOT_SUPPORTED_WARNING_DISPLAYED,value);},setLoadedFormUrl:function(formName){if(formName){var urluptoFormsDirectory=GetURLUptoBaseDirectory()+((FORMSROOTFOLDER)?Forms.Constants.SLASH+FORMSROOTFOLDER+Forms.Constants.SLASH:Forms.Constants.SLASH);var siteName=Forms.Common.Common.GetSiteName(window.location.href);if(siteName!=''){return loadedFormUrl=urluptoFormsDirectory+siteName+Forms.Constants.SLASH+formName+Forms.Constants.FORM_FILE_EXTENSION;} else{return loadedFormUrl=urluptoFormsDirectory+formName+Forms.Constants.FORM_FILE_EXTENSION;}}},ProcessOnPopState:function(state){if(state&&state.state&&state.state.allowBack){processBackRequest(true);}},RemovePopStateListener:function(){var me=this;window.removeEventListener("popstate",me.ProcessOnPopState);},LogonUsingWindowsAuthentication:function(succeeded,failed){var clientService=Ext.create("Forms.Custom.ServiceCalls.ClientWindowsService");clientService.LogOnUsingWindowsAuthentication(succeeded,failed,7,true,true);},GetDateFormatsForLocale:function(){var clientService=Ext.create("Forms.Custom.ServiceCalls.ClientService",{});function GetDateFormatsForLocaleSucceeded(serviceResult,userData){var response=serviceResult.d;Forms.Common.Common.localeInfo[Forms.Common.Lang.getLocale()]={csharpShortDateFormat:response.ShortDateFormat,csharpShortDateTimeFormat:response.ShortDateTimeFormat,shortDateFormat:Forms.Common.Common.GetDateFormatString(response.ShortDateFormat),longDateFormat:Forms.Common.Common.GetDateFormatString(response.LongDateFormat),timeFormat:Forms.Common.Common.GetDateFormatString(response.TimeFormat),timeFormatWithoutSeconds:Forms.Common.Common.GetDateFormatString(response.TimeFormatWithoutSeconds)};sessionStorage.setItem("LocaleInfo",Ext.encode(Forms.Common.Common.localeInfo));} clientService.GetLocaleInfo(GetDateFormatsForLocaleSucceeded,Forms.Common.Lang.getLocale(),false);},GetFormInitializationData:function(processUrlToRedirect,redirectUrl,callAsync,captureData,getFormInitializationDataCallback){var sessionId=Forms.SessionVariables.getSessionVariable('SESSION_ID',true);if(!sessionId){Forms.SessionVariables.setSessionVariable('RESOURCE_ID','');} if(sessionId||Forms.Testing){var formInitializationInput=Ext.create('Forms.Custom.Classes.FormInitializationInput',{});formInitializationInput.setPopulateInsightServerUrl(true);formInitializationInput.setPopulateAssociatedGroups(true);if(!Forms.Common.Common.IsSenchaTouch()){if(captureData){var formCaptureData=Ext.create('Forms.Custom.Classes.FormCaptureData',{});formCaptureData.setControlType(captureData.ControlType);formCaptureData.setLockedLayout(captureData.LockedLayout);if(captureData.CaptureControlLayoutIdentity){var captureControlLayoutIdentity=Ext.create('Forms.Custom.Classes.CaptureControlLayoutIdentity',{});captureControlLayoutIdentity.setId(captureData.CaptureControlLayoutIdentity.Id);captureControlLayoutIdentity.setName(captureData.CaptureControlLayoutIdentity.Name);formCaptureData.setCaptureControlLayoutIdentity(captureControlLayoutIdentity);} formInitializationInput.setCaptureData(formCaptureData);} else{formInitializationInput.setCaptureData(null);}} var insightServerUrl=Forms.SessionVariables.getSessionVariable(Forms.Constants.INSIGHTSERVERURL_SESSIONSTORAGE_NAME);if(insightServerUrl){formInitializationInput.setPopulateInsightServerUrl(false);} var formService=Ext.create("Forms.Custom.ServiceCalls.FormService",{});function GetFormInitializationDataSucceeded(serviceResult){var formInitializationData=serviceResult.d;var resourceSummaryCollection=formInitializationData.AssociatedGroups;var validSession=formInitializationData.CurrentResourceIdentity&&formInitializationData.CurrentResourceIdentity.Id?true:false;Forms.SessionVariables.setSessionVariable("RESOURCE_ID",validSession?formInitializationData.CurrentResourceIdentity.Id:'');Forms.Common.Common.reportingId=formInitializationData.ReportingId;formInitializationData.FormControlSettings=formInitializationData.FormControlSettings||{};Forms.Common.Common.formCellAlignment=formInitializationData.FormControlSettings.CellAlignment||0;Forms.Common.Common.formLabelAlignment=formInitializationData.FormControlSettings.LabelAlignment||0;if(validSession){var resourceIdentityCollection=Ext.create('Forms.Custom.Classes.ResourceIdentityCollection',{});var resourcesArray=new Array();if(resourceSummaryCollection!=null){for(i=0;i0){resourceIdentityCollection.fromObject(resourcesArray);currentUserIdWithGroups.setAssociatedGroups(resourceIdentityCollection.resourceIdentityList);} var currentResource=Ext.create('Forms.Custom.Classes.ResourceIdentity',{});currentResource.setId(Forms.SessionVariables.getSessionVariable('RESOURCE_ID'));currentUserIdWithGroups.setWorkerResource(currentResource);}} Forms.Common.Common.fireEvent("associatedgroupspopulated",Forms.Common.Common);if(formInitializationInput.getPopulateInsightServerUrl()){Forms.SessionVariables.setSessionVariable(Forms.Constants.INSIGHTSERVERURL_SESSIONSTORAGE_NAME,formInitializationData.InsightServerUrl);Forms.Common.Common.fireEvent("insightserverurlpopulated",Forms.Common.Common);} if(processUrlToRedirect==true&&typeof redirectUrl!='undefined'){processRedirectURL(redirectUrl);} if(getFormInitializationDataCallback){getFormInitializationDataCallback(formInitializationData);}} formService.GetFormInitializationData(GetFormInitializationDataSucceeded,sessionId,formInitializationInput,callAsync);} else{if(processUrlToRedirect==true&&typeof redirectUrl!='undefined'){processRedirectURL(redirectUrl);}}},GetDataObjectFormVariableDefaultValues:function(variables,getDataObjectFormVariableDefaultValuesCallback,callAsync){function GetDataObjectFormVariableDefaultValuesSucceeded(serviceResult){if(getDataObjectFormVariableDefaultValuesCallback){getDataObjectFormVariableDefaultValuesCallback(serviceResult.d);}} if(variables){var formService=Ext.create("Forms.Custom.ServiceCalls.FormService",{});formService.GetDataObjectFormVariableDefaultValues(GetDataObjectFormVariableDefaultValuesSucceeded,Forms.SessionVariables.getSessionVariable('SESSION_ID',true),variables,callAsync);}},GetDataModelVariableValueByName:function(dataModels,name){if(dataModels&&dataModels.length>0){for(var i=0;i/g,">");value=value.replace(/"/g,""");value=value.replace(/'/g,"'");value=value.replace(/�/g," ");value=value.replace(/�P/g," ");value=value.replace(/�C/g," ");value=value.replace(/�/g," ");} return value;},UpdateSessionStorageForWindow:function(key,value){var keyWithGuid=key+'_'+window.name;if(sessionStorage.getItem(keyWithGuid)==null||sessionStorage.getItem(keyWithGuid)==""){var id=Forms.Common.Common.GenerateGUID();window.name=id;keyWithGuid=key+'_'+id;} sessionStorage.setItem(keyWithGuid,value);},GetLongDateFormat:function(){if(this.localeInfo[Forms.Common.Lang.getLocale()]===undefined){this.GetDateFormatsForLocale(Forms.Common.Lang.getLocale());} return this.localeInfo[Forms.Common.Lang.getLocale()].longDateFormat;},GetDateTimeFormat:function(){return this.GetDateFormat()+' '+this.GetTimeFormat();},GetDateFormat:function(){if(this.localeInfo[Forms.Common.Lang.getLocale()]===undefined){this.GetDateFormatsForLocale(Forms.Common.Lang.getLocale());} return this.localeInfo[Forms.Common.Lang.getLocale()].shortDateFormat;},LoadTestForm:function(text){if(Forms.Testing&&Forms.Testing.Debugger){if(text&&text.indexOf('.form')>0){text=text.replace('.form','.testform');var targetDevice;if(text.indexOf('?')>0){targetDevice="FormTargetDevice=";} else{targetDevice="?FormTargetDevice=";} text=text+targetDevice+Forms.Testing.Debugger.TargetFormDevice+"&isEmbeddedControlForm=true&";}} return text;},GetCsharptDateFormat:function(){if(this.localeInfo[Forms.Common.Lang.getLocale()]===undefined){this.GetDateFormatsForLocale(Forms.Common.Lang.getLocale());} return this.localeInfo[Forms.Common.Lang.getLocale()].csharpShortDateFormat;},GetCsharptDateTimeFormat:function(){if(this.localeInfo[Forms.Common.Lang.getLocale()]===undefined){this.GetDateFormatsForLocale(Forms.Common.Lang.getLocale());} return this.localeInfo[Forms.Common.Lang.getLocale()].csharpShortDateTimeFormat;},GetItemTemplateDateFormat:function(){if(this.localeInfo[Forms.Common.Lang.getLocale()]===undefined){this.GetDateFormatsForLocale(Forms.Common.Lang.getLocale());} var shortLocaleFormat=this.localeInfo[Forms.Common.Lang.getLocale()].csharpShortDateFormat;var token=/d{1,4}|M{1,5}|y{1,4}|([HhmsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g;var flags={d:'d',dd:'d',ddd:'d',dddd:'d',M:'m',MM:'m',MMM:'m',MMMM:'m',y:'Y',yy:'Y',yyy:'Y',yyyy:'Y'};return shortLocaleFormat.replace(token,function($0){return $0 in flags?flags[$0]:$0.slice(1,$0.length-1).replace(/d/g,'\\d');});},GetTimeFormat:function(){if(this.localeInfo[Forms.Common.Lang.getLocale()]===undefined){this.GetDateFormatsForLocale(Forms.Common.Lang.getLocale());} return this.localeInfo[Forms.Common.Lang.getLocale()].timeFormat;},GetTimeFormatWithoutSeconds:function(){if(this.localeInfo[Forms.Common.Lang.getLocale()]===undefined||this.localeInfo[Forms.Common.Lang.getLocale()].timeFormatWithoutSeconds===undefined){this.localeInfo[Forms.Common.Lang.getLocale()]=undefined;this.GetDateFormatsForLocale(Forms.Common.Lang.getLocale());} return this.localeInfo[Forms.Common.Lang.getLocale()].timeFormatWithoutSeconds;},GetDateFormatString:function(mask){var token=/d{1,4}|M{1,5}|y{1,4}|([HhmsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,timezone=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,timezoneClip=/[^-+\dA-Z]/g,pad=function(val,len){val=String(val);len=len||2;while(val.length0){siteform=siteform.substring(0,siteform.indexOf('?'));} if(siteform.indexOf('/')>0){this.siteName=siteform.substr(0,siteform.indexOf('/'));} else{this.siteName="";}} if(formUrl&&tempSiteName!=this.siteName){var currentsiteName=this.siteName;this.siteName=tempSiteName;return currentsiteName;} return this.siteName;},GetTargetFormSiteName:function(formUrl){var siteName;var urlParts=formUrl.split(".form");var formName=urlParts[0];var sameSiteRedirect=formName.indexOf('/')<0?true:false;if(formUrl.indexOf('http')<0&&formUrl.indexOf('https')<0&&sameSiteRedirect){siteName=Forms.Common.Common.GetSiteName();} else{siteName=Forms.Common.Common.GetSiteName(formUrl);} return siteName;},GetFormsLocation:function(){if(!this.formlocation) this.formlocation=GetURLUptoBaseDirectory();return this.formlocation;},createXMLHTTPObject:function(){var xmlhttp=false;var XMLHttpFactories=[function(){return new XMLHttpRequest()},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml3.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}];for(var i=0;i-1){filename=filename+'&'+this.getProductVersion(true);}else{filename=filename+this.getProductVersion();} if(filetype=="js"){if(failed){$.ajax({url:filename,dataType:"script",async:!!async,success:function(){},error:function(serviceResult){failed(serviceResult);}});} else{$.ajax({url:filename,dataType:"script",async:!!async,success:function(arguments){if(arguments.indexOf(Forms.Constants.FORM_DEPLOYER_ERROR)>-1){var errorDetails=JSON.parse(arguments);if(errorDetails.ErrorMessage){Forms.Common.CEBPMUtils.showError(Forms.Constants.PRODUCT_NAME,errorDetails.ErrorMessage);}}}});}} else if(filetype=="css"){var fileref=document.createElement("link");fileref.setAttribute("rel","stylesheet");fileref.setAttribute("type","text/css");fileref.setAttribute("href",filename);if(typeof fileref!="undefined"){var s=document.getElementsByTagName('title')[0];s.parentNode.insertBefore(fileref,s);}}},loadSyncFusionLibs:function(loadCharts){if(loadCharts==true){Forms.Common.Common.LoadJsCssFile(Forms.Common.Common.GetFormsLocation()+"/Forms/Plugins/SyncFusion/ej2-charts-crg.min.js",'js');} if(!Forms.Common.Common.IsSenchaTouch()){ej.base.enableRtl(typeof USE_RTL==='undefined'?false:USE_RTL);}},IsCssFileLoaded:function(fileName){var isCssLoaded=false;var links=document.getElementsByTagName('link');for(counter=0;counter0){isCssLoaded=true;break;}} return isCssLoaded;},LoadJsFormVariantFile:function(formName,formVariantName,successCallback){var me=this;var variantIdentity=Ext.create('Forms.Custom.Classes.VariantIdentity',{});variantIdentity.setName(formVariantName);var siteIdentity=Ext.create('Forms.Custom.Classes.SiteIdentity',{});siteIdentity.setName(Forms.Common.Common.GetSiteName());var formIdentity=Ext.create('Forms.Custom.Classes.FormIdentity',{});formIdentity.setName(formName);var runtimeFormIdentity=Ext.create('Forms.Custom.Classes.RuntimeFormIdentity');runtimeFormIdentity.setSiteIdentity(siteIdentity);runtimeFormIdentity.setFormIdentity(formIdentity);var formService=Ext.create('Forms.Custom.ServiceCalls.FormService',{});var getFormVariantJSFileNameSucceeded=function(serviceResult,UserData){var response=serviceResult.d;if(response!==undefined&&response!==null&&response!==''){var jsFormVariantUrl=response.toString();if(Forms.Testing&&Forms.Testing.Debugger){jsFormVariantUrl=jsFormVariantUrl+"&FormTargetDevice="+Forms.Common.Common.TargetDevice;} var formVariantFileName=formVariantName.toUpperCase()+"_FormVariant";$.ajax({url:Forms.Common.Common.GetFormsLocation()+"/"+jsFormVariantUrl,dataType:"script",async:false,complete:function(xhr){successCallback(formVariantFileName);}});} else{Forms.Common.Common.LogMessage(Forms.Common.Lang.GetLocaleString('59721b46692945b5a0823c9fa303eecf',true));}};formService.GetFormVariantJSFileName(getFormVariantJSFileNameSucceeded,variantIdentity,runtimeFormIdentity,null,false);},ConvertToJSONDate:function(d,ignoreTimezone){var str=d.getTime();var timeZoneOffset=d.getTimezoneOffset();if(timeZoneOffset<0){timeZoneOffset*=-1;} var hours=''+Math.floor(timeZoneOffset/60);if(hours.length!=2) hours='0'+hours;var minutes=''+Math.floor(timeZoneOffset%60);if(minutes.length!=2) minutes='0'+minutes;if(d.getTimezoneOffset()>0){hours='-'+hours;}else{hours='+'+hours;} if(ignoreTimezone){hours="+00";var tzInMs=timeZoneOffset*60*1000;if(d.getTimezoneOffset()>0){str=str-tzInMs;} else{str=str+tzInMs;}} return'\/Date('+str+hours+''+minutes+')\/'},GetSelectionModeFromShort:function(selectionModeAsShort){var selectionMode;switch(selectionModeAsShort){case Forms.Constants.SELECTION_MODE.ACTIVE.value:selectionMode=Forms.Constants.SELECTION_MODE.ACTIVE;break;case Forms.Constants.SELECTION_MODE.SELECTED.value:selectionMode=Forms.Constants.SELECTION_MODE.SELECTED;break;case Forms.Constants.SELECTION_MODE.ALL.value:selectionMode=Forms.Constants.SELECTION_MODE.ALL;break;default:selectionMode=Forms.Constants.SELECTION_MODE.NONE;} return selectionMode;},CreateTooltip:function(control,value){if(value){value=value==''?' ':Forms.Common.Common.applyHtmlEncode(value);value=value==''?' ':Forms.Common.Common.applyLineBreak(value);var tooltipText='';if(value!=null){if(value.indexOf(" ")<0){tooltipText='';}} function internalCreateTooltip(cont){if(isTouchDevice()==true){var quickTip=Ext.tip.QuickTipManager.getQuickTip();if(quickTip){quickTip.showOnTap=true;}} Ext.tip.QuickTipManager.register({target:cont.getId(),text:tooltipText});} if(control.rendered){internalCreateTooltip(control);} else{control.un('render',internalCreateTooltip);control.on('render',internalCreateTooltip);}}},SetStyleValue:function(fontname,fontsize,color,bold,italic,underline,strikethrough,overline,controlId){var fontStyle='';var textStyle='';if(!bold&&!italic){fontStyle='normal ';} else{if(bold){fontStyle='bold ';} if(italic){fontStyle=fontStyle+'italic ';}} if(!underline&&!strikethrough&&!overline){textStyle='none';} else{if(underline){textStyle='underline ';} if(strikethrough){textStyle=textStyle+'line-through ';} if(overline){textStyle=textStyle+'overline ';}} var styleTextValue='font:'+fontStyle+fontsize+"px "+fontname+' !important;'+'color:'+color+' !important ;'+'text-decoration:'+textStyle+' !important ;';$('#'+controlId+' input').attr('style',styleTextValue+$('#'+controlId+' input').attr('style'));return styleTextValue;},CreateTouchTooltip:function(control,value){if(value){value=value==''?' ':Forms.Common.Common.applyHtmlEncode(value);value=value==''?' ':Forms.Common.Common.applyLineBreak(value);var touchControl=control;function internalCreateTooltip(cont){touchControl.element.on('touchstart',function(){clearTimeout();if(!this.touchtoolTip){this.touchtoolTip=Ext.create('Ext.Panel',{html:'',hideAmimation:Ext.fx.animation.Fade,cls:'TouchToolTip',anchor:true,border:true,padding:5});} this.touchtoolTip.html=value;this.touchtoolTip.showBy(touchControl);setTimeout(function(control){control.touchtoolTip.setHidden(true);},100,this);});} if(control.renderd){internalCreateTooltip(control);} else{control.un('painted',internalCreateTooltip);control.on('painted',internalCreateTooltip);}}},JSON2XML:function(o,tab){var toXml=function(v,name,ind){var xml="";if(v instanceof Array){for(var i=0,n=v.length;i":"/>";if(hasChild){for(var m in v){if(m=="#text") xml+=v[m];else if(m=="#cdata") xml+="";else if(m.charAt(0)!="@") xml+=toXml(v[m],m,ind+"\t");} xml+=(xml.charAt(xml.length-1)=="\n"?ind:"")+"";}} else{xml+=ind+"<"+name+">"+v.toString()+"";} return xml;},xml="";for(var m in o) xml+=toXml(o[m],m,"");return tab?xml.replace(/\t/g,tab):xml.replace(/\t|\n/g,"");},XML2JSON:function(xml,tab){xml=this.ParseXml(xml);var X={toObj:function(xml){var o={};if(xml.nodeType==1){if(xml.attributes.length) for(var i=0;i1) o=X.escape(X.innerXml(xml));else for(var n=xml.firstChild;n;n=n.nextSibling) o["#cdata"]=X.escape(n.nodeValue);}} if(!xml.attributes.length&&!xml.firstChild)o=null;} else if(xml.nodeType==9){o=X.toObj(xml.documentElement);} else alert("unhandled node type: "+xml.nodeType);return o;},toJson:function(o,name,ind){var json=name?("\""+name+"\""):"";if(o instanceof Array){for(var i=0,n=o.length;i1?("\n"+ind+"\t"+o.join(",\n"+ind+"\t")+"\n"+ind):o.join(""))+"]";} else if(o==null) json+=(name&&":")+"null";else if(typeof(o)=="object"){var arr=[];for(var m in o) arr[arr.length]=X.toJson(o[m],m,ind+"\t");json+=(name?":{":"{")+(arr.length>1?("\n"+ind+"\t"+arr.join(",\n"+ind+"\t")+"\n"+ind):arr.join(""))+"}";} else if(typeof(o)=="string") json+=(name&&":")+"\""+o.toString()+"\"";else json+=(name&&":")+o.toString();return json;},innerXml:function(node){var s="" if("innerHTML"in node) s=node.innerHTML;else{var asXml=function(n){var s="";if(n.nodeType==1){s+="<"+n.nodeName;for(var i=0;i";for(var c=n.firstChild;c;c=c.nextSibling) s+=asXml(c);s+="";} else s+="/>";} else if(n.nodeType==3) s+=n.nodeValue;else if(n.nodeType==4) s+="";return s;};for(var c=node.firstChild;c;c=c.nextSibling) s+=asXml(c);} return s;},escape:function(txt){return txt.replace(/[\\]/g,"\\\\").replace(/[\"]/g,'\\"').replace(/[\n]/g,'\\n').replace(/[\r]/g,'\\r');},removeWhite:function(e){e.normalize();for(var n=e.firstChild;n;){if(n.nodeType==3){if(!n.nodeValue.match(/[^ \f\n\r\t\v]/)){var nxt=n.nextSibling;e.removeChild(n);n=nxt;} else n=n.nextSibling;} else if(n.nodeType==1){X.removeWhite(n);n=n.nextSibling;} else n=n.nextSibling;} return e;}};if(xml.nodeType==9) xml=xml.documentElement;var json=X.toJson(X.toObj(X.removeWhite(xml)),xml.nodeName,"\t");return"{\n"+tab+(tab?json.replace(/\t/g,tab):json.replace(/\t|\n/g,""))+"\n}";},ParseXml:function(xml){var dom=null;if(window.DOMParser){try{dom=(new DOMParser()).parseFromString(xml,"text/xml");} catch(e){dom=null;}} else if(window.ActiveXObject){try{dom=new ActiveXObject('Microsoft.XMLDOM');dom.async=false;if(!dom.loadXML(xml)) window.alert(dom.parseError.reason+dom.parseError.srcText);} catch(e){dom=null;}} return dom;},IsTouchDevice:function(){try{document.createEvent("TouchEvent");return true;} catch(e){return false;}},IsDBNull:function(value){if(value&&value.__type&&value.__type=='DBNull:#System'){return true;} return false;},EncodeToBase64:function(data){var str="";for(var i=0;i','|','%','#','\\(','\\)','\\+','\\$','^','-','\\{','\\}','\\[','\\]','@','~','.',',',';','&','!','.','=','£','¬'];return className.replace(new RegExp("["+IllegalCharacters.join("|")+"]","g"),"_");},CallCleanupOnCurrentForm:function(){var formContainer=Ext.getCmp(Forms.Constants.MainCardLayoutId);if(formContainer!=undefined){var currentItems=formContainer.items;var formToRemove=currentItems.first();Forms.FormCacheHelper.showAlert('Calling cleanup on current form');if(formToRemove){Ext.suspendLayouts();formToRemove.fireEvent('cleanup_form');formToRemove.fireEvent('delete_form');Ext.resumeLayouts();}}},LoadMfpPlugin:function(){Forms.Common.Common.LoadJsCssFile(Forms.Common.Common.GetFormsLocation()+'/'+Forms.Constants.LEXMARK_MFP_IO_PLUGIN_PATH,'js');Forms.Common.Common.LoadJsCssFile(Forms.Common.Common.GetFormsLocation()+'/'+Forms.Constants.LEXMARK_MFP_PLUGIN_PATH,'js');},LoadCordovaPlugin:function(androidCordovaFilePath,androidCordovaPluginFile,iosCordovaFilePath,iosCordovaPluginFile){if(!window.cordova){var androidCordovaFilePath=Forms.Constants.ANDROID_CORDOVA_PATH;var androidCordovaPluginFile=Forms.Constants.ANDROID_CORDOVA_PLUGIN_PATH;var iosCordovaFilePath=Forms.Constants.IOS_CORDOVA_PATH;var iosCordovaPluginFile=Forms.Constants.IOS_CORDOVA_PLUGIN_PATH;var n=androidCordovaFilePath.search('//');if(n>-1){var url=window.location.href;var version=this.ExtractParameterValueFromQueryString(url,Forms.Constants.CORDOVA_PARAMETER_NAME);if(version!=""||version!=undefined){document.cookie=""+Forms.Constants.CORDOVA_PARAMETER_NAME+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC";document.cookie=Forms.Constants.CORDOVA_PARAMETER_NAME+"="+version;} else{this.GetCookieValue(Forms.Constants.CORDOVA_PARAMETER_NAME);} if(version==""||version==undefined){version=Forms.Constants.DEFAULT_CORDOVA_VERSION;} if(version!=""){androidCordovaFilePath=androidCordovaFilePath.replace('//','/'+version+'/');androidCordovaPluginFile=androidCordovaPluginFile.replace('//','/'+version+'/');iosCordovaFilePath=iosCordovaFilePath.replace('//','/'+version+'/');iosCordovaPluginFile=iosCordovaPluginFile.replace('//','/'+version+'/');} if(Ext.is.Android){Forms.Common.Common.LoadJsCssFile(Forms.Common.Common.GetFormsLocation()+'/'+androidCordovaFilePath,'js');Forms.Common.Common.LoadJsCssFile(Forms.Common.Common.GetFormsLocation()+'/'+androidCordovaPluginFile,'js');} else{Forms.Common.Common.LoadJsCssFile(Forms.Common.Common.GetFormsLocation()+'/'+iosCordovaFilePath,'js');Forms.Common.Common.LoadJsCssFile(Forms.Common.Common.GetFormsLocation()+'/'+iosCordovaPluginFile,'js');} Forms.Common.Common.LoadJsCssFile(Forms.Common.Common.GetFormsLocation()+'/'+Forms.Constants.MOBILE_IMAGE_CAPTURE_FILE_PATH,'js');Forms.Common.Common.LoadJsCssFile(Forms.Common.Common.GetFormsLocation()+'/'+Forms.Constants.MOBILE_CAPTURE_APP_FILE_PATH,'js');}}},ExtractParameterValueFromQueryString:function(url,parameterName){var queryString=url.substr(url.indexOf('?'),url.length-1);if(queryString.search('&')>-1){var keyValuePair;var keyPairValues=queryString.split('&') for(keyValuePair in keyPairValues){if(keyPairValues[keyValuePair].search(parameterName)>-1){var parameterNameAndValue=keyPairValues[keyValuePair].split('=');return parameterNameAndValue[parameterNameAndValue.length-1];}}}},GetCookieValue:function(cookieName){var allCookies=document.cookie.split(';');for(cookie in allCookies){if(allCookies[cookie].search(cookieName)>-1){var cookieKeyValuePair=allCookies[cookie].split('=');return cookieKeyValuePair[cookieKeyValuePair.length-1];}}},removeErrorSheets:function(){if(Ext.Viewport&&(Ext.Viewport.items!=undefined)){Ext.Viewport.items.each(function(item){if(item.isErrorSheet){Ext.Viewport.remove(item);}});}},LoadFormInSameWindow:function(url,fromOnpopstate,formId){this.removeErrorSheets();redirectFormId=formId;var popup=undefined;if(Forms.Common.Common.canAccessWindowParent()&&window.parent&&window.parent.Ext){if(Forms.Common.Common.GetKeyValue('POPUPWINDOWID')!=''){popup=window.parent.Ext.getCmp(Forms.Common.Common.GetKeyValue('POPUPWINDOWID'));}} if(popup!==undefined){popup.doesOriginExist=true;} if(window.location.href.split('?')[0].toLowerCase()==loadedFormUrl.toLowerCase()){loadedFormUrl=window.location.href;Forms.Common.Common.PushFormHistory(window.location.href);} else{Forms.Common.Common.PushFormHistory(loadedFormUrl);} Forms.Common.Common.UpdateSessionStorageForWindow(Forms.Constants.FORM_REFERRER,window.location.href);if(!Forms.Common.Common.IsSenchaTouch()){if(Forms.Common.Common.IsFormCacheEnabled()&&!isCurrentFormMultiView()){if(currentUserIdWithGroups==null||currentUserIdWithGroups.NeedsRefresh()){this.GetFormInitializationData(true,url,false);} else{processRedirectURL(url);}} else{try{window.location.href=url;} catch(e){};} return;} Forms.ProgressIndicator.Show();var urlParts=url.split("?");var formName=urlParts[0];if(formName.indexOf('.form')==-1){window.location.href=url;} else{if(formName.indexOf('/')>0){formName=formName.substring(formName.lastIndexOf('/')+1);} formName=formName.substring(0,formName.indexOf("."));var formIdentity=Ext.create('Forms.Custom.Classes.FormIdentity',{});formIdentity.setName(formName);var siteIdentity=Ext.create('Forms.Custom.Classes.SiteIdentity',{});siteIdentity.setName(Forms.Common.Common.GetSiteName());var runtimeFormIdentity=Ext.create('Forms.Custom.Classes.RuntimeFormIdentity');runtimeFormIdentity.setSiteIdentity(siteIdentity);runtimeFormIdentity.setFormIdentity(formIdentity);var formService=Ext.create("Forms.Custom.ServiceCalls.FormService",{});function processFormLoadRequest(serviceResult,userData){var removeCachedForms=false;if(serviceResult.d.FormFilePaths.ToolBarsEnabled&&Forms.Common.Common.IsFormCacheEnabled()){Forms.Common.Common.SetFormCacheEnabled(false);Forms.Common.Common.RemovePopStateListener() removeCachedForms=true;} if(Forms.Common.Common.IsFormCacheEnabled()){LoadCachedFormInSameWindowSucceded(serviceResult,{fileName:formName,newUrl:url,currentUrl:window.location.href});} else{LoadFormInSameWindowSucceded(serviceResult,url);if(!fromOnpopstate&&!Forms.Common.Common.IsFormCacheEnabled()){if(!window.onpopstate){window.onpopstate=function(event){var querystring="";var formName="";var url=decodeURI(location.href);if(location.href.indexOf("?")>0){querystring=location.href.substring(location.href.indexOf("?"));url=location.href.substring(0,location.href.indexOf("?"));} formName=url.substring(url.lastIndexOf("/")+1);Forms.Common.Common.LoadFormInSameWindow(formName+querystring,true);};} if(serviceResult.d.IsTouch){history.pushState({allowBack:true},'New URL: '+url,url);}}} if(removeCachedForms){Forms.Common.Common.GetFormCache().removeAllCachedForms();Forms.Common.Common.GetHeaderFormCache().removeAllCachedForms();}} formService.GetFormFiles(processFormLoadRequest,runtimeFormIdentity,Forms.Common.Common.IsFormCacheEnabled()?{fileName:formName,newUrl:url,currentUrl:window.location.href}:url);}},RedirectToWQ:function(param){Forms.Common.Common.GetRedirectConfirmation().setIgnoreRedirectConfirmation(true);Forms.Common.Common.GetRedirectConfirmation().setFromRedirectAction(true);if(Forms.Common.Common.GetKeyValue('EmbeddedFormMode')){window.open(''+ProcessUrl(thisForm.dataHelper.retrieveData('WORKQUEUE_FORM',Forms.Constants.TYPE.SERVER_VARIABLE))+'','_blank','');} else{window.location=''+ProcessUrl(thisForm.dataHelper.retrieveData('WORKQUEUE_FORM',Forms.Constants.TYPE.SERVER_VARIABLE))+'';}},RedirectToActivity:function(response,userData){Forms.Common.Common.GetRedirectConfirmation().setIgnoreRedirectConfirmation(true);Forms.Common.Common.GetRedirectConfirmation().setFromRedirectAction(true);if(response.AssociatedFile){if(Forms.Common.Common.GetKeyValue('EmbeddedFormMode')){window.open(''+ProcessUrl(response.AssociatedFile)+'?SESSION_ID='+escape(userData.sessionId)+'&JOB_ID='+escape(response.JobId)+'&EPC='+escape(response.EmbeddedProcessCount)+'&NODE_ID='+escape(response.NodeId)+'&','_blank','');} else{window.location=''+ProcessUrl(response.AssociatedFile)+'?SESSION_ID='+escape(userData.sessionId)+'&JOB_ID='+escape(response.JobId)+'&EPC='+escape(response.EmbeddedProcessCount)+'&NODE_ID='+escape(response.NodeId)+'&';}}else{if(Forms.Common.Common.GetKeyValue('EmbeddedFormMode')){window.open(''+ProcessUrl(thisForm.dataHelper.retrieveData('TakeActivity.form',Forms.Constants.TYPE.INLINE))+'?jobid='+escape(response.JobId)+'&epc='+escape(response.EmbeddedProcessCount)+'&nodeid='+escape(response.NodeId)+'&','_blank','');} else{window.location=''+ProcessUrl(thisForm.dataHelper.retrieveData('TakeActivity.form',Forms.Constants.TYPE.INLINE))+'?jobid='+escape(response.JobId)+'&epc='+escape(response.EmbeddedProcessCount)+'&nodeid='+escape(response.NodeId)+'&';}}},ApplyTooltipForTableColumn:function(value,meta){var tooltipText=Forms.Common.Common.ConvertToString(value);meta.tdAttr='data-qtip="'+Ext.util.Format.htmlEncode(Ext.util.Format.htmlEncode(tooltipText))+'"';},ConvertTimePeriodToDaysHoursMinsSeconds:function(timePeriod){var result='';result=timePeriod.Days+' '+Forms.Common.Lang.GetLocaleString('7196A8DC9D9846678CB3621D7E3CDF27',true)+' ' +timePeriod.Hours+' '+Forms.Common.Lang.GetLocaleString('e52cdb10a84f470ea6c15d8cc92e19d9',true)+' ' +timePeriod.Minutes+' '+Forms.Common.Lang.GetLocaleString('a7939253feac4cf2926bc3a8d364707a',true)+' ' +timePeriod.Seconds+' '+Forms.Common.Lang.GetLocaleString('2e122a7e7823491abd73352ae80c57e4',true);return result;},ConvertToString:function(val){if(val===undefined||val===null){return"";} return String(val);},LogMessage:function(message){if(this.IsInDebugMode()){if(console!==undefined){var current=new Date();message+=" "+current.getDate()+"-"+current.getMonth()+"-"+current.getFullYear()+" "+current.getHours()+":"+current.getMinutes()+":"+current.getSeconds()+"."+current.getMilliseconds() console.log(message);}}},IsInDebugMode:function(){if(window.location.href.toLowerCase().indexOf(".debugform")>0){return true;} if(_IS_IN_DEBUG_Mode){return true;} return false;},RemoveQueryString:function(url){return url.split('?')[0];},IsPreviewForm:function(){return!(Forms.Common.Common.GetKeyValue('formversion')=='');},GetAddRowActionData:function(sourceSelectedRowCount,targetTableColumnNamesArray,paramsDataArray){var valuesArray=new Array();var maxSize=1;for(var i=0;imaxSize){maxSize=sourceSelectedRowCount[i];}} for(var i=0;imaxSize){maxSize=sourceSelectedRowCount[i];}} for(var i=0;i0){for(var i=0;i1){return true;} return false;},GetPreviousFormUrl:function(){var referrerUrl;referrerUrl=GetSessionStorageValueForWindow(Forms.Constants.FORM_REFERRER);return referrerUrl;},PushFormHistory:function(url){var formHistory=GetSessionStorageValueForWindow(Forms.Constants.FORM_HISTORY);if(!formHistory){formHistory=[];}else{formHistory=JSON.parse(formHistory);} formHistory.push(url);Forms.Common.Common.UpdateSessionStorageForWindow(Forms.Constants.FORM_HISTORY,JSON.stringify(formHistory));},GetPopFormHistory:function(){var url;var formHistory=GetSessionStorageValueForWindow(Forms.Constants.FORM_HISTORY);if(formHistory){formHistory=JSON.parse(formHistory);url=formHistory.pop();Forms.Common.Common.UpdateSessionStorageForWindow(Forms.Constants.FORM_HISTORY,JSON.stringify(formHistory));} return url;},IsFormStatusBusy:function(){if(this.IsSenchaTouch()&&Ext.Viewport!=undefined){var viewportMaskedItem=Ext.Viewport.getMasked();if(viewportMaskedItem!=undefined&&viewportMaskedItem!=null&&viewportMaskedItem.getId()==="ktaLoadMask"){return viewportMaskedItem.isVisible();}} else{if(Forms.ProgressIndicator!=undefined){return Forms.ProgressIndicator.isFormBusy;}} return false;},getJobId:function(){var jobid=Forms.Common.Common.GetKeyValue('JOB_ID');jobid=jobid?jobid:Forms.Common.Common.GetKeyValue('jobid');return jobid;},getNodeId:function(){var nodeid=Forms.Common.Common.GetKeyValue('NODE_ID');nodeid=nodeid?nodeid:Forms.Common.Common.GetKeyValue('nodeid');return nodeid;},getEPC:function(){var epc=Forms.Common.Common.GetKeyValue('EPC');epc=epc?epc:Forms.Common.Common.GetKeyValue('epc');return epc;},applyHtmlEncode:function(value){return Ext.util.Format.htmlEncode(value);},applyLineBreak:function(value){if(value){value=value.replace("<BR>","
");value=value.replace("<br>","
");value=value.replace("<BR/>","
");value=value.replace("<br/>","
");} return value;},resetIsFieldValid:function(control){control.isFieldValid=true;if(control.resetIsFieldValid){control.resetIsFieldValid();}},refreshFormControlsForDebugging:function(){if(Forms.Testing){Forms.Testing.Debugger.retrieveFormControls();}},truncateChars:function(length,value){if(value){if(length&&length>0){return value.substr(0,length)} else{return value;}} return value;},setFocusOnFormControl:function(formControl,form){function setActiveTab(tab,controlId){if(tab){var tabItem;tab.items.each(function(x){if(x.down('#'+formControl.getId())){tabItem=x;return false;}});tab.setActiveTab(tabItem);}};form.query('#@controlid@ ^ tabpanel'.replace('@controlid@',formControl.getId())).forEach(function(x){setActiveTab(x,formControl.getId());});form.query('#@controlid@ ^ panel'.replace('@controlid@',formControl.getId())).forEach(function(x){x.expand(false);});if(Ext.os.is.iOS){formControl.focus(false);document.getElementById(formControl.getId()).scrollIntoView(true);} else{formControl.focus(false,10);}},getDateWithoutTimezoneConversion:function(jsonDateFromServer){var dateInClientTimezone=Forms.ConversionHelper.parseJsonDate(jsonDateFromServer);var dateInUTCTimezone=new Date(dateInClientTimezone.getUTCFullYear(),dateInClientTimezone.getUTCMonth(),dateInClientTimezone.getUTCDate(),dateInClientTimezone.getUTCHours(),dateInClientTimezone.getUTCMinutes(),dateInClientTimezone.getUTCSeconds(),dateInClientTimezone.getUTCMilliseconds());var serverDate=Ext.Date.add(dateInUTCTimezone,Ext.Date.SECOND,Forms.ConversionHelper.getTimeZoneOffSetInSecondsFromJsonDate(jsonDateFromServer),true);return serverDate;},updateDateValuesInTableRowDataToIgnoreServerTimezoneConversion:function(rowData,tableColumns,mappedColumnName){var columnsWithIgnoreTimeZone=[];if(mappedColumnName){var column=Ext.Array.findBy(tableColumns,function(column){return column.getDataIndex?column.getDataIndex():column.dataIndex===mappedColumnName});if(column&&column.ignoreServerTimeZoneConversion) columnsWithIgnoreTimeZone.push(column);} else{columnsWithIgnoreTimeZone=tableColumns.filter(function(column){return column.ignoreServerTimeZoneConversion});} if(Ext.isDate(rowData)&&mappedColumnName&&columnsWithIgnoreTimeZone.length===1){rowData=Forms.Common.Common.GetISODateStringWithoutTimeZoneConversion(rowData);return rowData;} columnsWithIgnoreTimeZone.forEach(function(column){function getColumnIndex(column){var tableColumnsWithoutSelectorColumn=tableColumns.filter(function(x){return x.getDataIndex?x.getDataIndex():x.dataIndex});for(var index=0;index=4.5){return'rgba(255, 255, 255, 1)';}else{return'rgba(0, 0, 0, 1)';}},setType:function(obj,className){className=className+':http://www.kofax.com/agility/services/sdk';obj=Object.assign({__type:className},obj);return obj;},expandCollapseCell:function(expand,cell){if(cell.collapsible||cell.initialConfig.collapsible){if(cell.rendered){ResumeFormLayoutsIfSuspended(function(){expand?cell.expand():cell.collapse();});}else{if(Forms.Common.Common.IsSenchaTouch()){cell.on('painted',function(){ResumeFormLayoutsIfSuspended(function(){expand?cell.expand():cell.collapse();if(!expand){cell.doCollapseExpand();}});});} else{cell.on('afterrender',function(){ResumeFormLayoutsIfSuspended(function(){expand?cell.expand():cell.collapse();if(!expand){cell.doCollapseExpand();}});});}}}},getParentFormReportingId:function(){if(Forms.Common.Common.canAccessWindowParent()){return window.parent.Forms.Common.Common.reportingId;} return}});function processRedirectURL(formURL){if(Forms.Common.Common.RemoveQueryString(formURL).toLowerCase().indexOf('.form')==-1){try{window.location.href=formURL;} catch(e){} return;} function ExtractFormName(url){var formName=decodeURI(url);if(url.indexOf("?")>0){formName=formName.substring(0,formName.indexOf("?"));} if(formName.indexOf('/')>0){formName=formName.substring(formName.lastIndexOf('/')+1);} return formName;} var nameOfForm=ExtractFormName(formURL);showActivityForm(nameOfForm,formURL,false,true,redirectFormId);};function isCurrentFormMultiView(){var activityContainer=Ext.getCmp(Forms.Constants.MainCardLayoutId);if(activityContainer!==undefined){var currentItems=activityContainer.items;var currentForm=currentItems.first();if(currentForm){var className=currentForm.$className;if(className==='Ext.form.Panel'){if(currentForm&¤tForm.items){var firstItem=currentForm.items.first();if(firstItem&&firstItem.id===Forms.Constants.MultiViewFormId){return true;}}}}} return false;};function doesPopupOriginExist(){if(Forms.Common.Common.canAccessWindowParent()){var popup=window.parent.Ext.getCmp(Forms.Common.Common.GetKeyValue('POPUPWINDOWID'));if(popup!==undefined&&popup.doesOriginExist!==undefined){return popup.doesOriginExist;}} return false;};function processBackRequest(processOnPopState,currentForm,isCurrentViewRedirect){if(Forms.Common.Common.GetKeyValue('POPUPWINDOWID')==""||processOnPopState||doesPopupOriginExist()){if(isCurrentViewRedirect&&Forms.Common.Common.IsSenchaTouch()&&Forms.Common.Common.GetRedirectConfirmation().VerifyRedirect(true)){if(Forms.Common.Common.IsCurrentView(currentForm)){Forms.NavigationViewHelper.RedirectToPreviousView(currentForm);} else{Forms.NavigationViewHelper.RedirectToNewNavigationView(currentForm);}} else if(Forms.Common.Common.IsFormCacheEnabled()){var formCache=Forms.Common.Common.GetFormCache();if(Forms.Common.Common.getUseBreadcrumbTrail()===true){var previousFormUrl=formCache.popFormFromHistory();if(previousFormUrl==null){window.history.back();} else{showActivityForm(Forms.FormCacheHelper.extractFormName(previousFormUrl),previousFormUrl,true,true);}} else{var previousFormUrl=Forms.Common.Common.GetPreviousFormUrl();if(processOnPopState||previousFormUrl==""||previousFormUrl==null){previousFormUrl=formCache.popFormFromHistory();if(!previousFormUrl){window.history.back();}} if(previousFormUrl){if(Forms.Common.Common.GetRedirectConfirmation().getConfirmationRequired()!=true||Forms.Common.Common.GetRedirectConfirmation().getIgnoreRedirectConfirmation()!=false){formCache.addFormToHistory(Forms.FormCacheHelper.getFormUrl(loadedFormUrl,true));} showActivityForm(Forms.FormCacheHelper.extractFormName(previousFormUrl),previousFormUrl,true,true);}}} else{if(Forms.Common.Common.getUseBreadcrumbTrail()===false){var previousFormUrl=Forms.Common.Common.GetPreviousFormUrl();if(previousFormUrl!==""&&previousFormUrl!==undefined&&previousFormUrl!=null){setFormRefferer();if(Forms.Common.Common.GetRedirectConfirmation().getConfirmationRequired()!=true||Forms.Common.Common.GetRedirectConfirmation().getIgnoreRedirectConfirmation()!=false){if(Forms.Common.Common.IsSenchaTouch()&&loadedFormUrl){Forms.Common.Common.PushFormHistory(loadedFormUrl);}} try{window.location.href=previousFormUrl;} catch(e){};} else{window.history.back();}} else if(Forms.Common.Common.getUseBreadcrumbTrail()===true&&Forms.Common.Common.IsSenchaTouch()&&!isCurrentViewRedirect){var previousFormUrl=Forms.Common.Common.GetPopFormHistory();if(previousFormUrl!==""&&previousFormUrl!==undefined&&previousFormUrl!=null){setFormRefferer();try{window.location.href=previousFormUrl;} catch(e){};}} else{if(Forms.Common.Common.getUseBreadcrumbTrail()===true&&!Forms.Common.Common.IsSenchaTouch()){var previousFormUrl=Forms.Common.Common.GetPreviousFormUrl();if(previousFormUrl!==""&&previousFormUrl!==undefined&&previousFormUrl!=null){setFormRefferer();} window.history.back();}}}}};function GetSessionStorageValueForWindow(key){key=key+'_'+window.name;if(sessionStorage.getItem(key)!==""&&sessionStorage.getItem(key)!==undefined){return sessionStorage.getItem(key);}} function setFormRefferer(){if(Forms.Common.Common.GetRedirectConfirmation().getConfirmationRequired()!=true||Forms.Common.Common.GetRedirectConfirmation().getIgnoreRedirectConfirmation()!=false){if(loadedFormUrl){Forms.Common.Common.UpdateSessionStorageForWindow(Forms.Constants.FORM_REFERRER,loadedFormUrl);}}} function showActivityForm(assocFile,formURL,navigatingBack,showNavigationPrompt,formId){if(Forms.Common.Common.RemoveQueryString(formURL).toLowerCase().indexOf('.form')==-1){try{window.location.href=formURL;} catch(e){} return;} assocFile=Forms.FormCacheHelper.removeFileExtension(assocFile);function GetFormJsFileName(fileName,url,showNavigationPrompt,formId){var formIdentity=Ext.create('Forms.Custom.Classes.FormIdentity',{});formIdentity.setName(fileName);formIdentity.setId(formId);var siteIdentity=Ext.create('Forms.Custom.Classes.SiteIdentity',{});siteIdentity.setName(Forms.Common.Common.GetTargetFormSiteName(url));var runtimeFormIdentity=Ext.create('Forms.Custom.Classes.RuntimeFormIdentity');runtimeFormIdentity.setSiteIdentity(siteIdentity);runtimeFormIdentity.setFormIdentity(formIdentity);var formService=Ext.create('Forms.Custom.ServiceCalls.FormService',{});formService.GetFormFilePaths(GetFormJsFileNameSucceeded,runtimeFormIdentity,{fileName:fileName,newUrl:url,currentUrl:window.location.href,showNavigationPrompt:showNavigationPrompt});} function GetFormJsFileNameSucceeded(serviceResult,userData){var fileName;var newUrl=userData.newUrl;var currentUrl=userData.currentUrl;if(serviceResult.d){if(!Forms.Common.Common.IsSenchaTouch()&&(serviceResult.d.IsTouch||serviceResult.d.IsMultiview)){window.location.href=userData.newUrl;return;} else{if(userData.showNavigationPrompt){if(Forms.Common.Common.GetRedirectConfirmation().VerifyRedirect(true)==false){return;}} fileName=serviceResult.d.FormName;var formVersion=Forms.FormCacheHelper.extractVersionFromFormName(serviceResult.d.FormJS);var formCache=Forms.Common.Common.GetFormCache();formCache.removeCaptureFormFromCache(Forms.FormCacheHelper.formatFileName(assocFile),formVersion,null);var formIsInCache=formCache.isFormInCache(Forms.FormCacheHelper.formatFileName(assocFile),formVersion,null);if(formIsInCache){Forms.Common.Common.headerAndNavController.refreshHeaderAndNavigation(serviceResult.d);Forms.FormCacheHelper.reLoadFormFromCache(fileName,formVersion,formCache,newUrl,navigatingBack);} else{Forms.Common.Common.LoadJsCssFile(Forms.Common.Common.GetFormsLocation()+'/'+serviceResult.d.FormJS,'js');Forms.Common.Common.headerAndNavController.refreshHeaderAndNavigation(serviceResult.d);var captureOptions={};captureOptions.CaptureControlLayout=serviceResult.d.CaptureControlLayout;captureOptions.LockedLayout=serviceResult.d.LockedLayout;Forms.FormCacheHelper.loadNewFormIntoCache(fileName,formVersion,newUrl,currentUrl,serviceResult.d.FormJS,formCache,navigatingBack,captureOptions);}}}} GetFormJsFileName(assocFile,formURL,showNavigationPrompt,formId);};function LoadController(controllerName){return Forms.Common.Common.GetCurrentApplicationObject().getApplication().getController(controllerName);};function SetFieldVerification(captureReferenceType,fieldDef){var fieldFound=false;var fieldDefId=fieldDef.id;if(fieldDefId.indexOf("_")>0){fieldDefId=fieldDefId.substring(fieldDefId.indexOf("_")+1);} for(var i=0;i0){fieldDefId=fieldDefId.substring(fieldDefId.indexOf("_")+1);} for(var i=0;i=0){if(isVisble){if(control.hideLabel==true){control.setLabelWidth(control.getLabelWidth());if(control.width&&control.width.toString().indexOf("%")==-1){control.setWidth(control.getWidth()+control.getLabelWidth())} control.setHideLabel(false);}} else{if(control.hideLabel==false){if(control.width&&control.width.toString().indexOf("%")==-1){control.setWidth(control.getWidth()-control.getLabelWidth());} control.setLabelWidth(0);control.setHideLabel(true);}}}} else{var eventToRender='afterrender';if(Forms.Common.Common.IsSenchaTouch()){eventToRender='painted';} if(isVisble){if(!control.rendered){control.on(eventToRender,function(){control.showColumn(colName);})} else{control.showColumn(colName);}} else{if(!control.rendered){control.on(eventToRender,function(){control.hideColumn(colName);})} else{control.hideColumn(colName);if(control.$className=="Forms.Controls.Standard.Table"){control.resizeColumns();}}}}}};function GetVerificationMode(verificationMode){switch(verificationMode){case Forms.Constants.VERIFICATION_MODE.CONFIRM.value:return Forms.Constants.VERIFICATION_MODE.CONFIRM.name;case Forms.Constants.VERIFICATION_MODE.BLINDDOUBLEKEYING.value:return Forms.Constants.VERIFICATION_MODE.BLINDDOUBLEKEYING.name;case Forms.Constants.VERIFICATION_MODE.READONLY.value:return Forms.Constants.VERIFICATION_MODE.READONLY.name;}} function ProcessUrl(url){if(url){if((url.indexOf("http://")<0)&&(url.indexOf("https://")<0)){if(url.indexOf("www.")>-1){return"http://"+url;}}} if(Forms.Common.Common.GetSiteName()!=''&&Forms.Common.Common.GetSiteName()!=null&&formUrl.indexOf('http')<0&&formUrl.indexOf('https')<0){if(formUrl.indexOf('./')==0) formUrl='.'+formUrl;else formUrl='../'+formUrl;} else if(url.match(Forms.Constants.CUSTOM_HELP_PATH)){var siteName=Forms.Common.Common.GetSiteName();if(siteName!=''&&siteName!=null){var formsLocation=Forms.Common.Common.GetFormsLocation()+Forms.Constants.FORMS+"/Custom/Help.html";url=formsLocation;} else{url=url;}} return url;};function ValidForm(control,form){var tempForm=form;if(control){form=control.up('form');if(form===undefined||form===null){form=tempForm;}} var baseForm=form.getForm();var ChecklistsValid=true;var contrlArray=form.controlManager.controlArray;for(var k=0;k0){if(controlArray[k].xtype=='textfield'&&controlArray[k]._value!=''){fieldsArray.pushIfNotExist({name:controlArray[k]._name},function(e){return e.name===controlArray[k]._name});validationArray.push({field:controlArray[k]._name,type:'length',max:touchcontrol._component._maxLength,message:'length must be less than '+touchcontrol._component._maxLength+'.'});}} if(controlArray[k].regex&&controlArray[k].xtype!=='urlfield'&&!controlArray[k]._disabled&&controlArray[k]._value!=''){fieldsArray.pushIfNotExist({name:controlArray[k]._name},function(e){return e.name===controlArray[k]._name});validationArray.push({field:controlArray[k]._name,type:'format',matcher:controlArray[k].regex,message:touchcontrol.blankText!==undefined?touchcontrol.blankText:'Invalid Format.'});} if(controlArray[k].xtype=='urlfield'&&!controlArray[k]._disabled&&controlArray[k]._value!=''){controlArray[k].regex=new RegExp(/(http[s]?|ftp):\/\/([\w-]+\.)+[\w-]+(\/[\w- .\/?%&=]*)?/);fieldsArray.pushIfNotExist({name:controlArray[k]._name},function(e){return e.name===controlArray[k]._name});validationArray.push({field:controlArray[k]._name,type:'format',matcher:controlArray[k].regex,message:touchcontrol.blankText!==undefined?touchcontrol.blankText:'Invalid Format.'});} if(controlArray[k].isFieldValid!==undefined){if(!controlArray[k].isFieldValid&&!controlArray[k]._disabled){fieldsArray.pushIfNotExist({name:controlArray[k]._name},function(e){return e.name===controlArray[k]._name});validationArray.push({field:controlArray[k]._name,type:'format',message:controlArray[k].blankText!==undefined?touchcontrol.blankText:''});}}} touchcontrol=undefined;} var model=Ext.define('CommonModel',{extend:'Ext.data.Model',alias:'model.form',fields:fieldsArray,validators:validationArray});return Validate(null,null,null,currentForm);} function Validate(button,e,options,currentForm){var formObj=currentForm;var formData=formObj.getValues?formObj.getValues():null;var usr=Ext.create('CommonModel',formData);var errs=usr.validate();ValidateRange(errs,currentForm);var errorsArray=new Array();if(!errs.isValid()){var errortitleitem=Ext.create('Ext.Label',{html:'Errors:',style:'font-weight:bold; color: red'});errorsArray.push(errortitleitem);for(var p=0;ptouchcontrol.maxValue){var customError=Ext.create('Ext.data.Error',{field:controlArray[k]._name,message:touchcontrol.blankText!==undefined?touchcontrol.blankText:'The maximum value for this field is '+touchcontrol.maxValue});errs.add(customError);}} touchcontrol=undefined;}}};function GetCssStyleRule(cssclassName){var cssclasses=document.styleSheets[1].rules||document.styleSheets[1].cssRules;for(var x=0;x0)?"'["+fileUploadControl.accept.toString()+"]',":"'',");restrictedFileTypesString=restrictedFileTypesString+((fileUploadControl.restrict&&fileUploadControl.restrict.length>0)?"'["+fileUploadControl.restrict.toString()+"]',":"'',");} target='['+destinationArrayString.substring(0,destinationArrayString.length-1)+']';overwrite='['+overWriteArrayString.substring(0,overWriteArrayString.length-1)+']';folderid='['+folderIdArrayString.substring(0,folderIdArrayString.length-1)+']';storeinrepository='['+storeInRepositoryArray.substring(0,storeInRepositoryArray.length-1)+']';uploadConfirmed='['+uploadConfirmedArray.substring(0,uploadConfirmedArray.length-1)+']';allowed='['+allowedFileTypesString.substring(0,allowedFileTypesString.length-1)+']';restricted='['+restrictedFileTypesString.substring(0,restrictedFileTypesString.length-1)+']';names=names.replace(/"/g,"'");setClearOnSubmitForFileUpload(form,controlnames);form.submit({clientValidation:false,submit:true,method:'POST',url:'file.upload?name='+names+'&target='+target+'&overwrite='+overwrite+'&folderid='+folderid+'&storeinrepository='+storeinrepository+'&uploadconfirmed='+uploadConfirmed+'&allowed='+allowed+'&restricted='+restricted,success:function(fp,o){resetClearOnSubmitToOriginalValue(form);Ext.Msg.hide();if(o.result){var successresult;var fileUploadControls=new Array();if(o.result.result){successresult=o.result.result;} else{successresult=o.result;} for(var i=0;i0)?"'["+fileUploadControl.accept.toString()+"]',":"'',");restrictedFileTypesString=restrictedFileTypesString+((fileUploadControl.restrict&&fileUploadControl.restrict.length>0)?"'["+fileUploadControl.restrict.toString()+"]',":"'',");});var target='['+destinationArrayString.substring(0,destinationArrayString.length-1)+']';var overwrite='['+overWriteArrayString.substring(0,overWriteArrayString.length-1)+']';folderid='['+folderIdArrayString.substring(0,folderIdArrayString.length-1)+']';var storeinrepository='['+storeInRepositoryArray.substring(0,storeInRepositoryArray.length-1)+']';var uploadConfirmed='['+uploadConfirmedArray.substring(0,uploadConfirmedArray.length-1)+']';var allowed='['+allowedFileTypesString.substring(0,allowedFileTypesString.length-1)+']';var restricted='['+restrictedFileTypesString.substring(0,restrictedFileTypesString.length-1)+']';names=names.replace(/"/g,"'");setClearOnSubmitForFileUpload(form,controlnames);Ext.Msg.show({buttons:[],title:Forms.Common.Lang.GetLocaleString('e834bc1fee71446aab2ca1c222af8d2f',true),msg:Forms.Common.Lang.GetLocaleString('74444040604d4362b4d7bef202be282a',true),message:Forms.Common.Lang.GetLocaleString('74444040604d4362b4d7bef202be282a',true),progressText:Forms.Common.Lang.GetLocaleString('e834bc1fee71446aab2ca1c222af8d2f',true),width:300,wait:true,waitConfig:{interval:200}});form.submit({clientValidation:false,submit:true,method:'POST',url:'file.upload?name='+names+'&target='+target+'&overwrite='+overwrite+'&folderid='+folderid+'&storeinrepository='+storeinrepository+'&uploadconfirmed='+uploadConfirmed+'&allowed='+allowed+'&restricted='+restricted,success:function(fp,o){resetClearOnSubmitToOriginalValue(form);Ext.Msg.hide();if(o.result){var successresult;if(o.result.result){successresult=o.result.result;} else{successresult=o.result;} for(var i=0;i0){var variable=new Array(returnDataArray.length/4);for(var i=0;i0){for(var i=0;i0){validResourceForAccess=false;Ext.Msg.alert(Forms.Common.Lang.GetLocaleString('5c8592e286934cab9c3b16be0879e101',true),Forms.Common.Lang.GetLocaleString('5718707a759448658ab168d34ffcad85',true));} if(validResourceForAccess){if(resourceId){if(currentUserIdWithGroups&¤tUserIdWithGroups.getAssociatedGroups()){var resourceFound=currentUserIdWithGroups.IsResourceInGroup(currentUserIdWithGroups.getAssociatedGroups(),resourceSecurityList);if(resourceFound){validResourceForAccess=false;} if(!validResourceForAccess){executeNoAccessMethod();Ext.Msg.alert(Forms.Common.Lang.GetLocaleString('5c8592e286934cab9c3b16be0879e101',true),Forms.Common.Lang.GetLocaleString('5718707a759448658ab168d34ffcad85',true));}}}} else{executeNoAccessMethod();}} else if(!resourceId&&resourceSecurityList.length>0){validResourceForAccess=false;Ext.Msg.alert(Forms.Common.Lang.GetLocaleString('5c8592e286934cab9c3b16be0879e101',true),Forms.Common.Lang.GetLocaleString('5718707a759448658ab168d34ffcad85',true));executeNoAccessMethod();} else{if(!Ext.Array.contains(resourceSecurityList,resourceId)){validResourceForAccess=false;} if(!validResourceForAccess){if(resourceId){if(currentUserIdWithGroups&¤tUserIdWithGroups.getAssociatedGroups()){validResourceForAccess=currentUserIdWithGroups.IsResourceInGroup(currentUserIdWithGroups.getAssociatedGroups(),resourceSecurityList);if(!validResourceForAccess){executeNoAccessMethod();Ext.Msg.alert(Forms.Common.Lang.GetLocaleString('5c8592e286934cab9c3b16be0879e101',true),Forms.Common.Lang.GetLocaleString('5718707a759448658ab168d34ffcad85',true));}}} else{executeNoAccessMethod();Ext.Msg.alert(Forms.Common.Lang.GetLocaleString('5c8592e286934cab9c3b16be0879e101',true),Forms.Common.Lang.GetLocaleString('5718707a759448658ab168d34ffcad85',true));}}}}} if(validResourceForAccess){executeHasAccessMethod();}} function ProcessMenuSecurityAccessForResource(resourceSecurityList,allowAll,menuitem,verticalMenu){var validResourceForAccessMenu=true;var resourceId=Forms.SessionVariables.getSessionVariable('RESOURCE_ID');if(allowAll){if(Ext.Array.contains(resourceSecurityList,resourceId)){validResourceForAccessMenu=false;} if(validResourceForAccessMenu){if(resourceId){if(currentUserIdWithGroups&¤tUserIdWithGroups.getAssociatedGroups()){var resourceFound=currentUserIdWithGroups.IsResourceInGroup(currentUserIdWithGroups.getAssociatedGroups(),resourceSecurityList);if(resourceFound){validResourceForAccessMenu=false;} if(!validResourceForAccessMenu){verticalMenu?verticalMenu.hideMenuItem(menuitem.name):menuitem.setHidden(true);}}}} else{verticalMenu?verticalMenu.hideMenuItem(menuitem.name):menuitem.setHidden(true);}} else{if(!Ext.Array.contains(resourceSecurityList,resourceId)){validResourceForAccessMenu=false;} if(!validResourceForAccessMenu){if(resourceId){if(currentUserIdWithGroups&¤tUserIdWithGroups.getAssociatedGroups()){validResourceForAccessMenu=currentUserIdWithGroups.IsResourceInGroup(currentUserIdWithGroups.getAssociatedGroups(),resourceSecurityList);if(!validResourceForAccessMenu){verticalMenu?verticalMenu.hideMenuItem(menuitem.name):menuitem.setHidden(true);}}} else{verticalMenu?verticalMenu.hideMenuItem(menuitem.name):menuitem.setHidden(true);}}}} function addToStore(mainMenu,menuItem,store){var model=store.getRoot().findChild('id',mainMenu.id,true);model.appendChild(menuItem);} function GetBoolValue(val){try{switch(val.toUpperCase()){case"YES":case"Y":case"TRUE":case"T":case"-1":case"1":return true;case"NO":case"N":case"FALSE":case"F":case"0":return false;default:return false;}} catch(err){if(val==true) return true;else return false;}} function CalculateCharCount(width,percentage){var actualWidth=(width/100)*percentage;var characterCount=actualWidth/Forms.Constants.PIXELS_PER_CHARACTER;return Math.round(characterCount);} function GetDropdownDisplayTemplate(keyPercentageWidth,valuePercentageWidth,fieldWidth,textKey,valueKey){var Text=textKey?textKey:'Text';var Value=valueKey?valueKey:'Value';var txtEllipsisCutoff=CalculateCharCount(fieldWidth,keyPercentageWidth);var valEllipsisCutoff=CalculateCharCount(fieldWidth,valuePercentageWidth);var tpl=Ext.create('Ext.XTemplate','','
','','{[this.formatSpecialCharacters(values.'+Text+','+txtEllipsisCutoff+')]}','{[this.formatSpecialCharacters(values.'+Value+','+valEllipsisCutoff+')]}','','
','
',{formatSpecialCharacters:function(value,ellipsisCutoff){if(value){value=Ext.util.Format.htmlEncode(value);if(value.length>ellipsisCutoff){return Ext.util.Format.ellipsis(value,ellipsisCutoff);}} return value;}});return tpl;} function GetDropdownDisplayValueTemplate(keyPercentageWidth,valuePercentageWidth,fieldWidth,fontname,fontsize,color,bold,italic,underline,strikethrough,overline,textKey,valueKey){var Text=textKey?textKey:'Text';var Value=valueKey?valueKey:'Value';var txtEllipsisCutoff=CalculateCharCount(fieldWidth,keyPercentageWidth);var valEllipsisCutoff=CalculateCharCount(fieldWidth,valuePercentageWidth);var fontStyle='';var textStyle='';if(!bold&&!italic){fontStyle='normal ';} else{if(bold){fontStyle='bold ';} if(italic){fontStyle=fontStyle+'italic ';}} if(!underline&&!strikethrough&&!overline){textStyle='none';} else{if(underline){textStyle='underline ';} if(strikethrough){textStyle=textStyle+'line-through ';} if(overline){textStyle=textStyle+'overline ';}} var lineHeight;if(fontsize<=24){lineHeight="30px";} else{lineHeight="auto";} var itemStyle='font:'+fontStyle+fontsize+"px "+fontname+';color:'+color+';text-decoration:'+textStyle+';line-height:'+lineHeight+';';var tpl=Ext.create('Ext.XTemplate','','
','','{'+Text+':ellipsis('+txtEllipsisCutoff+', true)}','{'+Value+':ellipsis('+valEllipsisCutoff+', true)}','','
','
');return tpl;} function PopulateLookupInDropDownList(lookupId,succeeded,userData){var serverService=Ext.create('Forms.Custom.ServiceCalls.ServerService',{});var lookupIdentity=Ext.create('Forms.Custom.Classes.LookupIdentity',{});lookupIdentity.setId(lookupId);serverService.GetLookup(succeeded,lookupIdentity,userData,true);} function PopulateLookupSucceeded(serviceResult,UserData){var response=serviceResult.d;var foundPrompt=false;var foundDefault=false;var setDefaults=true;var lookupPromptValue=null;var languageFound=false;if(response!==undefined){var lookupObj=Ext.create('Forms.Custom.Classes.Lookup',{});var lookupDefaultValue;lookupObj.fromObject(response);response=lookupObj.toObject();var lookupItems=response.Items;var Lookupdata=new Array();if(response.LanguageItems&&response.LanguageItems.length>0){for(var n=0;n-1||response[0].EventOutputs[i].ColumnNames[0].indexOf(userData.getDataIndex())>-1){var dropDownItems=response[0].EventOutputs[i].OutputData;for(var p=0;p-1){var dropDownItems=response[0].EventOutputs[i].OutputData;for(var p=0;p1?col[1].toUpperCase():col[0].toUpperCase())){columnIndex=colIndex;break;}}else{if(column.dataIndex&&(column.dataIndex.toUpperCase()==col.length>1?col[1].toUpperCase():col[0].toUpperCase())){columnIndex=colIndex;break;}}} var colPairIndex=-1;if(col[2]=='Text'){var x=col[0]+'.'+col[1]+'.Value';colPairIndex=x.inList(eventOuput.ColumnNames);}else{var x=col[0]+'.'+col[1]+'.Text';colPairIndex=x.inList(eventOuput.ColumnNames);} if(colPairIndex!=-1){retreivedColIndexes.push(colPairIndex);for(var p=0;p0){columns[i].Width=columns[i].Width-0.1;} var widthPercentage=columns[i].Width.toString()+widthEndString;columns1.push(Ext.create('Ext.grid.column.Column',{id:columns[i].Identity.Id,header:columns[i].DisplayName,dataIndex:columns[i].Title,hidden:columns[i].Hidden,width:widthMode==0?widthFixed:widthPercentage}));} var table1=Ext.create('Ext.grid.Panel',{store:tableStore,columns:columns1,margin:'4 0 2 0',flex:1,listeners:{select:function(table,record,index,eOpts){popupFormSubmitButton.setDisabled(false);},itemdblclick:function(table,record,item,index,e,eOpts){popupFormSubmitButton_Click();}}});function onButtonClick_popupSearchButton(userData){if(ValidForm(_popupSearchButton)){ShowMask();if(options[0]=="SearchFuzzyDatabase"){popupFormSubmitButton.setDisabled(true);var FuzzyDatabaseIdentity=Ext.create('Forms.Custom.Classes.FuzzyDatabaseIdentity',{});FuzzyDatabaseIdentity.setName(options[1]);if(options[4].length!=0){FuzzyDatabaseIdentity.setDisplayName(options[4]);} var DocumentTypeIdentity=Ext.create('Forms.Custom.Classes.DocumentTypeIdentity',{});DocumentTypeIdentity.setId(options[2]);var searchQuery=Ext.create('Forms.Custom.Classes.SearchQuery',{});searchQuery.setNumberOfRowsToReturn(options[3]);searchQuery.setSearchWords(textbox1.getValue());var fuzzyDatabaseFilterFields=Ext.create('Forms.Custom.Classes.FuzzySearchFilterCollection',{});fuzzyDatabaseFilterFields.fromObject(filterFields);searchQuery.setFuzzySearchFilters(fuzzyDatabaseFilterFields);if(textbox1.getValue()!=null){var data='{"sessionId": "'+Forms.Common.Common.GetSessionID()+'","databaseIdentity":'+FuzzyDatabaseIdentity.toJSON()+',"query":'+searchQuery.toJSON()+',"documentTypeIdentity":'+DocumentTypeIdentity.toJSON()+'}';Forms.WebServiceHelper.CallService(Forms.Constants.CAPTURE_DOCUMENT_WEB_SERVICE_URL,"SearchFuzzyDatabase",data,SearchFuzzyDatabaseSucceeded,SearchFuzzyDatabaseFailed,null);} else{tableStore.removeAll();}}}};var Cell1=Ext.create('Ext.container.Container',{id:'f24c603a08804997adbadf813998cae1',name:'Cell1',layout:{align:'stretch',type:'hbox'},items:[textbox1,_popupSearchButton]});function ShowMask(){popupFormDialogWindow.getEl().mask(Forms.Common.Lang.GetLocaleString('8B1FBD9C3DA647B49C24134B1F30CFD4',true));} function HideMask(){popupFormDialogWindow.unmask();} function SearchFuzzyDatabaseFailed(serviceResult,UserData){Forms.WebServiceHelper.ServiceFailed(serviceResult);HideMask();} function SearchFuzzyDatabaseSucceeded(serviceResult,UserData){var reOrderedResults=[];var results=serviceResult.d.RecordItems;var resultsColumnHeaders=[];serviceResult.d.FieldMappingCollection.forEach(function(item){resultsColumnHeaders.push(item.DatabaseField.Name);});results.forEach(function(row){var reOrderedRow={Columns:[]};displayColumns.forEach(function(col){row.Columns.forEach(function(resulsCol,resultColumnIndex){if(resultsColumnHeaders[resultColumnIndex]===col.Title){reOrderedRow.Columns.push(resulsCol);}});});reOrderedResults.push(reOrderedRow);});serviceResult.d.RecordItems=reOrderedResults;var response=serviceResult.d;HideMask();if(response!==undefined){tableStore.removeAll();if(response.RecordItems.length<1){Forms.MessageHelper.DisplayMessageBox1(Forms.Common.Lang.GetLocaleString('E2D953CE7F754BF2838067671F68C8BC',true),Forms.Common.Lang.GetLocaleString('A130AF12EAC048609211F7FA8DFD68F7',true),Ext.emptyFn);} if(response.RecordItems!=undefined){var recArray=new Array();for(var i=0;i0){for(var i=0;i0){rec[table1.columns[j].dataIndex]=response[j].DocumentFieldAlternatives[i].Text;}} tableStore.add(rec);}}}};Ext.applyIf(thisForm,{items:[Cell1,table1]});thisForm.callParent(arguments);thisForm.on('afterrender',function(){new Ext.KeyMap({target:textbox1.bodyEl,key:Ext.event.Event.ENTER,shift:false,alt:false,fn:function(keyCode,e){onButtonClick_popupSearchButton();return false;},scope:this});});}});var popupFormSubmitButton=Ext.create('Ext.Button',{id:'popupFormSubmitButton',margin:'0 5 0 2',width:100,disabled:options[0]=="SearchFuzzyDatabase"||options[0]=="AlternateExtractionSearch",text:Forms.Common.Lang.GetLocaleString('0929b8e0b59c1536a75aeb32b828595d',true),listeners:{'click':popupFormSubmitButton_Click}});var popupFormCancelButton=Ext.create('Ext.Button',{id:'popupFormCancelButton',text:Forms.Common.Lang.GetLocaleString('b29d0d1ec9baba61af3ef33c090fc9aa',true),width:100,listeners:{'click':popupFormCancelButton_Click}});var popupForm=Ext.create('PopupForm',{});var dialogWidth=options[6];if(widthMode==0){dialogWidth+=40;} var popupFormDialogWindow=Ext.create('Ext.window.Window',{title:Forms.Common.Lang.GetLocaleString('608a3464fdb140d1af674d9b427c3fe1',true),height:options[7],width:dialogWidth+widthEndString,modal:false,layout:'fit',closable:true,items:popupForm,closeAction:'destroy',closeToolText:Forms.Common.Lang.GetLocaleString('253C1315B49741EB9DF30EC10A65EEB1',true),dockedItems:[{xtype:'toolbar',dock:'bottom',ui:'footer',layout:{pack:'end'},items:[popupFormSubmitButton,popupFormCancelButton]}],listeners:{'destroy':function(){popupFormDialogWindowDisplayed=false;},'afterrender':function(){maskCount=CEBPM.controller.AppConfig.hideMask();Ext.getCmp('0762C9936F194403BFD03904C24E0C78').focus();}}});function popupFormSubmitButton_Click(button,e,eOpts){var data={};var grid=popupFormDialogWindow.items.items[0].items.items[1];if(grid.getSelectionModel().getSelection().length>0){var columnData=grid.getSelectionModel().getSelection()[0];for(var i=0;i0&&styleTextValue.indexOf('background-image')<0&&styleTextValue.indexOf('background:')<0&&styleTextValue.indexOf('background ')<0){styleTextValue=styleTextValue.replace('}','; background-image:none !important; }');} if(combinationCssClasses){styleTextValue=combinationCssClasses+styleTextValue;} if(selectors){styleTextValue=styleTextValue.replace('{',' '+selectors+'{');} var styleTag=document.getElementsByTagName('style');if(styleTag.length==0){var style=document.createElement('style');style.type='text/css';style.innerHTML=styleTextValue;document.getElementsByTagName('head')[0].appendChild(style);} else{if(selectors){if(combinationCssClasses){if(styleTag[0].innerHTML.indexOf(combinationCssClasses+className+' '+selectors)==-1&&styleTag[0].innerHTML.indexOf(combinationCssClasses+className+' '+selectors)==-1){styleTag[0].innerHTML+='\n'+styleTextValue;}} else{if(styleTag[0].innerHTML.indexOf(className+' '+selectors)==-1&&styleTag[0].innerHTML.indexOf(className+' '+selectors)==-1){styleTag[0].innerHTML+='\n'+styleTextValue;}}} else{if(combinationCssClasses){if(styleTag[0].innerHTML.indexOf(combinationCssClasses+className)==-1){styleTag[0].innerHTML+='\n'+styleTextValue;}} else{if(styleTag[0].innerHTML.indexOf(className)==-1){styleTag[0].innerHTML+='\n'+styleTextValue;}}}}}} function createCSSSelector(selector,style){if(!document.styleSheets)return;if(document.getElementsByTagName('head').length==0)return;var styleSheet,mediaType;if(document.styleSheets.length>0){for(var i=0,l=document.styleSheets.length;i0){LoadJsFile(navigationArray[formJSLoadcount]);} else{successCallback();}} function LoadFormInSameWindowSucceded(serviceResult,url){if(serviceResult){var showConfirmationOnRedirect=true;if(Forms.Common.Common.IsSenchaTouch()){if(!serviceResult.d.IsTouch){showConfirmationOnRedirect=false;window.location.href=url;}} else{if(serviceResult.d.IsTouch){showConfirmationOnRedirect=false;window.location.href=url;}} var formJsArray=serviceResult.d.Files;var formJSLoadcount=0;var formTotalScript="";function LoadJsFile(fileName){var tempFileName=fileName;if(tempFileName.indexOf('?')>0){tempFileName=tempFileName.substring(0,tempFileName.indexOf("?"));} if(tempFileName.toLowerCase().indexOf(".css")>0){Forms.Common.Common.LoadJsCssFile(Forms.Common.Common.GetFormsLocation()+"/"+fileName,"css");LoadJsFile(formJsArray[formJSLoadcount++]);} else{$.ajax({url:Forms.Common.Common.GetFormsLocation()+"/"+fileName,dataType:"text/plain",async:true,complete:function(xhr){formTotalScript+=xhr.responseText+"\n";if(formJSLoadcount!=formJsArray.length){if(formJSLoadcount==formJsArray.length-1){formTotalScript+="\n var el = document.getElementById('wrapper');if(el!=null){el.innerHTML = '';} \n";} LoadJsFile(formJsArray[formJSLoadcount++]);} else{DisposeControls();$.globalEval(formTotalScript);formTotalScript="";delete formTotalScript;Forms.ProgressIndicator.Hide();}}});}} if(showConfirmationOnRedirect&&Forms.Common.Common.GetRedirectConfirmation().VerifyRedirect(true)){LoadJsFile(formJsArray[formJSLoadcount]);} else{Forms.ProgressIndicator.Hide();}}} function DisposeControls(){if(Ext.Viewport){Ext.Viewport.hideAllMenus();Ext.destroy(Ext.Viewport)} var mainContainer=Ext.getCmp(Forms.Constants.MainContainerId);if(mainContainer){mainContainer.removeAll(true);Ext.destroy(mainContainer);} if(thisForm&&thisForm.controlManager){thisForm.controlManager.controlArray=new Array();} Ext.destroy(thisForm);thisForm=null;delete thisForm;Ext.destroy(Ext.getCmp(Forms.Constants.NavigationViewId));Ext.data.StoreManager.each(function(item){if(item.storeId!==Forms.Constants.EmptyStoreId){UnsubscribeToEvents(item);if(item.destroyStore!==undefined) item.destroyStore();else{item.destroy();}}});if(Ext.EventManager){Ext.EventManager.isFiring=false;} var componentManager=Ext.ComponentManager;if(componentManager&&componentManager.clearAll){componentManager.clearAll();}} function disposeForm(formToRemove){formToRemove.fireEvent('delete_form');if(formToRemove.controlManager){for(var n=0;n0&&locale[0]==locale[1]){localeIdentifier=locale[0];}} src=filePath+'.'+localeIdentifier+'.formjs?FormName='+formName;} if(formLastModifiedDate){src+='&FormLastModifiedDate='+encodeURIComponent(formLastModifiedDate);} Forms.Common.Common.LoadJsCssFile(src,"js");},getFormName:function(filePath){var parts=filePath.split("/");return parts[parts.length-1];},getLocale:function(){var myLocale=null;if(!Ext.isEmpty(Forms.SessionVariables.getSessionVariable("SELECTOR_LANGUAGE"))){myLocale=Forms.SessionVariables.getSessionVariable("SELECTOR_LANGUAGE");}else{if(typeof UICulture!="undefined"){myLocale=UICulture;} else{myLocale=this.getBrowserLanguage();}} if(Ext.isEmpty(myLocale)){myLocale=this.DEFAULT_LOCALE;} return myLocale.toLowerCase();},getLocales:function(locale){var locales=new Array(locale);var localeParts=locale.split('-');if(this.isThreePartLocale(localeParts)){locales.push(localeParts[this.LANGUAGE_PART]+'-'+localeParts[this.COUNTRY_CODE_PART]);locales.push(localeParts[this.LANGUAGE_PART]+'-'+localeParts[this.SCRIPT_PART]);locales.push(localeParts[this.LANGUAGE_PART]);} if(this.isTwoPartLocale(localeParts)){locales.push(localeParts[this.LANGUAGE_PART]);} locales.push(this.DEFAULT_LOCALE);return locales;},isTwoPartLocale:function(localeParts){return(localeParts.length===2);},isThreePartLocale:function(localeParts){return(localeParts.length===3);},copyLocalisationStrings:function(locale,formType,formId,formName){if(formType&&formType=='documentType'&&typeof documentResources!="undefined"){if(documentResources[locale]!==undefined){if(RESOURCES[locale]===undefined){RESOURCES[locale]=new Object();} for(property in documentResources[locale]){RESOURCES[locale][property]=documentResources[locale][property];} documentResources[locale]=undefined;}} else if(formType&&formType=='folderType'&&typeof folderResources!="undefined"){if(folderResources[locale]!==undefined){if(RESOURCES[locale]===undefined){RESOURCES[locale]=new Object();} for(property in folderResources[locale]){RESOURCES[locale][property]=folderResources[locale][property];} folderResources[locale]=undefined;}} else{var res;if(formId&&window['resources_'+formId]){res=window['resources_'+formId];} else if(formName&&window['resources_'+formName]){res=window['resources_'+formName];} else if(this.formName&&window['resources_'+this.formName.toLowerCase()]){res=window['resources_'+this.formName.toLowerCase()];} if(res&&res[locale]!==undefined){if(RESOURCES[locale]===undefined){RESOURCES[locale]=new Object();} for(property in res[locale]){RESOURCES[locale][property]=res[locale][property];} res[locale]=undefined;}}},getBrowserLanguage:function(){var language=null;if(navigator){if(navigator.language){language=navigator.language;} else if(navigator.browserLanguage){language=navigator.browserLanguage;} else if(navigator.systemLanguage){language=navigator.systemLanguage;} else if(navigator.userLanguage){language=navigator.userLanguage;}} return language;},GetLocaleString:function(key,isGlobal){var result=this.DEFAULT_RESULT;if(this.locales!=null){for(var index=0;index-1){filepath=filepath.substr(3);} else if(siteName&&filepath.indexOf(Forms.Constants.FormsNonSiteParentDirectoryPathPrefix)>-1&&!(filepath.indexOf(Forms.Constants.FormsSiteParentDirectoryPathPrefix)>-1)){filepath=Forms.Constants.FormsNonSiteParentDirectoryPathPrefix+filepath;} return filepath;}});if(Ext.ClassManager.get('Ext.list.Tree')){Ext.define('Forms.Common.MenuTreeControl',{extend:'Ext.list.Tree',expanderFirst:false,expanderOnly:false,singleExpand:true,indent:20,store:{root:{children:[{iconCls:'icon-menu',text:' ',rowCls:'menuBarsItemRow firstLevelTreeListItemRow',leaf:true,name:'menuBarsItem'}]}},config:{isCollapsible:false,isCollapsed:false,originalWidth:0,},getIsCollapsed:function(){return this.getIsCollapsible()&&this.callParent();},constructor:function(config){this.callParent(arguments);Ext.apply(this,config);this.collapsedWidth=28;this.setWidth(this.getIsCollapsed()?this.collapsedWidth:this.originalWidth);if(!this.getIsCollapsible()){this.hideMenuItem('menuBarsItem');}},listeners:{itemClick:function(treeList,info){if(info.node.data.name==='menuBarsItem'){treeList.toggleExpandCollapse();}}},addMenuItems:function(menuItems){var me=this;var addMenuItemIconClass;addMenuItemIconClass=function(menuItems){menuItems.forEach(function(menuItem){if(menuItem.icon){menuItem.iconCls='menuitemicon'+menuItem.name;$('head').append(''.replace('@ClassName@',menuItem.iconCls).replace('@Icon@',menuItem.icon));} else{menuItem.iconCls=null;} if(!menuItem.leaf){addMenuItemIconClass(menuItem.children);}});};addMenuItemIconClass(menuItems);menuItems.forEach(function(menuItem){menuItem.rowCls='firstLevelTreeListItemRow';});this.getStore().getRoot().appendChild(menuItems);if(this.getIsCollapsed()){this.showHideAllMenuItems(false);}},hideMenuItem:function(menuItemName){this.showHideMenuItemsInternal([menuItemName],false,true);},toggleExpandCollapse:function(){this.setIsCollapsed(!this.getIsCollapsed());this.setWidth(this.getIsCollapsed()?this.collapsedWidth:this.originalWidth);this.showHideAllMenuItems(!this.getIsCollapsed());},showHideAllMenuItems:function(show){var menuItemNames=[];this.getStore().getRoot().childNodes.forEach(function(x){if(x.data.name!=='menuBarsItem'){menuItemNames.push(x.data.name)}});this.showHideMenuItemsInternal(menuItemNames,show,false);},showHideMenuItemsInternal:function(menuItemNames,show,alwaysHidden){var me=this;menuItemNames.forEach(function(x){var menuItem=me.getStore().getRoot().findChild('name',x,true);if(show){menuItem.data.visible=menuItem.data.alwaysHidden?false:true;} else{menuItem.data.visible=false;menuItem.data.alwaysHidden=menuItem.data.alwaysHidden?true:alwaysHidden;}});this.updateStore(this.getStore(),this.getStore());},});}  Ext.define('Forms.Common.PanelAction',{config:{position:'br',xOffset:0,yOffset:0,baseClass:'x-panel-action-icon',iconClass:'x-panel-action-icon-close',iconPressedClass:'x-panel-action-icon-pressed',actionMethod:['hide']},constructor:function(config){this.initConfig(config);return this;},init:function(parent){var me=this;this.parent=parent;if(!Ext.isArray(me.config.actionMethod)){this.actionMethod=[me.config.actionMethod];} parent.on({painted:this.onParentShow,destroy:this.onParentDestroy,resize:this.onParentResize,scope:this});},onParentShow:function(component){var me=this;if(!me.iconEl){me.iconEl=component.createChild({cls:me.config.baseClass+' '+me.config.iconClass});me.iconDimensionX=me.iconEl.getWidth();me.iconDimensionY=me.iconEl.getHeight();me.positionIcon();me.iconEl.on({touchstart:this.onIconTapStart,touchend:this.onIconTap,scope:this});}},onIconTapStart:function(){var me=this;me.iconEl.addCls(me.config.iconPressedClass);},onParentResize:function(component,adjWidth,adjHeight,rawWidth,rawHeight){},onParentDestroy:function(){this.parent.removeListener('painted',this.onParentShow,this);this.parent.removeListener('resize',this.onParentResize,this);this.iconEl.removeListener('touchstart',this.onIconTapStart,this);this.iconEl.removeListener('touchend',this.onIconTap,this);},onIconTap:function(){var me=this;me.iconEl.removeCls(me.config.iconPressedClass);for(var i=0;i<(me.config&&me.config.actionMethod.length);i++){me.doCallbackCall(me.config.actionMethod[i]);}},doCallbackCall:function(method){if(Ext.isFunction(method)){method();} else{this.parent[method]();}},positionIcon:function(){var me=this;var characters=me.config.position.split('');var top=0;var left=0;if(characters.length>=2){var posY=characters[0].toLowerCase();var posX=characters[1].toLowerCase();switch(posY){case't':top=-1*(me.iconDimensionY/2);break;case'b':top=me.parent.getHeight()-(me.iconDimensionY/2);break;case'c':top=(me.parent.getHeight()/2)-(me.iconDimensionY/2);break} switch(posX){case'l':left=-1*(me.iconDimensionX/2);break;case'r':left=me.parent.getWidth()-(me.iconDimensionX/2);break;case'c':left=(me.parent.getWidth()/2)-(me.iconDimensionX/2);break} me.iconEl.setLeft(left+me.config.xOffset);me.iconEl.setTop(top+me.config.yOffset);}}});Ext.define('Forms.Common.PropertyHelper',{singleton:true,mixins:{observable:'Ext.util.Observable'},constructor:function(options){Ext.apply(this,options||{});this.mixins.observable.constructor.call(this,options);},SetPropertyValue:function(control,target,input,isTouchControl){var propertyUpdated=false;if(!Ext.isArray(target)){propertyUpdated=this.SetInternalProptyValue(control,target,input,isTouchControl);} else{for(var i=0;i1?arr[arr.length-1]:'';if(propertyName.toUpperCase()=="ISVALID"){input=this.SetBoolValue(input);control.isFieldValid=input;if(control.setPropertyValue){control.setPropertyValue(propertyName,input);} propertyUpdated=true;} else if(propertyName.toUpperCase()=="ERRORMESSAGE"){control.blankText=input;if(control.setPropertyValue){control.setPropertyValue(propertyName,input);} propertyUpdated=true;} if(!isTouchControl){if(propertyName.toUpperCase()=="LABEL"){if(input!==undefined&&Ext.isBoolean(input)){input=input.toString();} if(control!==undefined&&control.getLabelWidth){var controlLabelWidth=control.getLabelWidth();} else {var controlLabelWidth=control.labelWidth;} if(Ext.isDate(input)&&input!=""){input=Ext.Date.format(input,Forms.Common.Common.GetDateFormat())} if(controlLabelWidth>0){if(input===""||input===null||input===undefined){input=" ";} control.setFieldLabel(Ext.util.Format.htmlEncode(input.toString()));} else{if(this.IsCebpmControl(control)) {var miniViewerLabel=Ext.getCmp(control.name+'_'+control.itemId.split('_')[1]+'_'+control.itemId.split('_')[0]+'Label');if(miniViewerLabel){miniViewerLabel.setText(input.toString());}}} if(this.IsCebpmControl(control)){control.fireEvent('tc_field_label_changed',control,input.toString());} propertyUpdated=true;} else if(propertyName.toUpperCase()=="DISPLAYNAME"){if(control.xtype=="grid"||control.xtype=="cebpmtablefield"){for(i=0;i<=control.getColumnManager().getColumns().length;i++){if(control.getColumnManager().getColumns()[i].dataIndex!=null) {if(control.getColumnManager().getColumns()[i].dataIndex.toLowerCase()==arr[1].toLowerCase()||control.getColumnManager().getColumns()[i].dataIndex.toLowerCase().slice(4)==arr[1].toLowerCase()){if(Ext.isBoolean(input)){if(input){input="True";} else{input="False";}} control.getColumnManager().getColumns()[i].setText(input?input.toString():"");if(this.IsCebpmControl(control)){control.fireEvent('tc_field_label_changed',control,input.toString(),control.getColumnManager().getColumns()[i].dataIndex);} propertyUpdated=true;break;}}}}}} else{if(propertyName.toUpperCase()=="LABEL"){if(control.xtype=="datepickerfield"){if(Ext.isDate(input)){input=Ext.Date.format(input,Forms.Common.Common.GetDateFormat());}} control.setLabel(input);control.setLabelText(input);propertyUpdated=true;} else if(propertyName.toUpperCase()=="DISPLAYNAME"){if(control.xtype=="grid"){for(i=0;i<=control.getColumns().length;i++){if(control.getColumns()[i]._dataIndex==arr[1]){control.getColumns()[i].setText(input);propertyUpdated=true;break;}}}}} if(!isTouchControl){if(control.isFieldValid===false){control.markInvalid(control.blankText);} else{if(control.xtype!="grid"&&control.xtype!="cebpmtablefield"){control.clearInvalid();}}} return propertyUpdated;},IsControlProperty:function(inputName){var arr=inputName?inputName.split('.'):[];var propertyName=arr.length>1?arr[arr.length-1]:inputName;switch(propertyName){case'IsValid':case'ErrorMessage':case'Label':case'DisplayName':return true;} return false;},GetPropertyValue:function(control,inputName){var controlName=control.name;if(controlName==undefined&&control.xtype!="grid"&&control.xtype!="cebpmtablefield"){controlName=control.getName();} if(inputName==controlName+'.IsValid'){return control.isValid()?control.isValid():false;} else if(inputName==controlName+'.ErrorMessage'){return control.blankText;} if(!Forms.Common.Common.IsSenchaTouch()){if(inputName==controlName+'.Label'){return control.fieldLabel;} else if(control.xtype=="grid"||control.xtype=="cebpmtablefield"){var arr=inputName?inputName.split('.'):[];var columnName=arr.length>1?arr[1]:'';for(i=0;i<=control.getColumnManager().getColumns().length-1;i++){if(control.getColumnManager().getColumns()[i].dataIndex&&(control.getColumnManager().getColumns()[i].dataIndex==columnName||control.getColumnManager().getColumns()[i].dataIndex.toUpperCase().slice(4)==columnName.toUpperCase())){return control.getColumnManager().getColumns()[i].text;}} return control.fieldLabel;}} else{if(inputName==controlName+'.Label'){return control._label;} else if(control.xtype=="grid"){var arr=inputName?inputName.split('.'):[];var columnName=arr.length>1?arr[1]:'';for(i=0;i<=control.getColumns().length;i++){if(control.getColumns()[i]._dataIndex==columnName){return control.getColumns()[i]._text;}} return control.fieldLabel;}}},SetBoolValue:function(input){if(typeof(input)==="string"){if(input.toLowerCase()=='false'||input.toLowerCase()=='False'){input=false;} else{input=true;}} return input;},IsCebpmControl:function(control){if(control.xtype.indexOf("cebpm")>-1){return true;} return false;}}); function GetdFilesFromFileUploadControl(id){var inputId="#"+id+"-button-fileInputEl";var input=$(inputId);if(input!=undefined&&input!=null&&input.length>0&&input[0].files!=null&&input[0].files.length>0){return input[0].files;} return null;} function GetFieldBasedOnFieldType(id,name,variableType,actionMode,debugMode,value,processTestMode){var field;switch(variableType){case Forms.Constants.VARIABLE_TYPE.Short:field=Ext.create('Ext.form.field.Number',{itemId:Forms.Common.Common.GenerateGUID(),decimalPrecision:0,minValue:-32768,allowBlank:false,width:'80%',labelWidth:150,msgTarget:'side',maxValue:32767,fieldLabel:name,value:value,inputId:'initVar_'+id});break;case Forms.Constants.VARIABLE_TYPE.Long:field=Ext.create('Ext.form.field.Number',{itemId:Forms.Common.Common.GenerateGUID(),decimalPrecision:0,width:'80%',labelWidth:150,allowBlank:false,msgTarget:'side',minValue:-9223372036854775808,maxValue:9223372036854775807,fieldLabel:name,value:value,inputId:'initVar_'+id});break;case Forms.Constants.VARIABLE_TYPE.Float:field=Ext.create('Ext.form.field.Number',{itemId:Forms.Common.Common.GenerateGUID(),decimalPrecision:10,width:'80%',labelWidth:150,allowBlank:false,msgTarget:'side',minValue:-3.402823e+38,maxValue:3.402823e+38,fieldLabel:name,value:value,inputId:'initVar_'+id});break;case Forms.Constants.VARIABLE_TYPE.Double:field=Ext.create('Ext.form.field.Number',{itemId:Forms.Common.Common.GenerateGUID(),decimalPrecision:10,width:'80%',labelWidth:150,msgTarget:'side',allowBlank:false,minValue:-1.79769313486232e+308,maxValue:1.79769313486232e+308,fieldLabel:name,value:value,inputId:'initVar_'+id});break;case Forms.Constants.VARIABLE_TYPE.Byte:field=Ext.create('Ext.form.field.Number',{itemId:Forms.Common.Common.GenerateGUID(),decimalPrecision:10,minValue:0,width:'80%',labelWidth:150,msgTarget:'side',allowBlank:false,maxValue:255,fieldLabel:name,value:value,inputId:'initVar_'+id});break;case Forms.Constants.VARIABLE_TYPE.Currency:case Forms.Constants.VARIABLE_TYPE.Decimal:field=Ext.create('Ext.form.field.Number',{itemId:Forms.Common.Common.GenerateGUID(),decimalPrecision:10,width:'80%',labelWidth:150,msgTarget:'side',allowBlank:false,minValue:-79228162514264337593543950335,maxValue:79228162514264337593543950335,fieldLabel:name,value:value,inputId:'initVar_'+id});break;case Forms.Constants.VARIABLE_TYPE.Date:case Forms.Constants.VARIABLE_TYPE.NullableDate:var allowBlank=false;if(variableType==Forms.Constants.VARIABLE_TYPE.NullableDate){allowBlank=true;} if(value){value=Forms.Common.Common.ConvertFromJsonDate(value);} field=Ext.create('Ext.ux.form.DateTime',{itemId:Forms.Common.Common.GenerateGUID(),width:'80%',labelWidth:150,msgTarget:'side',fieldLabel:name,allowBlank:allowBlank,value:value,inputId:'initVar_'+id});if(debugMode||processTestMode){field.labelSeparator='';} break;case Forms.Constants.VARIABLE_TYPE.Bool:field=Ext.create('Ext.form.field.Checkbox',{itemId:Forms.Common.Common.GenerateGUID(),width:'80%',labelWidth:150,msgTarget:'side',fieldLabel:name,checked:value,inputId:'initVar_'+id,});break;case Forms.Constants.VARIABLE_TYPE.Complex:case Forms.Constants.VARIABLE_TYPE.Checklist:case Forms.Constants.VARIABLE_TYPE.Entity:case Forms.Constants.VARIABLE_TYPE.Empty:field=null;break;case Forms.Constants.VARIABLE_TYPE.DataBackbone:if(debugMode||processTestMode){field=null;} else{field=Ext.create('Ext.form.field.Text',{itemId:Forms.Common.Common.GenerateGUID(),fieldLabel:name,width:'80%',labelWidth:150,msgTarget:'side',value:value,inputId:'initVar_'+id});} break;case Forms.Constants.VARIABLE_TYPE.Document:case Forms.Constants.VARIABLE_TYPE.Folder:if(debugMode||processTestMode){field=Ext.create('Forms.Controls.Standard.FileUpload',{itemId:Forms.Common.Common.GenerateGUID(),id:id,name:id,width:'80%',labelWidth:150,msgTarget:'side',allowBlank:true,fieldLabel:name,value:value,accept:[".GIF",".PNG",".BMP",".JPG",".TIF",".TIFF",".PDF"],inputId:'initVar_'+id,thisForm:this,align:'left'});if(variableType==Forms.Constants.VARIABLE_TYPE.Folder){field.setMultiple(true);}} else{field=Ext.create('Ext.form.field.Text',{itemId:Forms.Common.Common.GenerateGUID(),fieldLabel:name,width:'80%',labelWidth:150,msgTarget:'side',value:value,inputId:'initVar_'+id});} break default:field=Ext.create('Ext.form.field.Text',{itemId:Forms.Common.Common.GenerateGUID(),fieldLabel:name,width:'80%',labelWidth:150,msgTarget:'side',value:value,inputId:'initVar_'+id});} return field;} function GetVariableTypeFromText(variableTypeText){switch(variableTypeText){case'Short':return 2;break;case'Long':return 3;break;case'Float':return 4;break;case'Double':return 5;break;case'Byte':return 17;break;case'Currency':return 6;break;case'Decimal':return 14;break;case'Date':return 7;break;case'Bool':return 11;break;case'Complex':return 8204;break;case'Dynamic Complex':return 32764;break;case'Entity':return 32761;break;case'Nullable Date':return 32763;break;case'Document':return 32760;break;case'Folder':return 32759;break;case'Empty':return 0;break;case'DataBackbone':return 32750;case'Checklist':return 32764;default:return 8;}} function ReadFileAsBase64Stream(theVariable,file){var reader=new FileReader();var deferred=$.Deferred();reader.onload=function(event){if(event.target.result.length>0){var stream=event.target.result;theVariable.Value.push([stream,file.name]);deferred.resolve(theVariable);}};reader.onerror=function(){deferred.reject(this);};reader.readAsDataURL(file);return deferred.promise();} function AddFileUploadStreamsToVariable(imagePromises,id,variable){var filesUploaded=false;var inputId="#"+id+"-button-fileInputEl";var input=$(inputId);if(input!=undefined&&input!=null&&input.length>0&&input[0].files!=null&&input[0].files.length>0){filesUploaded=true;variable.Value=[];var files=input[0].files;for(var index=0;index0){for(var i=0;i");serviceResult.responseText=JSON.stringify(jsonObj);if(Forms.Testing){Forms.Testing.Debugger.HandleError(jsonObj);} if(failed==null){Forms.WebServiceHelper.ServiceFailed(serviceResult,userData);}else{failed(serviceResult,userData);}} var formIdentity=Ext.create('Forms.Custom.Classes.FormIdentity',{});formIdentity.setId(formId);formIdentity.setName(formName);formIdentity.setVersion(formVersion);var data;if(validateSessionForActions){data='{"sessionId": '+JSON.stringify(Forms.Common.Common.GetSessionID())+', "formIdentity": '+formIdentity.toJSON()+', "methodName": "'+methodName+'", "eventsToExecute": '+eventsInputData.toJSON()+', "locale": "'+Forms.Common.Lang.locale+'", "locale2": "'+Forms.Common.Lang.locale2+'", "formTargetDevice": '+formTargetDevice+'}';} else{data='{"formIdentity": '+formIdentity.toJSON()+', "formIdentity": '+formIdentity.toJSON()+', "methodName": "'+methodName+'", "eventsToExecute": '+eventsInputData.toJSON()+', "locale": "'+Forms.Common.Lang.locale+'", "locale2": "'+Forms.Common.Lang.locale2+'", "formTargetDevice": '+formTargetDevice+'}';} var callAsync=options&&options.callAsync!==undefined?options.callAsync:true;if(succeeded!=null&&succeeded!==''){Forms.WebServiceHelper.CallService(Forms.Constants.FORMS_WEB_SERVICE_URL,executeFormEventsAPI,data,succeeded,failedMethodWrapper,userData,callAsync,batchId);} else{Forms.WebServiceHelper.CallService(Forms.Constants.FORMS_WEB_SERVICE_URL,executeFormEventsAPI,data,me.dotNetCallBack,failedMethodWrapper,userData,callAsync,batchId);}},dotNetCallBack:function(serviceResult,UserData,dataHelper,shouldSuspendLayouts){var me=this;var response=serviceResult.d;if(response!==undefined){evtOutputDataCollection=Ext.create('Forms.Events.EventOutputDataCollection',{});evtOutputDataCollection.fromObject(response);evtOutputDataCollection.isServerEvent=true;evtOutputDataCollection.userData=UserData;if(shouldSuspendLayouts===undefined||shouldSuspendLayouts===null) shouldSuspendLayouts=true;var useLayoutPerformance=(Ext.suspendLayouts!=undefined&&Ext.resumeLayouts!=undefined&&shouldSuspendLayouts);try{var dataObjectVariableArray=new Array();for(var x=0;x0){var formVariable=Forms.Common.Common.FirstOrDefault(dataHelper.variables.formVariableArray,function(variable){return evtOutputDataCollection.eventOutputDataList[x].eventOutputs[y].getDestination()===variable.name;});if(formVariable&&formVariable.type=="DataObject"){dataObjectVariableArray.push(evtOutputDataCollection.eventOutputDataList[x].eventOutputs[y]);}}}}} if(dataObjectVariableArray.length>0){dataHelper.variables.UpdateDataObjectFormVariables(dataObjectVariableArray,evtOutputDataCollection,dataHelper,true);} else{evtOutputDataCollection.applyReturnValues(dataHelper);if(Forms.Testing){if(evtOutputDataCollection.eventOutputDataList[0].eventOutputs){for(var i=0;i0){for(var i=0;i0) {for(var i=0;i0){eventInputDataAsJson+='[';for(var i=0;i0){for(var i=0;i0){dataType=dataType.substr(0,dataType.length-2);} if(dataType.indexOf('?')>0){dataType=dataType.substr(0,dataType.Length-1);} switch(dataType.toLowerCase()){case'system.string':case'string':case'system.int':case'int':case'int32':case'system.int32':case'bool':case'system.bool':case'boolean':case'system.boolean':case'array[]':case'short':case'system.short':case'int16':case'system.int16':case'long':case'system.long':case'int64':case'system.int64':case'single':case'system.single':case'double':case'system.double':case'decimal':case'system.decimal':case'datetime':case'system.datetime':case'byte':case'object':case'system.object':case'guid':case'system.guid':isSimpleType=true;break;} return isSimpleType;}});Ext.define('Forms.Events.EventOutputData',{config:{eventOutputs:[]},constructor:function() {this.eventOutputs=new Array();},isServerEvent:false,userData:null,GetEventOutputsFromSimpleArray:function(evtOutputDataList){var me=this;if(evtOutputDataList.length>0) {for(var i=0;i0){for(var i=0;i','43d409a8193c4baf9d90e346bee26b1c':' must be at least ','c18a3f037782490fa42f446ec93720b9':' characters long','624e6843c56543e1a392c1f6bc72cd2b':' characters','da7cfb8794f6478999c996b8ae2cd627':'Add','cdf99d8818fa4454a52b4fbdac6090f6':'Reset','9dc25cfa436e49b2835d643751cea1b2':'Entity','1d22d9757aef4a769d67546b70480396':' cannot be more than ','446f14b4e0594969aa21ce432c58a87a':' value is required','2c28d3180877404f8a9f5e0635fca15b':' value must be at least ','662bec539cff4b61b4b6596899f54df4':' value cannot be more than ','3c81fd9b10ff43e7a5a7a2518d7ea754':'{0} is not a valid date - it must be in the format {1}','363fc55955364695b37757471fe01ba6':'Entity Instance saved successfully.','99e16904a23a4724b017d0909a6731e7':'Select','271bd8bcd19d41c1bb12b9affff52415':'Job SLA','8ee3803829ff404c90df1e33ec69478b':'SLA','04b164c8ea6e46a6a712ca0cbd7f8c0f':'Case Tasks Only','94ddd8ef750249bd9e297cca87f04d08':'Return Query Total','8dfed7d557bb4f21921e00cdde0a0a52':'Display as','fc4de938a794416d9b7224e585a4da2e':'SLA Display','679440158791401b9a5126741c627515':'Job','65ca1bef98c0496498464f134806570e':'Activity','122ce85bc69b47a3a3beacf46f53bfd9':'Circle','7cb3025bab4c42c78ab2afb588739403':'Bar','f19be592ceaa477bb38e56c216f692e3':'Assigned To','9862eece45c14405ac5f22e879edb3a2':'Take Activity','07a1d38e43d84506a9357a83a84b7792':'Complete Activity','5d24aa6681da2e30eaff5b40000c2dfb':'Complete and Next','33c62a9e17a844c499f6508df4ac88a4':'Reassign','e773f9e3b264498c9881a717f49ab235':'View Job','5971edaa041642ec856f12dcc9e40929':'Activity Name','c6e078dbbe614e0b8d9ad2c34a2a9275':'Case Reference','3a1a7700ed2e4ec79e7827ba582f6447':'Case Job ID','305c83310e924c788f1f740c94739204':'Work Queue','d7f4dacb914e4cf381b47effcf07ab00':'Filter','14cef0e76d3645468ff4dd35b80434b9':'To','2c1f1a107ec54bbdabb3ffbbaf65cfb8':'Specify a resource.','4c09801fd74d4fae9229161897c4a56b':'You cannot reassign an activity to the same resource','2d6e7aa5506b4d8cb80b3f5820b59b2a':'None','2beb13136a6c4bba96b6cb34c7fba419':'Version','9f63865bda4941a2a76849cc1af773fc':'True','25162e966a044aca918abe027e0b72a9':'False','ae23068a16034dfcae88cd5acd51d6f1':'Information','d379a716a05e42a4bd39c7f041333c6f':'Priority','60a2fd0b5bf042f4978aeb33ae4859de':'Due date','b74dd90a73b0437b9d1b99af4e320740':'Duration','1d90fea4e6374f5a925a6e6edf1d1006':'View Process','2de6dd4b0c714284abdd4d9e55ee9703':'Resources','20aa241e4d9f4e12a6dcca024ae7f501':'Restart here','89bcecaf9da047a0881605069bd353bf':'Restart next','804bbe4c79f645b6956214a8946e0dd3':'Are you sure you wish to restart this job at this point?','44d76f048e0a453487b0bf0d02688d16':'Update','9f05d175ebc944559470fffeb852a61a':'Dynamic','26fb77fee0d94f088acee6e173a74282':'Days,','296b9895450544ee956fad88917928c9':'Hours,','245327d6370049bab5f53d3aba8f5996':'Minutes','434f0202bd1149d7b805e513493159d9':'Seconds','06da966c04e14424851f5ce7e7e39a0f':'Performed On','d0596355195548ab8cab12bb5d2ba1c5':'Performed By','4b17f2aca87b43edabed81214a72a146':'Ordinary Activity','8c41653f9af24b338a654590e61960f0':'default','44576a5f07b04806bdb604631482dd7c':'Node ID','b3f92c05ad8d40c6abf1ebc0930cc229':'Event Type','71d0c37f4bbc4ee48e8df0921d9765ea':'No Of Partial Completions','92660874d04441c28acd585e15b33c06':'Automatic','d5f4084fbe55464ca4efaa54670d51b3':'Activity Due Date','664e10a7a4e046809c4841dac76b780d':'Target Due Date','04f9644f6dce48c1b89b8efe600bf40a':'Target Duration','a07a55a183204e2eb34e858d7938fab2':'Expected Cost','80172b0b4c6848e39a720b3736ecee4e':'Fixed Cost','f1abf4d66ac24d64be5bb90cfd2ab31a':'On','4d5c91a36c7e4e85bccce26f80d9f157':'Off','ea22c23d75774f11b8ec8fbd52ded1e7':'Advanced Workflow Rules','af73487f1e044f90ad53e4e20ef3938a':'Use Same As Previous','805c9b4d364a42bb8cdf17c7a99fa2ae':'Dynamic Resources','77d7c113c577431e971b5f3f11588fee':'Static Resources','7c29849646c64a54b12cfe67a8dc4a19':'Primary Map','8c2562ebbf0646aeaf8ab4f29d996846':'Primary Map Version','a195566c64d742588421ebf5fcef9da5':'Finished At','76551a74d42945fe837e61fefd5f1933':'Expected Finish Time','7196A8DC9D9846678CB3621D7E3CDF27':'days','e52cdb10a84f470ea6c15d8cc92e19d9':'hours','a7939253feac4cf2926bc3a8d364707a':'mins','2e122a7e7823491abd73352ae80c57e4':'secs','5c81133614b94af292ba5e769cbd39ea':'Due Date is configured with either Dynamic variable or Milestone. Therefore you cannot edit it.','84acc586172149228d4904b18f6499d1':'Duration is configured with either Dynamic variable or Milestone. Therefore you cannot edit it.','c7012568671f436086041253b440ffe6':'Activity resources are assigned with either Dynamic Resources or Advanced Workflow Rules or Use Same As Previous property. Therefore you cannot edit them.','bf0bee24ab0e48f987b84db141fe39c8':'0% (0) completed on time','e839f5f37b594cd8aac35301a8b788d9':'Average Duration: 0d,0h,0m,0s','4defadf751b24205a26bffcdb659d1fb':'0% (0) within budget','72638cb61c2b43f1b534b1f01fee2947':'Average Cost: 0','11c265108c954dbead3766d91ea28a36':'Jobs Analyzed','3bbd632c38b748ada58278bf238b6901':'Performance Stats','ecec627cd85f4ec19c12839a0cdf12ce':'Your current IE browser version does not support this control. Please upgrade the browser to IE9 or above','fc092dd3aa114f93b6824d970ddb2cab':'Taken','54873dcebb094e0ebabf815da1dfbd5d':'Awaiting Allocation','6a0aa4132f1e470c82a7120cbff1ae43':'Awaiting Events','6c6eebe08091431997f1ac95a182e2b8':'Saved','029f14cfcf4257868946772ec50b2f6b':'Saved successfully','1dbc36b4800e4dd3906f188fa3d2db1d':'Orientation','b1631436fbef4435a9cb05917ea446fa':'Legend','c883dcebdb754e44976af453bde3f261':'View Previous','2bba83ff9da14ef8a1970166c15c41fc':'Job Summary','ad35105236af40bca189d2f232fc8e8e':'Color Legend','2db49c93540d4d6cac57e7155db101da':'Edit Expected Finish Time','0bd283e6f62942689d9ca6c4f22e7239':'No floating roles','1a608fcafade44398d0310f191679545':'Edit','08e23b90236547fa937b4c03ea4a4003':'Edit Floating Role Resources','681bff8217534ab6b8d0f7dc43410b35':'Floating Roles','05229c55807b487580347f64b5cf15f8':'External Users','263eca0213ee4c7299b318420a7eed2f':'Update Variable Values','7b9ff1c01f144f608de84bdb8dcd0ae6':'Update Live Activities','dad66f1cac9c40d3b2a8614343c55d47':'Budget','a0f92f2df0144d2fa106cd7f61bdec2d':'Performance','56746ecc538b4430a5620138c821bcc7':'to','5859603829484c13a99bc56568688c6a':'Last','af0b88a50569443a9dce95308c12b4d9':'Average Cost','05532d8b762f4fdb9fdf9c070390b809':'Average Duration','5656ee0cb94942248f4f6d5ff6684839':'Completed on time','5e2d3582e6464e8a900b772f57c9162c':'Within Budget','253151dfadbe441f95795fad8fc41707':'Process Information','e4c82bef52fd4c07889813abdb2e6fb9':'Process ID','39d8cd49d5c34a179a4a257c4d8b358c':'Process Name','f0d0c9bdd0dc4acf92344ab957be1e22':'Expected Duration','19dad2b61937498185c7149424f7f6e9':'Minutes,','8f0c041dda5d4bf0916ae0b242d956d7':'Seconds','163a8796449c4f20b4cd831ceeab4dbd':'Edit Priority','4ad7bab9f167473390c2ca343bcbc5ce':'Edit Expected Duration','50491644563746f0a055afe4ef591a18':'Edit Budget','092bd0ba0edc4ab4974e5bd2141a0b91':'Budget is configured with Dynamic variable. Therefore you cannot edit it.','4bfc86eb222b4e17b81b379e03486eda':'Edit Expected Cost','6f3dba60a6284ccfa83034d1c8f2ffea':'No fixed role','f21bb0ba839344a4893be4addc160dd8':'Edit Fixed Role Resources','e6fd33def8dc49858274857912fdcafa':'Fixed Roles','e91dc1330365444e8d5487fc4134a009':'Performance Statistics Criteria','ba28a470431b432aae0413454c89f2de':'Show Performance Stats on Process Map','a0e5d1311df946518f39d64296760120':'Time Frame','1726cc67edaa4547ad4d319f0eebbb8c':'Number of Jobs','96c188f8b1a242c892ab31eda277a57b':'This version','c7a42d4733ff473db32faefe1fc3d80d':'Up to This Version','b8e79543f798420baeebf3dabe2b9a0d':'Since version','bc6426b012154e35b231453d45c90188':'Activity Stats','805220d6b2154b39998e65f53d39d7ad':'Percentages','c0056b68bd5d498886c31ab7fa0e667c':'Numbers','3775dd3f11454ce4ad7f467363e3fe93':'Occurrences','1234428156474bf5b9f09788bd9f2748':'Average Time Pending','2A829E5865044BFFA611B23964CF6356':'Job successfully restarted','E2D953CE7F754BF2838067671F68C8BC':'Kofax TotalAgility','459F0417DB9B4701ACDE647D32C10E5F':'Customize process','C381B55DA51149959547247D9364E925':'Create Customizable Process','ACD78BBA5BC24B3F9FA3857AC071FA95':'New Process Name','7C4343E7ED2649DBBE7C25FF97F20BD6':'Summary','80BD82B33EC1475C8BFD1333668E87E7':'Worktype','B5822C1E1235492D90EBF0644167A96E':'My Activities','18B3F45355294757A66AB868488381E9':'All Activities','C9CFB34BEF6B4163BA1B5CA5D7585B9F':'Day Ahead','CDFD23A9384641A887C933B944E55CF0':'Working Hours','5C88C85E25F74303926979ED9F5FE534':'My Jobs','821BA25C397A4621934C758CD19C8D1B':'Productivity','223F38FDECA149BB97D0968C2D0D0AB3':'Jobs Created','DF6A224E06634786A8E4BB1380C8EE61':'Activities Completed','608752FFBA95469EB550D1C029B77416':'Time Spent on Activities','8B9C98EA0AFC4875BE7B1C8FB7448480':'Notifications','C9C4C8816A1A492CA3CA3EEBD1826B24':'Alerts','5080D88DF85A4D1699F4D58626C9A92D':'Unread resource notes','DB81255F6CDD40529ABC5005B6DABEFB':'Workload','5DC1E0B298614DE99ED15BFBD4280731':'Error occurred while generating report','9FE89817C459481E8745BD53B53D522A':'Please provide valid checklist value to proceed','DFE59817C499481E8775BD5EB53D522A':'is Mandatory ','8E4E1BFF5E584A8E994B6151186F2468':'Created customizable process associated with this job','029d4c746956401daee05e83ed46f828':'View Search Criteria','EF906D8DD60E47289DD24623F534AA93':'No Resources','FE596D8DD60E47289DD24623F534AA93':'Filters','7C459817C499481E8775BD5EB53D522A':'Apply','9546925C397A4621934C758CD19C8D1B':'There are no records to display','981798EA0AFC4875BE7B1C8FB7448480':'Equal To','5DC1E8EA0AFC4875BE7B1C8FB7448480':'Less Than','f7b7dac36c1d93eca1aa16d69f6a59b6':'Greater Than','b1f6f9d8ceef969e79e20258ccbb21c2':'Not Equal To','fb76aa84ec49cb25e7c34cae2cdc2a97':'Less Than Or Equal To','a5a8c4d980face1a11383c0696f10a4c':'Greater Than Or Equal To','9621215146bae4620adc9cc0e06774f9':'Is Null','3c39d3114ecc7053ed81008128436b76':'Is Not Null','19420428ca380f276df1d87ccfd390f4':'Like','9ff572f71536a69d38953f76d57f99b1':'Not Like','f114f6360366bacaace28a7c9f090ece':'In','6d7c9247d47385fbb14905598df11525':'Month to Date','a94df53b16f8b4acaf93b6b324b74e89':'Year to Date','915440469b364fb6758cece471023e22':'Week to Date','b6dcea30bae2e5b745a032ec323c7390':'Filter','b1725ce6b916c3653882b3ea6be34b43':'Meta Data','e5a26f3d4cd8e4dedb412f60539aa1ce':'Filters','c0ff3b12f506f570e15196d8b126419e':'Filter name already exists in the list.','dbf9616d4c80fe74cdc5a4aed28bafbf':'Are you sure, you want to delete the filter?','86cb3acabfafe490b8a2f0ac945e24bd':"Last Filter value not specified. Cannot apply.",'5c4a484b350711261e5d9e91f81bf19f':"Last Metadata Filter value not specified. Cannot apply.",'9cacec90932db9a49434832b37c6b3b1':"One of the filters value is not specified. Cannot apply.",'1c039265cd8fe9541c4ba2cd06e517a0':"One of the Metadata filters value is not specified. Cannot apply.",'43b547f421bb718bdf2b17a9a93303a1':"No more filters available for addition.",'00a7f0af310627281f85743e29faabb4':"No more metadata filters available for addition.",'9eed4973705b4abf549199e153039370':"Filter value not specified. Cannot add another filter.",'4f0f0cf980a2f979b56e1e448c89f137':"Metadata filter value not specified. Cannot add another Metadata filter.",'7f44acf6a26aa690727a2ad9fc63e58d':"Process Name needs to be specified when Version is specified. Cannot apply filters.",'d784a780a1bf8604ba7dffea3427e150':"Process Version should be a numeric value. Cannot apply filters.",'198f617bfd9899c677d44811c32c93c9':"Meta data value should be a numeric value. Cannot apply filters.",'2d351550d3034accda768e2f702f7277':"Meta data value should be a boolean value. Cannot apply filters.",'458db4be32a38b7cba422eafa8f4e43f':"Loading metadata...Done.",'0ac2a43e61bed2a812789a39a00f0e9d':"Select a filter value.",'41209ec41c9c180507f6c8018d4eaec9':"No Categories to retrieve!",'592e597a4eb737c499641136986281ca':"No Processes to retrieve!",'d25e43d3b5b13a9aa01916f84f631a65':"No Resources to retrieve!",'0dbb3be6a3aaddd17701cd782a704036':"No dashboards found. Select another Category.",'0875d14192ff08752fb6a22c6faf9200':"Dashboard Selector",'0929b8e0b59c1536a75aeb32b828595d':"OK",'b29d0d1ec9baba61af3ef33c090fc9aa':"Cancel",'66e2a80c918f5b5aeceffdf69d0d78ae':"Apply",'dc0f04594ab4a2328e8d8448c5354236':"Create",'5502d1ee79d2791e3c0730d5ce4e1b2d':"Update",'2a721a2dd14a79bee55ff17f997a0e1f':"Reset",'593ffbf8f94070210866743b891828a7':"Delete",'de803d86941f5bbf7026fa02d1e3cc30':"Dashboard",'99f6612bf6c67ebff8835337989b90cc':"Category",'e64f837714649a8bc50bfd93c1e5521f':"Configured dashboard does not exist. It may have been deleted",'b2fccf79eb4efd07b1a88b85f5074793':"Current value : ",'6b1b9ed1fdc4847b879baa72a37ad626':"No Data to display",'e67411b01180a9846dbfb9592f18b3c6':"There are no categories available",'717acd866969d38ee8331e69c804d4c4':"All",'603399d3333c14ef45da24af3b682f1b':"Service call failed: ",'e9e1643c230b99fa4959a05f10d72f2f':"Please select...",'837246e9af7e75c3e0898bc4811c44be':"Please select the filter Value",'ddb6e7280e75d4915388a75dc0de1af7':"Please select the Operator.",'d0da86e700c97e55a2ab6ba3b598aca2':"Operator",'33e2d453382952fc848c03958c0aebbb':"Drag a column header and drop it here to group by that column",'9c13e28ebd57689abe6511fcd7bb62f5':"Available Processes",'38741ccdc8be1bdedc2f2fd1529758f4':"Category",'96e2e3ad7417bc991a4839e3b5d05fac':"Process",'db34ed682c0523bc080e1cf5ca649046':"Resource",'a94571764db1a26a1ac2c5946c3f3e6f':"Available Resources",'b91afc1cf9eee24194e183adb2ecc073':"Worker Group",'b3b6952b363fd740da16bb6f8ade8b2a':"Worker",'435779ed43ad87baf5bded7785cbb574':"Range",'9241008c1450bec99500bf20ad4cc0a5':"Value",'a315e89c104999af4f086272a3b62f41':"Filter Options",'b1376543560b1857d15d8fe5ed046aa8':"Select Dashboard",'86d538b23abf39554ac0c2223fe48a00':"Name",'11580efd196a8e70cb3e9089225dfeb8':"Value",'468bbfef3d0252858d56daeb58198939':'Prev','d7675fc371f7669a1ce9212415cc1b41':'Next','9c69fc39de0d326b0ba42eeaeba0306b':'| Sign Out','82f3493437145b4e6951978d960b85c4':'case list','85bd875f377249095a45d249fe7693ac':'dashboards','27bf90f45f3efb61e0b7964b24dc2b70':'Work Queue','8fb77a1526e4f6c0219f3311aec299eb':'Job List','c8793639d9044e0ca63cf4fc756fc124':'Years','924c2af7caa74d9ab4c43154175636c8':'Days','96df01c097d74aa8b248f81b1f0cbca2':'Hours','d54412995b70425e8f0d1c8e7a400ee7':'Minutes','aa29800bf39646d4b5e7a6be3e731f08':'Seconds','56ccf4f0b87544f5b48c0035af7fe3c0':'Are you sure you want to Suspend the job?','54ba09ed8a554ba9945ca2289950a888':'Are you sure you want to Terminate the job?','c878de7bb9b7457cbdcc934a2b5b1f77':'Mandatory field requires input','0ac59594607141c8a4b4203322ef7459':'State','197d58e895c94c9081a1dfe15b3a022d':'Job ID','fc1844e305f24be199511c4903096a78':'Process Name','958ef2a3b08a4b2b94d1f739be3914e0':'Owner','ee2181bac64441aba68a1731382aa25a':'Error. Invalid Case or Job ID.','4e2181bac64441aba68a1771382aa25a':'Activity is completed successfully.','22CE14E39BC14D16BD98ECC39464F8CF':'Live Jobs','387DB5D2EE9D488B839F219F11939920':'Live Jobs Created Today','89E8CE0DF1D24D56A02A3940B6EB90C6':'Use Job Search Criteria','5BAF3012F79D46DF8E523D60838BB115':'Recover','E9D479E06E074478AD11B5F8BBBEEA48':'Job Owner','4AB0015C67154721AFF7FF87A5F9CCC0':'Score','1B214BA852654B44A972205B39D8A304':'Start Date','6C31D5ED701E4DBBBC0F859696E19717':'IN','57F4FC6AC41B4F88B13507A57F337010':'Activity SLA','4F3DB2F2B78741D3BFD363790C7B867D':'Activity Priority','6C80687CB93E4AF785DF3926AE18D2F7':'State','F705E6AC51FF4D3FA8E01EF12F31A666':'Supporting Info','DE27E6D8E0A74676AF558A810568E23F':'Help Text','B835794419934A9C8D4EE04D79FC0783':'Owner','8394B08FE8214C3DADACBD80458ADB1C':'Completion Time','F59F229B92384176BC05185E329391DF':'State Percentage','F80B73C8E71447EAA7E78CA4BC948ED7':'Sub Categories','CD867A4E2F0343D3A2806C09C694D4AC':'Me and My Groups','BE4DF2E9356D443DB705D90903A84C27':'Me','A7BA15D303A3411D8620EFBE569AE0FA':'My Supervisor','DDA5E24717EB42749DC1CB0E2A5E8A5C':'My Direct Subordinates','912214038D32461C9B6224F78352F19F':'Me and My Direct Subordinates','6ABD9D7620024B87B0967EF6E32AC70B':'My Subordinates','D2D62B56F7DF4B1F8A20380A2A36002E':'Me and My Subordinates','ABC28145694132AACBDDEEE345645455':'Kofax TotalAgility Core Worker','DEAAAECC12846542314ACB2397423233':'Transformation Server Service','87635222129862543AABCEADEE123436':'Export Service','7623145BA234BCE124346789876ABC34':'System','6DC8409E9D4145BBB9D38E29556CEDB1':'None','F0904724FA044095BD31D143E5C187F7':'Alert Task','8a439a433915429ea1e9b4e4d5a93161':'Are you sure you want to Suspend the job?','97d54adbe0f8472ab05e394e9bffe85e':'Are you sure you want to Suspend the selected jobs?','28e6697a2ec74eed94597bcc98795fb4':'Are you sure you want to Terminate the job?','c2b9f9a007b14551927eb23d1cdc85ca':'Are you sure you want to Terminate the selected jobs?','B98F41923AD241E788B9770ADBA59642':'Failure creating ','BC5D9DB63071459C97BE0ECAB961F661':'Failed to set property: ','8394B08FE8314C3DADACBD80458ADB1C':'Everyone','D4A8A64988C94129B501E7DA062577E8':'The ActiveX Scanning Control needs to be installed or updated.\n When prompted, please allow the Kofax Scanning Control to install itself.','37047112A0B5422F81A604A29A29E623':"The Kofax Web Capture Service is not available.
Start the service if it is already installed or click here to install it. After installing or starting the service, refresh the page.",'1C39E6350A3F4F46B94E9474BB5E60E0':"A newer version of Web Capture Service is available. The current version is compatible, but upgrade is highly recommended.
Click here to install it. After installing the service, please refresh the page.",'0C39B8B870CC4F708239B7BE28835690':"A newer version of Kofax Web Capture Service is available.
Click here to install it. After installing the service, refresh the page.",'DFACB1ADC44A4BF7A08E29D806BA0375':'TWAIN is not installed on this computer.\n Contact your system administrator.','3B04DCC4FEC44377BB5FE0B6AD5EDD71':'Enable Scanning','4D6364508CB44FDAAD4CA98134D52EB8':'Close','476A4C2E304F4C669EDED51D29705697':'Select Scanner','34D9A751FE8D40E69BF8EC47D8EE702D':'Scan','D70918E1E1A642A9BBDED11F1754829E':'Scanning Started','2087F2C8A91341A893383631F1B2EA62':'Scanning Completed','DA7DE8D7E281418D9C72924195B4D0B3':'Upload Started','97FBBAC1E74C42FC83978FAEDF6E7635':'Upload Completed: ','16A5546A1AD84852B7D4D4C773052DBB':'Upload Started','56237495308A41ECAD15A5EF4D437C93':'Import','88936F308BEE4D288C2F0652F9D52BAE':'Select File to Upload','DB4573133375480385F4F19D7363BDB8':'Document Ready','FC407B3743FD4471AC042DBB0729BF1C':'Save','D1E6BDFE120E4CC9BFB0742111E7E6A2':'Saved Successfully','349ab60c95d78b775f2e71f072cc0b17':'This control is no longer supported','a6b041be5317433487c9b2f39b28b0ed':'Specified field {0} does not exist in the document/folder type','66e2a80c318f5b5aeceffdf69d0d68ae':'Work Queue','90a57ed1648947afae4399cf77630df4':'Please ensure a Scan/VRS profile has been selected','71E980A768964E91A824EBCA061A6502':'No Scanner is available.','86E5F20F1D404B94B1FD5295D8E444A6':'Barcode Captured','06cadfb222561af5336859ec94c1fd33':'Add','222404595e3ee8b4327a371cb3afadac':'Modify','42b2d3e497fcb590e5f0e28fc14b4996':'Delete','67b2d3e497fcb590e5f0e58fc14b4997':"Failed to populate list. Store item '{0}' does not exist.",'78aa23c497fcb590e5f0e58fc14c3321':"Unable to perform a 'CurrentView' redirect on this form.",'5B110B9A58274FDC9CF35BD6A24EA2FD':'Add Page(s) from Scanner','A44500CC956742FBB671842FDDE55034':'Add Page(s) from File','541EE81FA2AB4363853AB339C9AB9950':'File Import','8348465674DD42A1855218EE8FB746DB':"New annotations have to be saved before adding a new page to the document.",'6265CE84D1884A6FB687D5DF9136C1FC':"Before",'FD71312A926944B5A40BCAD00D821971':"After",'91B3617C44D945B8B706C2D817A5349B':"Place pages in document:",'9FD7C00ECD3D4109939412616AA186EA':"Invalid Document ID",'e82267182b0447829b97224a4a22fbf3':'Invalid boolean value','73FFCAC763C74581BED4CF61956BC6DA':'The following file extensions are restricted : {0}.
Do you want to upload the allowed files?','73FFCAC763C74581BED4CF61956BC6DB':'Only the following file extensions are allowed : {0}.
Do you want to upload the allowed files?','e550806375b245799acfebd3ea74073b':'Resource Name','4cf1ae66898840aab691c329da910d02':'View','2985bd8646a14df7b1ee06c2b2ee4c38':'Add Process Design Notes','e4147c261bee4706adacc28a42c9e20b':'Process Design Notes','4779ecf9aef14d05a530c1ec82681815':'Actioned','57bcec5ebaa540be8f5a3db17e5ce8fd':'Actioned by','4ca1377e6d4645db820c829bcdf0a734':'Actioned on','5c032ccfa80b4baaa3a2324390428e21':'Comment','1d6ff7cb4683404e9d397d7968a89b37':'Change Due Date','1fcba4c84ae54ad4a6ff79fb6b408601':'Change Priority','708a3464fdb140d1af674d9b427c3ff2':'Show Queries','4d02ab247ca74a2faad32345dbf19616':'Results','4889ecf9aef14d05a530c1ec82681806':'Editor','e50a54bcdcf1472d866f549ee97df522':'Save As','dde55a9f3e334e449fe44df896132baf':'Run','78byec5ebaa540be8f5a3db17e5ce8fd':'Columns','f880806375b245799acfebd3ea74073f':'Share','EEBBB1ADC44A4BF7A08E29D806BA0375':'Query Name','8FD7C00ECD3D4109939412616AA186EA':'Criteria','e71267182b0447829b97224b4a22fbf2':'Available','995322e5145a4c5cb13b8008263f280c':'Selected','80a97ed1648947dfae4399cf77630df4':'Are you sure you want to delete the query?','4be92c02b90951d4ab0d48018c71521f':'Move Up','5be92c02b90961d4ab0d48118c71521g':'Move Down','B50F229B92384176CC05185E329391DF':'Query saved successfully.','C50F229B92384286CC05185E329391DF':'Query updated successfully.','D61F239B92385286DD05185E329391ED':'Any unsaved changes will be lost. Do you want to create a new query?','FD62404E75704A2C910C88E3D395E9FE':'Are you sure you want to change the owner of the job to your supervisor?','D637AA0F5B994E8C88B431D307ACF2AA':'You cannot engage a supervisor as no supervisor is assigned to you','18CA19933C844A7AA8421EF119B73A1B':'Do you want to assign your Supervisor as a usable resource for the activity?','12c6b8737e0b4c428d9782cf794d4700':'Create a Job','12c6b8737e0b4c428d9782cf794d4701':'Add Task','12c6b8737e0b4c428d9782cf794d4702':'Suggest Redesign','2475ADE170424C70AAD9845871CBF100':'Engage Supervisor','3565ADE170424C70AAD9845871CBF100':'Escalate to Supervisor','2475ADE170424C70AAD9845871CBF101':'Manage Documents','12c6b8737e0b4c428d9782cf794d4730':'View Documents','12c6b8737e0b4c428d9782cf794d4731':'View Notes','12c6b8737e0b4c428d9782cf794d4703':'Unable to find the job','12c6b8737e0b4c428d9782cf794d4704':'Description','12c6b8737e0b4c428d9782cf794d4705':'Please select priority','12c6b8737e0b4c428d9782cf794d4706':'Me','12c6b8737e0b4c428d9782cf794d4707':'Individual','12c6b8737e0b4c428d9782cf794d4708':'Group','12c6b8737e0b4c428d9782cf794d4709':'Select Resource','12c6b8737e0b4c428d9782cf794d4710':'Select Group','12c6b8737e0b4c428d9782cf794d4711':'Query name cannot be more than 40 characters.','12c6b8737e0b4c428d9782cf794d4712':'Query name cannot be empty.','12c6b8737e0b4c428d9782cf794d4713':'Results','12c6b8737e0b4c428d9782cf794d4714':'Editor','12c6b8737e0b4c428d9782cf794d4715':'My Queries','12c6b8737e0b4c428d9782cf794d4716':'Shared Queries','12c6b8737e0b4c428d9782cf794d4717':'Find','12c6b8737e0b4c428d9782cf794d4718':'Search:','12c6b8737e0b4c428d9782cf794d4719':'Enter Job ID','12c6b8737e0b4c428d9782cf794d4720':'Enter Case Reference','12c6b8737e0b4c428d9782cf794d4721':'Set as Default','12c6b8737e0b4c428d9782cf794d4722':'Options','018F3D46AA2443E1B4DA43F4CE1CFC48':'Document Types','DBB3E676076F4F5AA9D9B3CFA2AEDE60':'Documents','BC5D44E41EC64BE882AE18943DBD88F0':'Add Rule','D29601934CB94DA8ACE03A7D86CD8E36':'View','69347021B3BF46A0BCEACB5A8975BA3F':'Re-evaluate','6407CBD748354ECE92E54A6E3255D3D9':'Force Valid','F5469F6874C64FB08BF09B4610D3E256':'Update Date Required','036EA14C9D1A4CC6A5C1582F393CA6CF':'Update Status','647B90B05A834853947C1606F2E87E78':'View Document','2D8D2B805061409F84EAF6076BAFD064':'View Rule','5C5FCDF41811476D81E08FD913B61622':'Date Required','FFA00965986F47A48FBB20954A4CA137':'Date Received','D276A271DC324F21886EF5A133562465':'State','064420E78153416DB601677EFA36DF90':'Source','916C29F84EC6405BB9CE3207275DC47C':'Document Id','423E741B10F7478FB1E2AA323F421EA0':'Date','1DB0DBE378CB4EBD803735C5796483F6':'Document Type','B73AB57079FD455B87326BFB4074FB68':'Mandatory','B15D9E61CBCB4D42B744C4A2A1FBBB1E':'Optional','2E563F2A283E40169D727A0D67EDAD0A':'Document','6D88CCFD16264204B810495356A85C58':'Required number of Documents','C30F3F5A9B7247EEA03D16C7467248AD':'Rule','F943E1215F5546AF8494AFAD3787D534':'Extraction Group','03e04b5340294261bef47cf4f082ffed':'Activity Settings','b7576e052e874a05ab8d158b87442325':'Best Fit','6e37e5348e7247d58da8d89f37722ba4':'Cancel Activity','317b2cd2da7d477c8ff1853c62360c9a':'Change Document Type','9a60106db0674b30b45db5e7fd0dc15a':'Collapse/Expand the Bottom Panel','6ab5f69024d1416dbd13bae2f0d33489':'Collapse/Expand the Current Error Panel','560efac061b641e1b6125416e3cf3c8f':'Collapse/Expand the Left Side Panel','220959c18fcb4828b65c47419891c722':'Collapse/Expand the Right Side Panel','ab814e904097485bb0ea2cec9299deab':'Create Job','963215853d8347638402a6070f34343c':'Complete Activity','92476ee92b194efba2535e21261716eb':'Confirm Document Type','e12a8a823ebe4f1a9fcdbb938800aedb':'Display Annotations','bcaf09f5116143fcb88bc1e668d3078f':'First Document','9262bf9384f14503b7698024a4e33d67':'First Folder','22d79724c34e45a29c458bf8a20bef75':'First Page','ab19f58067004676886b3551cde55fde':'Fit Page to Height','ae5aa37188fd4b088e7e85fc0c45d308':'Fit Page to Width','fe9ccb7c0a194894908d3224e7409724':'Force Valid','0bbf30dc591c41bb9188d5bca5efc3c5':'Go to Document Type','aac03eea8b2a48229caa63f6dbe531ce':'Go to Fields Panel','6ce18827e69f4a1897182443f2663a01':'Go to Image','650d319bfeee43b89013fb0a00df9b61':'Go to Navigator','3283de33975e43d9b5feeadbb5bda223':'Go to Thumbnails','0778e400fdce4157897015e0ce72bfad':'Help','561afe1e43a345e0adf9294a4739c8f2':'Last Document','22029955ae5349e38cfac18c483de986':'Last Folder','c74bb6f40b494b0983368a5cc0070a06':'Last Page','557923586ed8463c852fbeacdfee9d9d':'Merge Document','a7c38e4285d741dd93e4e6a669f86621':'Next Document','99b72f3a574f4c7db459a4db751ff08f':'Next Folder','4ad9d9c0b4d04bf88803007dca39d9ff':'Next Invalid Field','f6e29732b8e74299b224fb9b6bd042ee':'Invalid Field','d576f2bf599a40caa859cd31be3313f6':'Next Not Verified Field','175bdab17acb4151bd942fdef6096d70':'Next Page','f0845f9030a248c5b989068ecf1d1b20':'Next Problem','45f38ec7f6cd465b8b6d268b4ddbc6fd':'Next Tab','3f94f6d6d73a43c3a9b5ec931af2f898':'Online Learning','4f07c0fa825f4da08412d1ec683f958c':'Override Problem','c5e5788650a44380a41eff0ae19a69ee':'Previous Document','20cae50007aa46c58d26711f3129884b':'Previous Folder','b7dff5ca60df42048c7e2e6a7f921019':'Previous Page','2aaa483059fe4e85aa7e34d95463edeb':'Previous Problem','6f434a0de895471e9616d0c45562ea48':'Previous Tab','6e768e8fae964215b7e3581f6832718e':'Reject Document','dac1852751954c63830941c608961d7a':'Restore Problem','964ddf239fe94d79a773283df8232715':'Rotate Displayed Image 180','5b3d9fabfe2a484b9b84786c34cb41e9':'Rotate Displayed Image Left','5888a0480e5e497fb31dea665d40f65f':'Rotate Displayed Image Right','ce46677e1be14936aa9a8d395ed37b2b':'Rotate View Left','644ac5d038b746a7a896db06038e526c':'Rotate View Right','f146ce5ef66c4df6a0a2a9b9d1ee6cca':'Rotate View 180','2e4c7fa6dcbc4470be69c4aa6251a7f8':'Revert View','b037c2cce7f24fd7964a46e7f3240fe0':'Scan All Sheets/Import Files','c08c88804a014c2fbac9c3fddf4c70e9':'Scan One Sheet','34ec92a90197489fa6669d0690dc1fa4':'Set Field to Not Verified','3a950c9f06ab4516a762a25726cbf985':'Split Document','a23472a275bf4cb7975af34f455a3928':'View or Change Scan Settings','49e62e0e121a4068b14a9992751a82f5':'Zoom In','d194f77607d3444cb746d56239b27d87':'Zoom Out','d194f77607d3444cb746d56239b27d88':'Reject Page','4F79CC17EB5146E9B24E8B775090E1F1':'Please select the Type','13162E6718F3460596E1D4E982ED8E3D':'Please select the Group','81C01940C0E447FBB8A9D7A50C5CCA43':'Rule created Successfully.','03EC1E4F0D0C4B76831277AA8BF529A0':'Delete Rule','05F389AE0B184FCEAA2AE8B5EFADC859':'Are you sure you want to delete the rule?','59073D4B4CCE4B2ABCC5374A75F6FACD':'Document Required','BFDFFD1750CA4FC286E91802B4B22BF1':'Yes','770100A0A4E64112B3F13A0E37F3F80B':'No','84313AAD0E754EE59C0B2D43504BF4D7':'Description field cannot exceed 255 characters','84313AAD0E754EE59C0B2D43504BF4D6':'PDF reader plugin is missing','84313AAD0E754EE59C0B2D43504BF4D8':'Standard','A3BCA16B290449DE9333DB489F29D8B8':'Delete Page','A2E33F34FD674813A3D326B27F7C9220':'Are you sure you want to delete page {0} of {1} ?','6f606d095db04280ab3a05d9387f4feb':'Fragment','8538729A9C9A40F2B05B5E779105E9AD':'
In the event you require technical assistance please reference action: {0}. ','BE90CDD992F049558777C8E4A953A635':'Not Run','9170DC2A262846C9A44212DABCCFA7E4':'Met','E13EFC5F2851407B8C4D46F97586AE1F':'Unaccepted','D22088F9D9D14054BAE5CDBE2A78EDFB':'Validated','C6B63A63717D45DC9ED6855460078EC1':'Verified','281014EB5DDA45669D80A2E7C94497BD':'Waiting','5AD9E85CF5E44F6A9ACE1D4502302F1E':'Accepted','5423CF5EDB6A40818DD407A0DF9616AB':'Received','F991C23AABD24BEB899FAF4087942FA2':'Rejected','DD6598D33F814CB0B94392869986D17F':'Not Met','F0F7F28D2D484B59903C3C4B06E65DA1':'Move Page Up','8538729A9C9A40F2B05B5E779105E9E0':'Move Page Down','C2A2366E50DC4F029DB2F47451D1E02D':'You are on the last page, so cannot move further down.','D0B3DF12C3644E0E879444B4A0778131':'You are on the first page, so cannot move further up.','D536E5DF85214E849703B4F89A9EDD13':'Draw Rectangle','10BB848C750F41E18CE2E24F7695C0F4':'Queries','F322A976E7B747909F283703AF30B26F':'Full Size','0592F07682F24E74BC87A45E46D4F653':'Fit To Width','922B77348C784D6B84FADACDE046D2B9':'Draw Highlight','D208F12A67BC491296DD983EAB1BB360':'Draw Line','81C6556BF2C541769A65515BE78AB1C9':'Draw Freehand','9E7893D59FCC4575B482FD015AE718F0':'Draw Text','9E7893D59FCC4575B482FD015AE718FF':'Draw Rectangle','9E7893D59FCC4575B482FD015AE718F1':'Forced Valid','9E7893D59FCC4575B482FD015AE718F2':'Comment is required','9A912C7491994FAD82C818ACEEF4E00F':'Name cannot be more than 40 characters.','25D465BBCDB44B9AB0CB3F0CD461CC20':'Update Document Type','FFF43C7FCC1145A5A7223552A97AB5C1':'Comments','E15693912EC64DD59B000F0895173A33':'Upload Document','35F10B8C2A29458D847FDC88A024576F':'Re-evaluate Date Required','D50742EDF2A74FE7A932BECBBDA10697':'Add Document Type','5B3C7B295BBB4FCA830EED5B48FE68AF':'Change to Mandatory','19B5369817F94700B487E72B71E6D696':'Re-evaluate Rule','1269A1885CE54900B6DDAABF1FA33788':'Rule Status','CE6E8EE45F0F4EB78158F275BA0185B5':'Document Status','EC7FFDF2685F4DCF89772E4DC83165E0':'Restricted','4C0EEB8035074C20B2B6EE819DDECF49':'Document Upload Process','D222CA11FA6B4DCF83B585E0EE6B3CF6':'Select the process.','64313AAD0E754EE59C0B2D43504BF4D1':'Activity','64313AAD0E754EE59C0B2D43504BF4D2':'Job','64313AAD0E754EE59C0B2D43504BF4D3':'Priority Type','64313AAD0E754EE59C0B2D43504BF4D4':'Due Date Order','64313AAD0E754EE59C0B2D43504BF4D5':'Offered','64313AAD0E754EE59C0B2D43504BF4D6':'Not Set','1ffbde41f8d2478c81c56d6d460a6155':'Complete and Take Next Activity','4622ECA08883492DA5551A6D8D354379':'Decision','84208A233B414A6AAA988866FD57E2E5':'Embedded Process','A81D761E927F44DB98780556B5FC889B':'Library','07E282A26721493AB3DBB5F503F92F88':'Start Point','DC5A1C7BEAD241E883AFB9351FDA887C':'End Point','AFF200DBF8D64B80A3CBBE0A8AB9582D':'Script Activity','1264B2F5C25B4E0A9082A0D8296EE17F':'Com Activity','5F980642E7B64C8BA439DB14BF617B27':'Transactional Activity','B3C07B8EF93C409D9CC3855E06A01611':'DotNet Activity','50D68EE429A4422E93EFEE7657B58656':'Web Service Activity','18DC973DDBAD47B88DECBA8900217230':'XML Activity','918B615733A64AB7922091A0DF3672AD':'CSharp Activity','68ced38f34d14fc1ae9c48d161d77829':'Document Conversion','2EDC524506DC45C5B68E2376F8C68277':'VBNet Activity','7129C96D732D4E458A4B5E16598846C6':'Create New Job Activity','D26B0C79E59B471CA8C7F48672BA1E1A':'Create Subjob Activity','661A7565360F452C9EF309267545F850':'Data Access Activity','0E280553137F49FDB9ABA76CCBB4B633':'Design Activity','0DF3BCC4FA704F7E8FF7A2E07EC6E855':'Event Activity','57E3A9FE26FC4A5F9BFE357294DEE2DE':'Resource Info Activity','204194D6EE0F4CA9BB030B35D3165E54':'Job Owner Activity','588727E2D022451D926BAD961179E79C':'Job Variable Info Activity','9249084505D84A368444204348640A20':'Sleep Activity','7DD3AD1FF2754F1F9E7A6C080DEC5D42':'Synchronization Activity','4BDC23AC9EFB4D59AB3E1842DFA42EC5':'Extraction Activity','68ced38f34d14fc1ae9c48d161d77340':'Mark Finished Activity','6AB54C7EE0104CF0A63016D8CED4E312':'Separation Classification Activity','7CFF72DB8CC94EB986E2F89F390BA25C':'Scan Activity','35F5AAD1F6214A07B61D259027044662':'Validation Activity','908FFEF26C9049A2873DE7EEB8482BB9':'Verification Activity','9CF2AFF29F4144F289926AB10747FE60':'Document Review Activity','6D275AA1284F41DAABAE4287EB873E05':'PDF Generation Activity','05809223845846B78CDC4AB652E39D55':'Image Processing Activity','DB62EE6384D8441B946247898BB5E3DC':'Composite','BA69B6BBB31F46BB87B493EA39C3E1A9':'Custom Node','40BDAF889D7E40A9B7C5FCA474665B0B':'Sign Document Activity','85657D9D3BB84641B4A0B0584EE2808E':'Default','3F271F97407F4059817F076E72DFAD0B':'Multiple','053801D8BC534828AE31381350D073E7':'Signal','8C30F6DCA4B6432B95C9C7E2AF2C599B':'Compensation','836CCEF54C9A4E0FB6976199436BCBE5':'Escalation','73D6D1BDB7F84E19BDC8C69716F7D38D':'Message','F72DC62B8D7B440BAF53465BCA382C65':'Timer','6D50EB110C3E4CA4B51CD8F977514CF5':'Conditional','4789282A897A487CA4265F9A5BF20679':'Parallel Multiple','1361dc9b31eec4f5ad02190bf453b48d':"New annotations have to be saved before moving a page.",'01613e1acb8d15ab497af462e252ee77':"New annotations have to be saved before deleting a page.",'43AB0FFED08B4F67955690EE9979A221':'Show Page Source Image','43AB0FFED08B4F67955690EE9979A222':'Show Rendition Image 1','43AB0FFED08B4F67955690EE9979A223':'Show Rendition Image 2','43AB0FFED08B4F67955690EE9979A224':'Show Rendition Image 3','43AB0FFED08B4F67955690EE9979A225':'Show Rendition Image 4','43AB0FFED08B4F67955690EE9979A226':'Show Rendition Image 5','98958A87B1F94BE4BBBE0018CF48B427':'.','29CE10B36BE448F3B82467861F40379B':':','D45BD75FFB584E99B915119847409F8B':'You cannot reassign an activity from and to the same resource.','BC1F3A07ACA8465197A752F600B45A61':'Make sure that at least one activity is selected.','EDAA90AF931C49A1B3FCCB0A0C87EC4C':'Please enter a valid date.','B91DAD1251924723BC9BC276FE3E2BD4':'Delegator and Delegate cannot be the same.','BC5D9DB63915439C97BE0ECAB961F123':'Unable to download the required files from the KCM server.','0AE6EC51AB254CA4BD5883FF3C86C022':'Next Rejected Document/Page','D48DE87C11324B45A1B50ED4822462DE':'Previous Rejected Document/Page','6614AC0D72F34E25A24DAC3F58BAF29C':'Replace Page','319AEBFE1F8C4D869C68E295827C449E':'KCM Compose Activity','01634CA12FC74F28A58229E06087D24B':'KCM Distribute Activity','D1B3853EA92C46B4BD59E5011650D520':'KCM Pack Activity','419BEBFB1F9C4D769C88E245823C441B':'KCM Compose','15636CA17FC75F28B58239E04087C24A':'KCM Distribute','C1B3253ED92C26B4AD59B5013650D221':'KCM Pack','D778D33C1385442495ACCD6BF2D11E22':'An unexpected internal error occurred in Kofax Web Capture Service.','168A95DAF11F45BE8C468BBB708A497A':'The eVRS command string is invalid.','988ECA0ADFD8490FABC3AF90658B48D1':'Scanning completed with error: {0}.','B0916867916A4FCE9980DA8022460F81':'Scanning completed with error.
Check that the scanner is enabled and connected to your computer.','7AAD8620FF7A4E7AB593C1996D8FF168':'Session Timeout Alert','2AD89BF321244C018F6B40DF6EF7AD67':'Your session is about to expire.

If the session expires, you will be logged out and lose your changes.

Click OK to continue working.','391F2C2DBB6542DCBD8FFE6905D126A1':'Are you sure you want to leave this page?','25F9B0FF2BCE4DEA91D6CF3FFA56AC8D':'If you leave this page, the data you have entered may not be saved.','A1B2EE37E2E4494B9A5138355CE7C3FC':'Cannot restart a job within an inactive subjob.','DF767AEE0C494BF6917D33F16945B3C2':'Process imported successfully.','8B4E7FC5596643B8B45A5E85B7F9DB19':'Please select a process to import.','6B830643D23B4068970AAC77CCB68B1D':'Parent Map','1D6B98516A514E12A10AC9FF88176449':'Document contains PDF file that can’t be displayed in this browser.','BD0EC74AE2D4402D9E65FDA813DF917E':'Document contains Microsoft Office file that can’t be displayed by this viewer.','5DADD49F06FE4AB7940E7680F61D7799':'Document contains file format that can’t be displayed by this viewer.','ECA2BD480540489D8B83613F159E5E94':'Warning: One or more selected files are eDocs.
As it is not allowed to import eDocs as pages, these files were skipped.','39C05147BAC8481EB22AEF8DC9F422C3':'Warning: Importing mixed file types (eDocs and image files) is not supported.','745CB63BDD78406E81652F7761ED12DE':'Warning: Importing multiple eDocs files is not supported.
Only the first eDoc file was imported, rest were skipped.','9821EFD11EFA4945BA309804459FFB12':'Please select an authentication provider.','4188AAB43EFB5224BA3099044533BCDA':'Your browser is not supported, therefore the site may not function as expected. For a better experience, we recommend switching to a supported browser.

Refer to the Technical Specifications document for the supported versions.','9A1FC27B014145008536D6D4B06E1F86':'Please select a valid package to import','986E7F2D4B8E4D82BDA12B42AD4098D9':'Package imported successfully.','C5924368BABB4D669B2FD1116ECC4E4B':'Please wait, this may take several minutes','E363ABE4FF7A47ECA32F33C769E32099':'Be aware that when overwrite is set to yes, any existing \n non-versioned items on your target system will be overwritten with \n the items contained in this package.','EA0B1D74DF5E4C8596ECD17433D7D650':'Kofax TotalAgility Streaming Service is not started or does not exist. Please start the service.','66ee27500ac7421f98d0d04de40b0145':'Other Warning Information','6267022ac2af4e77a92ba1eb4bb33ab3':'Core Worker Service','d35482ce5a6445e2a2b97a330e8a25dc':'Transformation Server Service','ee1b1a53ae7d4d938c4407a893e5f017':'Export Service','19b170bcb7db413a838e5c1dd154dfd2':'System','1d39e7aa70e1473ca282659770caea0d':'Anyone','766c2981e1ca4e25983bf40f40305b6a':'Less than 5 minutes','62f06ff90ee34582a360f082daac9f7a':'More than 5 minutes','8493ff3e3cb2432cbf8f706cb927f4ba':'Less than 15 minutes','b11115ccf20e43d5a6796413b79279cb':'More than 15 minutes','931b7642a2de438bbe08a5f04b1974e4':'Less than 30 minutes','422e8bf9bb36484a86ba406ee1a7db13':'More than 30 minutes','901634f0e4fd4392b8e960d456b058af':'Less than 60 minutes','ef1067da170f41deb3e6142bb13163c4':'More than 60 minutes','edd55058b9fd449b89b89fa84306a646':'Less than 1 day','d8ab29ab6b55473eb3bb2db710fb7e93':'More than 1 day','dcf3220ae6234ae6b106d246669decd4':'Less than 7 days','b05ee19540694e8a81953a9085fb2ea5':'More than 7 days','085195c365e94065808fc66c7f8f06e0':'Less than 30 days','ccbd62fa099243e38665434fd2e0c31c':'More than 30 days','c319eef9b42a44a38f71fbd6be4fe5fb':'Pending Time','e8195bd849ec40709855d459309811ef':'(C) 1997-2021 Kofax. All rights reserved.','853BB732425348C9BCF2C19DAAB40EE3':'Please select item(s) to import.','10A16000D0F4480C9CBD994B91B4904C':'Activity Not Used','9B71BB71951246E9922037059B19B495':'Activity Status','8891480a5c8e4376a8a1ef7d7abfc579':'Machine Name','6AADD73418204A95919BCDA18BCD2809':'Activity Assigned To','F750AFBD16FB49E780B35A5C57F0D705':'Activity Process Name','A2ADFCADCABB4E10AC4723ED406F0ECE':'Activity Process Version','90EBC554E94A4E68AF1CF19104E8DED7':'Activity Name','1D98B8D344214C6B885FF4062A40527F':'Activity Due Date','4905D2499D324013AEAFC7CD78E25D76':'Activity Priority','9DE0424C4E15423B9BFFCC7E4212AFF0':'Activity SLA','6ABFC14A14F34392B36AC891FCC3C64C':'Job SLA','B7ECF75BC0CC4FC8BFAF80BE33F94665':'Job State','1235C60BDE034ACF864A1B07306F154F':'Case Reference','8639150D8BFA45CE8BC374F6E077E380':'Activity Type','425044FFBA4C42B2BB9009CCBB009C5B':'Work Type','BEA6C30B0E4743B48953766C57B7CB20':'Pending Time','A894EB15F2A44B6A9964B29C00AD098E':'Design Activity Type','B594EB15F2A44B6A9964B29C00A62153':'Work Type Field','4BD0C1C22B3B4B23A390851F54C2B795':'Job Field Not Used','CE93C4BD99D44E2785C4F528A81C40D4':'Job Status','FE48EAEE37FC40E4B3DD7FAC5047DC22':'Job Creation Time','3D34EC3FAC1A476DBCDCA9E8592FC8C6':'Job Creation','7E8561F6098A414A95F9F4D9C3EF3D4F':'Job Finish Time','3BDE9110FAD64A86855B41D33E46BC16':'Job Id','B09761DBBF904021939A5D8FE7CBFBBB':'Job Process Name','5812141C020143A485360165375510E1':'Job Process Version','B348A4F9F3B94FAEBF65F2BE65E1A751':'Job Priority','D9ED6179EE464F5AAFCC4508EA835633':'Job State','AFDBB80CD167412C8A23175D7B213875':'Job SLA','07A4BDBC798D470EA74CEDAC5A59E183':'Case Reference','EC0D26ECDACC478297065B5B16DCE913':'Job Owner','6B1423622D744544B0A785A7E0C40305':'Job Type','ABD6A3E793B648CEA946F9317075DDCD':'Job Score','07C27F59F6C24DB1830467D3997DE5AC':'Job Work Type','4F8AD2C691DA4A9ABDD9CC91EE70EF23':'Job Work Type Field','C794EB15ABC32B6A9964B29C00A22945':'Volume','D731EB14321A2B6ABB64B29C00A88552':'Grouped By ','1EEBCA19B7DF40209B5D2B238BA32C15':'Import Package','1EEBCA19B7DF40209B5D2B238BA32C16':'Import Selected Items','1EEBCA19B7DF40209B5D2B238BA32C17':'The package definition with all its items will be imported. Do you wish to continue?','1EEBCA19B7DF40209B5D2B238BA32C18':'Only the items within the subpackage will be imported; the package definition will not be imported.','5b3e5c98907e41219ee320201f2061de':'Loop','98e6080f9577477c8892fde0228164c0':'Expression','54e046aafc0e40c3b2f2a38f00dd78cd':'Sharepoint Create Site','51ba58c1badf414bbd46596fd920f372':'Sharepoint Create Folder','05ae7956d15c461090cd8a6e74aeac94':'Sharepoint Add Item','5a7de20e54a54c5e9a155d97a2ff3741':'Sharepoint Delete Item','9c1a8af210ff46cda7db66f050aa242d':'Sharepoint Uploader','e613ea01958e40229d11c18ae1c28110':'Sharepoint Move Item','d086617cb6f240c4a7e54dc239225732':'Sharepoint Get Document','7939cdc989a9458d8c7f050e018d3271':'Email','f092cb38e83b42748e44a8f32006571e':'RESTful Service','23b50527d7f0448c8e333c788b8640b1':'Document Creation','8528a9d28760478ba8c1e8fd55bd3cba':'Dynamics CRM','6c6365ee66134725a0cd66fcef60dad6':'Ready for Review','e7a36284225c4a93baf497db24b4d4ac':'CMIS Get Document','75dbbc14d66d435bbb52aa25dfa86167':'TRIM Create Folder','e5dbfc21c38442d29c85e601704550dd':'TRIM Add Document','227ef4089c464f799f0038bd14d8292a':'CMIS Add Document','2b85900b2c4941f4a7883ba8c48f3f55':'CMIS Update Document','1b7ea6ec7fcd4195ba070b57ca5e80bc':'TRIM Get Document','11b34c22ad804b9cb4196343cc6b0dc6':'CMIS Create Folder','d322877071344039a30e009235764757':'CMIS Check In Document','dbab654308134404b80c9d9c3aefafd2':'CMIS Check Out Document','9cd9a76099dc4a6fa445e72416be8f1b':'CMIS Find Document','b5d33957e1034df3852504ffb6635844':'Exchange Server Get Attachments','117b910f0455473b9f510d2ffd422fa3':'Export','4760a7ddbb9e467ba08037ef637c2d0f':'RPA','2ee1d5b9fb4b4c3cb921a4081b0a4502':'Transfer','dcb5b2a589c34707aec57bea23c1f35c':'Image Processing','e556ddd70f644d138ef996af9bdeebb3':'PDF Generation','0bc2bfdd16364f14ae92a779908cbcf7':'Document Review','a343b46046744e709642d0ba0f4430ce':'Verification','a387bcc6916a4195ab229d1be6397897':'Validation','03ea5ac1c3bd45e6893538e267b12695':'Classification','76b402825a1e4fd69ca81fefb4dac589':'Extraction','88ced38f34d14fc1ae9c48d161d77739':'Mark Finished','2c8d7f83e5c049ff96fbc2666d72c2da':'Synchronization','743e23eb5743497b95d93236b1297027':'Sleep','8d9085ac690d48079565bdaf182b8d05':'Job Variable','3c2115ac23544983887d1bf6678c2e1d':'Resource Info','4ebd304574a24fe5828d199f22393c08':'Data Access','dc902646ba8c4b9e8b8f93fe5f334323':'Create Subjob','f07ddd306a5444e8b3a1d0c1138bb467':'Create New Job','f132f8b8dba24a2e92f1c33b83a233e0':'VB.NET','3c3c186ce57646f1a963c0f86a4e081a':'C#','3dc0e3f1a164484e96e61aa4d22d2fa1':'XML','f5f242d9953244e7a60650acc6538278':'Web Service','8cb974041f264f3a865ffde60779ad36':'.NET','5882466337cc427db6ba8d4d7c7f00cb':'Script','342591c27056449b8c37fe21213106bd':'Node Type','728e12ea5b964c608b73f0c8cf3b147b':'Pending','fd894396402841158f26277f6b6efac6':'Pending & Saved','CD1FC4B8CF4A424E81ADF5EE190A2B62':'Importing file(s)...','5DFCD9E48A2D42D593A4428ED50B35A0':'Scanning...','70a2fd0b5bf042f4978aeb33ae4859de':'PendingTime','1BAAA31917834353B6751C26BE3EBA0A':'Time Pending','757C517E5C224BCAA89EE8D01E04113E':'Time Spent','c6e078dbbe614e0b8d9ad2c34a2a9276':'Pending For','78byec5ebaa540be8f5a3db17e5ce8fe':'Sorting','78byec5ebaa540be8f5a3db17e5ce99e':'Sort Order 1','78byec5ebaa540be8f5a3db17e5ce88e':'Sort Order 2','78byec5ebaa540be8f5a3db17e5ce77e':'Sort Order 3','78byec5ebaa540be8f5a3db17e5ce11e':'Ascending','78byec5ebaa540be8f5a3db17e5ce22e':'Descending','cb09e62e193e4ffeb7230f4a955af955':'Perceptive Add Document','e92d25add86a42d1b58412ab21639728':'Perceptive Get Document','7daf300249d84d67a5e5ea0136386eeb':'Perceptive Update Document','4fec8d11aa924de9a331998a61adf042':'Perceptive Delete Document','d8cceffc83444436b1a2d338d59fc86f':'Perceptive Find Document','46f6e1f5f0a9406bac01c81d8abb6367':'Perceptive Create Folder','b204808ed230444ca31a4d34f0933f72':'Perceptive Check In Document','0fe7323f7d6847c3a744474ca33ac065':'Perceptive Cancel Checkout Document','a4203c1d28764831862b1af1e1981530':'Manual Adhoc','77255f169efa4e43ad55d0a12c71578b':'Alert Task','B50F229B92384176CC05185E329391D9':'The same column name cannot be selected more than once for sorting.','f1775bb4fc3b4f1486be2b8a0ffa954a':'View Properties','6490ef2253e84f4da0e05afd5189664e':'Loop Activity','d886c70126544457bb3662b459d0c7ec':'Expression Activity','6bf6c22672974c6e8df70fb5d27cfb2e':'Sharepoint Create Site Activity','35391a3f385a4dc9800f1ddddb0a51d3':'Sharepoint Create Folder Activity','1f47db39fcb543a4a26f971fcc75fc6e':'Sharepoint Add Item Activity','93bf78cd6b5341248d3f5f4e95f18f8e':'Sharepoint Delete Item Activity','68fffba573b84a73a5946ee7fa6a56ce':'Sharepoint Uploader Activity','b9c0b925f0084c6e99be67c523563eb8':'Sharepoint Move Item Activity','329c5efb429143279dd2f702de365877':'Sharepoint Get Document Activity','8b3ca26426414cbe8a8a13ea49c91f86':'Business Rule Activity','d8b1a6da3a9e4147bcf88dfe3b7ceb59':'Email Activity','10d5b11829c64de6844b024eea5bdcde':'Customer Data Activity','2c1c01382ade48e9b6c575909855650f':'RESTful Service Activity','122d169a7b5a4f97832be14e73a7f274':'Document Generation Activity','20163a3865d44b73ad8ee15926b73fc4':'Dynamics CRM Activity','6d1db684aa2e47ea9e809776fa8fedfd':'Ready For Review Activity','321c42f6a9744a929dff2a46d2a412a0':'CMIS Get Document Activity','796f3ee50f804adc919c328b28328fe0':'Trim Create Folder Activity','afa95a93b9d44bcf9f9c9e862874edf8':'Trim Add Document Activity','395e81e05f3a45678e3e4c8ec53624ff':'CMIS Add Document Activity','13a50b066cef4ffb94fddaefb78ea3c9':'CMIS Update Document Activity','003176e24e0041419cc365641e617fa6':'Trim Get Document Activity','eb64062a086d47a7916a5a6adf1ab96f':'CMIS Create Folder Activity','c0c2df9438734477946875ce4e166d7d':'CMIS Check In Document Activity','5d367564cad148549733b887f0450aaf':'CMIS Cancel Checkout Document Activity','2191507cab4b473ba1f43ae27c0ac862':'Exchange Server Get Attachments Activity','7b88f2b6059a43499aa32699b4a0cd2c':'Capture Delete Activity','8807756d4d644bc68479cc2a48e8c60d':'Capture Export Activity','966d58e010de42ef887976616d0b8837':'Dynamics AX Activity','01cfb57c21b14dc08b027312b80de83b':'Dynamics AX Search Activity','b90197036b784d59894679851e2d6573':'RPA Activity','7fbfea8965ea46c58bc32496f0455253':'Transfer Activity','148b8e8f1481484bb51968934ffb130e':'Document State Activity','509e00e9d882407589fcb7b278fde86a':'Document Received Activity','26be60693ceb4cddaefa0e718e070252':'Confirm Document Activity','d5f2ebc0c19341b6890138417e08608e':'Add Document Activity','b7117b851fc94a4c957c5e4d39b61902':'Perceptive Add Document Activity','2f23507243ee46e2864fad224b773c6c':'Perceptive Get Document Activity','0c9069f107d24c81a6d7f0dd20170941':'Perceptive Update Document Activity','7244505aa9214295a3b8cd6d6a0a0ea8':'Perceptive Delete Document Activity','612fabe6e58041c0bb1bca62ed1fc85c':'Perceptive Find Document Activity','6da05c00fd974994a88d0bcbfb53414b':'Perceptive Create Folder Activity','46027aab7f1c4869bc0597e9762ccebb':'Perceptive Check-In Document Activity','a9274d5d235444cfba514ceb3de70ade':'Perceptive Cancel Check-out Document Activity','37E4A548CABB4478AC6FE888F18C6726':'Failed to open the selected scanner. Check power and connections.','6bf540e9e6e0438b8febabb6dcbeb76c':'Done','1bf440e9e6e0538b8hebabb6dcbeb96d':'Cancel','ab419ac0817245ada8c454f35dbb120b':'Work Completed','8f4666bd5d804249baa3dd0d0b6b081a':'Completed By','593825b5aeb94f9f871be711bd9f24c8':'Completed Date','ff9443378894487484bc363b88d81438':'Service Call Failed','1369635aa9256295a3b8cd6d6a0a0ec6':'The selected file type is not supported.','2a5cdfee122a49e9bd7e6e4576df42dc':'Undock','310b800e262c411eac07d4a1d12729e3':'Document Viewer','a0f082bb5e054f08a4d206264eec24bd':'Unable to open the pop-up window. Please disable the browser pop-up blocker.','a0f082bb5e054f08a4d206264eec24bc':'Submit','94E57E430BC1449F88846ADA66A506C5':'Lasso Zoom','949DB2EC74F3423795902F5707B7FF3C':'Lasso Zoom Lock Mode','ED6381F8E66649CFA535AC128F6E6840':'Get Source File','E8088611230F41DB9FB184141CAD1AD6':'Insert Pages','3769D9EBBEC14C239E1A849B6416CEBA':'Toggle to/from Virtual Field','89c6da694fff4eeab1d0c0bf2ca273af':'Kofax TotalAgility Streaming Service is not started or does not exist. Please start the service.','d375d69a8a2141658a301c9fbb53a0bb':'Failed to communicate with the server. Please contact your administrator.','59721b46692945b5a0823c9fa303eecf':'The specified form variant does not exist. Please apply a valid form variant.','7d030f652f0546199846ACC2b1f5A3DB':'New Query','a9878ffeb76d4b7993adb7cdaabac9fe':'View Results','3eda8c6286894aefb8a02263a711d3b8':'Edit Query','87441b635c2d4637a85011eefe1e22bd':'Please correct the following errors','898B186A5A7F4275A2EBA0EBFB52DFB5':'Suspend Reason','A0D9BDDBA3A64258A1076F752FB1B7DD':'Are you sure you want to suspend the job? You can optionally enter a suspend reason below.','58c5d6cfcf9e40d28a0df637e54a81f4':'Properties','198B186A5A7F4275A2EBA0EBFB52DFB5':'Draw Mask
Double-click to invert fill color','298B186A5A7F4275A2EBA0EBFB52DFB5':'Draw Permanent Redaction
Double-click to invert fill color','05809223845846B78CDC4AB652E39D56':'Image Quality Analysis Activity','D1B3853EA92C46B4BD59E5011650D521':'Document Conversion Activity','2B63B21D20204D61A6C79B23BEDA8A72':'Unsaved redaction will be applied and cannot be reversed','CA47C68E7DEE40E9AE6B9948926B5C0B':'This document contains unsaved redaction. Would you like to apply or discard them?','B3DC6AB31E244EB4A8F546A96C33F982':'Continue','A8189FD8342E4B7EBA1701F63CA2BB3B':'Cancel','7AA135A856694D6095681774B4AD73A6':'Apply','65C7BF1009D746A8886A143EB1D6B4C4':'Discard','f9667004bbe049b0bcc76de3e7a22209':'Create Jobs','8A8E4C12FB394EAD86311D8149FF5DCA':'Browse','C7596939EB9C4F65B5AB4820CDE0BEBE':'Go','874AEA5376514BF2AA9136360667C89D':'Set breakpoint','2829878387434621B3E163FCE7B7A483':'Remove breakpoint','2829878387434621B3E163FCE7B7A484':'Start','0F9DBFA9754D4A90A74E926D53924FFC':'Type','0F9DBFA9754D4A90A74E926D53924FFA':'Variable Scope','0F9DBFA9754D4A90A74E926D53924FFB':'Input','0F9DBFA9754D4A90A74E926D53924FFD':'Output','0F9DBFA9754D4A90A74E926D53924FFE':'Both','0F9DBFA9754D4A90A74E926D53924FFF':'Show variables','0A9DBFA9754D4A90A74E926D53924FFA':'Variables','18B3F45355294757A66AB868488381EF':'All Variables','18B3F45355294757A66AB868488381EE':'Instance Id','0A9DBFA9754D4A90A74E926D53924FFB':'Update Failed','B3DC6AB31E244EB4A8F546A96C33F981':'Show Milestones','B3DC6AB31E244EB4A8F546A96C33F983':'Show States','B3DC6AB31E244EB4A8F546A96C33F984':'Show Events','92C5F14ECB8011E89BD58C1645879411':'Variable Type','92C5F14ECB8011E89BD58C1645879412':'Scope','92C5F14ECB8011E89BD58C1645879413':'Input/Output','92C5F14ECB8011E89BD58C1645879414':'Actual Date','92C5F14ECB8011E89BD58C1645879415':'Change Target Due Date and/or Actual Date','92C5F14ECB8011E89BD58C1645879416':'Raise Events','92C5F14ECB8011E89BD58C1645879417':'Count','92C5F14ECB8011E89BD58C1645879418':'Raise Event','d0596355195548ab8cab12bb5d2ba1c1':'Changed By','d0596355195548ab8cab12bb5d2ba1c2':'Changed On','d0596355195548ab8cab12bb5d2ba1c3':'Events can not be raised on an inactive subjob.','d0596355195548ab8cab12bb5d2ba1c4':'Debug','d0596355195548ab8cab12bb5d2ba1c6':'The job has been suspended.','d0596355195548ab8cab12bb5d2ba1c7':'Double-click to edit the variable value.','78ced38f34d14fc1ae9c48d161d77840':'ControlSuite Activity','78ced38f34d14fc1ae9c48d161d77839':'ControlSuite','F1467A0C36C24FC9A5837193FD27D654':'Profile picture removed successfully.','253C1315B49741EB9DF30EC10A65EEB1':'Close dialog.','FA7FA815737249FD80FDDCDACCF37A9F':'Click to expand. CTRL key collapses all others.','7362EB0145C54A46B869A93A37A5B648':'Click to collapse. CTRL/click collapses all others.','E04D8D0424D2420380193DA47842589A':'No file chosen.','39D5E6651BE84AC6A0E1A58697CE9B08':'This field is required.','FD75A5CBC2F1499E8635C61817B35A3B':'You must select at least one column.','9963581EAF6B40CCBA587BACCFF72396':'Please enter a valid Date expression in the following format: @Today ± number, such as @Today - 1. The number should not exceed 9999.','218983693E384B6BAAA4CE3BB2588BEB':'Invalid Activity Tab Fields Remaining','F9A25A3F045145F4AD734F050C16812C':'This content has invalid Activity Tab field(s). All Activity Tab fields must be resolved before the activity can be completed.','B6CF6659609B4E77A32D6ABEA4D9653C':'Full control','39B8CA5922964B18B4500F7D92E87DAE':'Edit','90AD8D268E4D4CC4A131C551C63641D1':'Run','279AED0F4C8A4FA49BAB5CAE169BB6C3':'Permission type','50787E0A719A49C2A59A5FABF40E184E':'At least one resource is required with full control permission.','A8347AC8561048198EFAF0EAE976DBA4':'takeActivity','56296E02164B40FB9F678C803F85A4C7':'completeActivity','5BD2386859CC441F868EFDFF26D5FCB7':'reassign','BE3846E1C9C24E6F8A38AEDBCF6DCB0C':'You do not have required access permissions to edit query. It will be opened as read-only.','11D317E0D5974E0FB6F8D2381E271EE3':'Expected date format: ','3d4af20be1724c4da34bc00b8b57cba4':'Evaluation Failed','379C8E9ACDA34114AE686021FB9F5F0B':'Delete','E6AA7838A0FD494B996B806D0205FA57':'Properties','93C85F4F27E742A7A4D6F75A3EBCFABB':'OK','FBE227618EB64EA5BD2A16B94E643832':'Reset','9A540FAE9CC34061844039AB58FE0C36':'Cancel','7B3B6D63634545ADBA29FDFA90BADB4B':'Rectangle Annotation Properties','DAA0431E1326499D93C7BCA2F7ECE146':'Text Annotation Properties','0D2089BF3DFF42C7BDF8BB63A0CAE7A3':'Ellipse Annotation Properties','F78811A523684FFEA19AD09B9857FB67':'Line Annotation Properties','A15E4803272E42ED9D890E3093D45E75':'Lines Annotation Properties','BDD8EDD6083F44D49F21C68B63D2E949':'Freehand Annotation Properties','BA6E83235B554A129574775EF63579E4':'Polygon Annotation Properties','A6C95A2670DA46679627DBD9BC81BA20':'Fill Color:','BC4895E8B3B84AD6B4FDE2B1D50DF377':'Fill Opacity:','42F5DFA6E18E416CB18356C09555D127':'Rotation:','80F0C6DEBAD34524BB667F0395EA480C':'Outline Color:','769616C9B9984F9EBF0C47A9226D80EB':'Outline Opacity:','06813568AC6D463995284762178BE8CD':'Outline Width:','35A92B8D9F45441EA48DAC8D3FD8C0A3':'Outline Startcap Width:','D62B6A803C80470B8B78D1FD005D6E9A':'Outline Startcap Height:','ABE545EF03244487963CBDE8ED4975BD':'Outline Startcap Style:','14608F8F47AF45F396C7DD73353242D0':'Outline Endcap Width:','1B0A1E3052044637B8F099325F74C0CD':'Outline Endcap Height:','34EAE2AA511A49BF963D4F48FB3C3E0F':'Outline Endcap Style:','37D696A3BC9B4325BA5CED12B6E2CF29':'Font Bold:','239D4186BB354633BE0B329204761E89':'Font Italic:','6FB7FCD29EB440288EF85714B2F0C5A9':'Font Color:','1D0EB282260B43D6B26A27F8E08776AA':'Font Family:','E278290AE5874964A15428F765E18CB9':'Font Size:','069B2E27673D412DB0EF6C8F3CCD200D':'True','BD35BA04793242D79404E0E495E11CBC':'False','9E8894A079A7449D90634B450409E221':'None','1800F38E19F24B298E463D597E5CF0C6':'Arrow','FE017847EEDE473BAE90EC280E4394A9':'Filled Arrow','E31EFC3BCFF34A7AB5218EDAF2136177':'Filled Ellipse','1D3C179A60A042A0BE89445535069E5C':'Filled Diamond','AD4D44B34CB64F16B643011939BB42C1':'medium','868879161F9140FB80C5A274C7B27ED5':'wide','FFE63E5F49C548BF8F2F6F8F1EA0F12A':'narrow','2170305C7D7E46528D6E3B060AFC85FE':'medium','91905727375E44DA8E6C0F1997E56888':'long','13B734DB5B6640508D27BDD0A2058D84':'short','73A0041048C945A49D174893BC60F69F':'Job History','A41F0EC945CE45A58C192E1DDB2BEDFE':'Show Job History','E8798A0504EA40A7AC61383B2A59CD4B':'Node Name','BD5A300337A54E7D8EB13E345C6A96F7':'Status','FE8A6E1DB42D4D5EAD91B10AAF67C1BA':'Resource','5C18AA42C2CF435095F7A50D5F77F3B8':'Performed On','5E71346AE3414F08A4858C9C85F00275':'Time Spent','DAE401BA4B0B4876A3330AC411AAB337':'Cost','fc849bdc08da48108d642d42af12068c':'{0} item(s) selected','CF6614CEB85D4C358FD5D201A23E9A1A':'Click','0ca22b61109e4ea58b3445a88a9ff574':'here','6FF551CB7104438DB62812AF38077922':'to download the capture solution data','E25C14C77B7E40D59359CF4A289AED63':'Complex Variable','8D45B5587E7A4E339A513809954E9A2E':'Complex Variable Activity','262DDE0A976D40F3AB72CABD3D0D85E1':'Capture solution data','92E56481D5474A2486647AA521D725A6':'The maximum file(s) size that you can upload is 2GB','a2a9c56decc14cb68d2c600d76b006a7':'Archiving Job','a2a9c56decc14cb68d2c600d76b006a8':'Terminating Job','a2a9c56decc14cb68d2c600d76b007b8':'Archiving','a2a9c56decc14cb68d2c600d76b007b9':'Terminating','00F12592426A4797BA91B49F2FB342F4':'Add Sticky Note','69DA78285F354D9B88B2662B3161AAA1':'Control does not exist: ','C4C0D6CED36043618FB0190564141D97':'Form variable does not exist: ','EA27B5F1EFB44499AF6170E620FFA870':'Global variable does not exist: ','E1C0CF223C984515963826141575772A':'Get/Update of array variable is not supported: ','16CD91A5E04143CFA97EF94323161D53':'Overview','AD5D702176C841C99148469FD4B66AC7':'Zoom to fit','C708FA7FC5EF43C98A977C7E00DFF2F3':'File name','D44DDC84EB864F00BAF19B0B369960C6':'The mapped field is not found.','82c6b8737e0b4c428d9782cf794d8152':'Re-evaluate Rule','13c6b8737e7b4c428d9793af298d4715':'Document Rules','22D8B8633C2784428B9793AF22865DEE':'Document Data','B5788A24139846ACDE88470321A19C0A':'Are you sure you want to delete this document?','A8789C68299116BAAE38542312665ACB':'Document source','A23456DD083F44D49F21C68B63D17742':'Upload Document','1175633DB49741EB9DF30EC10A118AAC':'Link','AAC4987221D746A8886A143EB12287DE':'No Document Required','88341545B24ACC488F0C47A9226D80EB':'Document Name','AACE47339B174FE7A932BECBBDAA6923':'Add Document','AC456C24556048B08AA6EF366A993691':'Name','1255AFEE7631227AA3B2324390428F21':'Comment','9366231598132A45DEE56732AAF32111':'Rule Details','2276555AFE98756F803735C5796483F6':'Document Type Details','8777454322ACCE9902323EFAA45A9C61':'Navigate to linked document','987723DE21392FFED44212DABCCFA7E4':'Passed','543435223DE45FF554BBEC869986D17F':'Failed','BB34443322CDEF29ACBF1DD1401886E1':'Apply changes','50c1c9073dc24469bc14e979c7e4aa6e':'Variable','d77b4140a5224d118d67404d52ba4329':'Show State Changes','d77b4140a5224d118d67404d52ba4330':'Show Milestone Changes','d77b4140a5224d118d67404d52ba4331':'Test name','d77b4140a5224d118d67404d52ba4332':'Server data','d77b4140a5224d118d67404d52ba4333':'Test case name is mandatory.','d77b4140a5224d118d67404d52ba4334':'Case data','d77b4140a5224d118d67404d52ba4335':'Test data','d77b4140a5224d118d67404d52ba4336':'Execution path','d77b4140a5224d118d67404d52ba4337':'Activity configuration','d77b4140a5224d118d67404d52ba4338':'Test','BACCEE298714266694333E345C6A96EE':'There is no associated document or link.','AAD21E298714266694333E345C6A96FF':'for the selected document','999236142325267BAACE345C77222EED':'Overall Status','194326142325267BAACE345C77222EED':'All required rules have passed','872431122325267BAACE345C77222EED':'Not all required rules have passed','A4C0C5A997924A92BBACED68C2B46129':'Add execute step','D124F85AC79248B0BF16507610AA5A20':'Add assertion','8AFF5C9760394EC48A2B35E951CA083B':'Steps/Assertions','1B8BE94E81EC4B24942B84A1210DFBCF':'Save execute step','d77b4140a5224d118d67404d52ba4339':'Resource data','d77b4140a5224d118d67404d52ba4340':'Variable data','d77b4140a5224d118d67404d52ba4341':'Iteration','d77b4140a5224d118d67404d52ba4342':'Configuration','d77b4140a5224d118d67404d52ba4343':'Skip execution','d77b4140a5224d118d67404d52ba4344':'Node name','1B8BE94E81EC4B24942B84A1210DF555':'Add Document to Document Set Activity','d77b4140a5224d118d67404d52ba4345':'Skin','d77b4140a5224d118d67404d52ba4346':'Apply for all iterations','d77b4140a5224d118d67404d52ba4347':'Select variables','d77b4140a5224d118d67404d52ba4348':'Activity is not configured','d77b4140a5224d118d67404d52ba4349':'Error. Invalid filter criteria: FieldType "{0}"','7BF551CB7104438DB62812AF365334AA':'Available activity actions','212a655c293f4c0690787007d71966b8':'Test resource assignment','67B88AE4C82741A9939915A336AB5644':'Occurrences','CEE7781B09DE499AB7591D9977FDA554':'On Time','74474F46F2A14102BFE41A80A9DBAABC':'Average Pending','C05BA4BE1CA44BAFAA26A0E8099D8781':'Average Duration','B4A55CB43CE742C3825AABC989AC8714':'Business Rule Task','A573081EE54441E1BF763242F6577772':'Script Task','CD3B9DDC7AAA484A8C6EAEDEE27A443D':'Service Task','DD71C50245F24CB2995BD251269F961C':'Sub Process Task','A8A84ED2DE5548C29FFEF6BB3CF42345':'User Task','32846B52DA844D6C8531C64D5C53AA31':'Capture task','1BD9D13EFA4F43F7AF09DFB7A19D2664':'Enabled Breakpoint','184dd254e3c441db838109beaf22f6da':'State','6372b58e750245c195edc03e938bc989':'Events','a5729901ec8e4c7996d6212958b3b5f6':'Select events','a5729901ec8e4c7996d6212958b3b5f7':'Configured variable data will be deleted.','a5729901ec8e4c7996d6212958b3b5f8':'Configured iteration data will be deleted.','c4cec7888ee74d4cbdb4adbf547c9c8a':'Add test data for each node and add execute steps to perform them','f5ede6610ab5444f8c645f9cdaddcdac':'Configure','a5729901ec8e4c7996d6212958b3b5f9':'No groups but only individual resources can execute a test.','40f404bf338f43b0889dff9357456c6b':'Job creator/owner','2a1736c8074d4fe18f8754dab25324ee':'Please ensure values provided are valid.',"D1BB44B9A840411684A962C82D102B87":"Unsupported Browser","AFEB925BC2694AD095CAD459995EF6FA":"You are not using a supported browser. Try upgrading to the newest version of your current browser or switch to a different, supported, browser. It may be possible to continue with your current browser, but the appearance and behavior of the application may become unstable.","0D4FD22957574FD784459D992B4AFCD8":"Fields","4E941C86607147CF86D145F488D6C909":"fields","1DDB6E189C4A4BDCB2390DA12416EE2A":"field","11B173CD9EF2487DBA75C72929E81824":"{fieldCount} {fieldLabel}","D964E4229556445DB34B8E5B0DDE0D4A":"This field must be confirmed. Either the field has been modified and requires validation, or its value does not meet the required confidence level.","315DB32B53BC4BC5AD0B1BF174326299":"This field was forced to be valid.","93916B037DF742A899AB235EFDC748DB":"Document Rejection Note: {0}","F6A0D40181DD4504A98B636835A230D1":"Page Rejection Note: {0}","2FEBF90DCD2A4939B1C479C422C47265":"Document","5C8FB6AF0228425D845B2795DCEE972B":"Page {first} of {total}","D28BAB865BCC40DEA1D4A5BCDC7429C9":"Image viewer page {0} of {1}","2536478E709047D9B9F49CDD361B17A6":"Error Adding Sticky Note","8923AB22F7EE454BB237465F7E412B2E":"Error Saving Sticky Note","95D978FF976D40CA9EB965B3ED34A809":"Error Moving Sticky Note","13A4290B4A90443ABD57FA7121E01504":"Error Deleting Sticky Note","ACDB665316324840AE224DFB2F2FC3C3":"Open Sticky Note","2B4999CEA8294DFC9A1401F4A6163439":"Delete Sticky Note","1A4750E707E14D82AEE4AB12FD4500E6":"Delete Sticky Note","F6DBA9116FAB47CB94814AD55781D8C2":"Are you sure you want to delete this sticky note?","EFD1377BC1F7416BBBDEFF633102FFC9":"Error Refreshing Page Rendition","760F9944957246AAAE38758380C0EFCC":"Error occurred trying to refresh page rendition.","B7ED5CBFFC7A4CFC83EAD8CC6B387E7E":"Yes","27E6638E695047E195FE1510F72A47AB":"No","EEFCF1B21D0B4D9FBB014A5B460FF3DA":"OK","180C9751A404436592AD89E77F4931EA":"Cancel","7A81ED3AE57E4CE6870E4FD31BE103BC":"Close","80F6B5D300794E71901331492FA87332":"Try Again","C7E7FBD89E32415DB89871D2100C5CD8":"Error Loading Document","96D689A2153C459E9A78ADC8F270A8CD":"Error Loading Page","1C2E48563B584023B9B821B40C8A3F05":"Error Loading Image","FA32EF724730448E9F598110A5031510":"Document Validation Error","4EFCA1185D9147B8895DCB6EB2CFCB05":"Field Validation Error","B508ADEB23DC464E9DDE99423045EBAA":"Error While Navigating","FB3401BF060F40A6803ED9857E2C08D7":"Error While Updating Server Data","E1CCE1C777034B89A7645564CF5D575A":"Server Error","93CBB31C589143A98C3A49501D6F203F":"

The server could not perform the requested action.



Details:

{0}

","1629AC5A82A1474493EB5BAEB403236D":"Scan Agent Service Error","F9CAB0E98C714DFA9EF3FBE3D860B84D":"Error occurred while queuing job for background uploading.

Details: {0}","B07EB95039354BBCB1F58F168CD19B46":"Rotate Page","E24B05F179D14CA1990050F063E95D72":"Rotate Pages","3B05276D82F74B0592DB2BAC70BC099B":"Are you sure you want to rotate the page?","15B918C4AABA4E6AA3063DDDF786FCAC":"This page contains OCR results or field data associated with this page; both will be lost during rotation. Are you sure you want to rotate the page?","869F61CB932A4B639139A155F58B277C":"Are you sure you want to rotate these pages?","C6A76DD042F542A1BFF9EA7DCEDAA12E":"At least one of the selected pages contains OCR results or field data that will be lost during rotation. Are you sure you want to rotate these pages?","68DD39FF1BAD4F4D8F6B8D1D3DE437FC":"Page Rotation Error","E8D5DB80DE8E47989D489E8CA28F9457":"Error rotating page(s).","05114868781A498AA36DBB47F0FBE46D":"Page Rotation Canceled","FA67CED4FC50490BB91133E98D3030E6":"The rotate operation for the page was canceled.","D33A8B80871B4D6BBDD6945BBD521B59":"The rotate operation for {0} pages was canceled.","A65BAB4252004227AB6ACC00C2CAA8AA":"The rotate operation was canceled because a validation operation is in progress. Please try again in a few moments.","DA172C13A40449B4B545A71E7C2573C5":"Delete Page","91FCAB6C99D4498AB0738AA1D59A8C2F":"Delete Pages","47AE6E37803548A0B6BCD348F9C13703":"Are you sure you want to delete the selected page?","B9A52EE71B924E21AACE77D1F9020C34":"Are you sure you want to delete the selected page? All field data from the page will be lost.","053E2716B0D540E8BFAEEA42F92CBAEB":"Are you sure you want to delete the selected pages?","1AEFA0C06C0342FABDCB54E18D359AC2":"Are you sure you want to delete the selected pages? All field data from these pages will be lost.","D46F19332EE2428A83F6BF7BEA5EAD32":"Page Deletion Error","7253140733C34F3B9244451BD560F0A7":"Error deleting page(s).","970A060E4F8C4FCAB07DC116FEA2055D":"The delete operation for the page was canceled.","EB5313AF71E143328AE3F27806A2060E":"The delete operation was canceled because a validation operation is in progress. Please try again in a few moments.","B8368F231B42468BA9FB5CFB1E6ED505":"Move Page","4AB468C5443B4881B006721E6330C80F":"Move Pages","33324D9DC03940948AC05F462690818E":"Are you sure you want to move the selected page? All field data from the page will be lost.","0A48DDD1090044E682CFC8841D6E330B":"Are you sure you want to move the selected pages? All field data from these pages will be lost.","652A51B5772C48FE87F9C05938D121DC":"Are you sure you want to move the final page in this document? The resulting empty document will be removed.","A2D1BE9C3204470DA383D2755C3EC348":"Are you sure you want to move the selected pages from the document? The resulting empty document will be removed.","17095DAB6508496A9E002440F2CB7A72":"Move Pages Error","F3893A074AB648BFB0F2BFD711B80C71":"The move operation for the page was canceled.","C902636D8D654A348773D8959D62C089":"The \"move page\" operation was canceled because a validation operation is in progress. Please try again in a few moments.","F5CFCA30C2E840639459A01219E3CA52":"Swap Front and Back Sides Error","A41EB2CB28D84984B3FEAEAC64F51B3D":"The \"swap front and back sides\" operation was canceled because a validation operation is in progress. Please try again in a few moments.","6938FBAF4AF54B75BF240AABFBC4A550":"Are you sure you want to replace page in document?","60AA4247E56D4EB59B3DCF3884678081":"Split Document","A6EFE6FDAE954FA0BFDC6A911E4A455E":"Are you sure you want to split the document? All field data from the page(s) will be lost.","9BCDC3CE97484E7882652146A01C8EAA":"Are you sure you want to split the document?","399F1546EC49496288166C320728ACA8":"Split Document Error","14D4F2C82B5848308E646C7B691F7E93":"The \"document split\" operation was canceled because a validation operation is in progress. Please try again in a few moments.","518B3D42B95F4EEDB8871CE91F084EA6":"The destination document contains at least one modified field that must be confirmed. You will be directed to the document.","75A673331D8647568CDD06B9A476ED06":"Move Document","75CECE414C9E46708339FC300F67BDC5":"Move Document Error","C9D902BC83B64E3D872D664216712F68":"The \"document move\" operation was canceled because a validation operation is in progress. Please try again in a few moments.","7315E50F9B9B4AC6BE35991941ADED3D":"Merge Documents","0968BD9AC2B84180BCD927BD2F215D03":"Are you sure you want to merge the documents? All field data from the source document(s) will be lost.","A9FA661DE2444B2FA3395E2C615822A9":"Merge Document Error","1D1F14FD046248E38AE50B66BC7928E5":"Rotate Page Canceled","C0120C27DBC649E09E5B4795F9ABA834":"The \"rotate page\" operation was canceled.","25F83702D9D3458BBD3D957940E73B5E":"Reject Page Canceled","69493E435E1347FD8E5F9A23F466FB87":"The \"reject page\" operation was canceled.","BAFE40494F63411C818D30A0E443AF30":"The \"merge operation\" was canceled because a validation operation is in progress. Please try again in a few moments.","824860BA49074DE3B19497735ADEE272":"The \'Merge to Previous\' option cannot be used when the first document in a folder is selected. Please select another document in that folder.","AECFF60B429C468D991E9A69E4C3AEA5":"Non-image documents cannot be part of a merge.","29E01EFA0CE248EF821CDA244F756C20":"Delete Document","439F949FA0F247AABB4C9D78A00A5DBA":"Are you sure you want to delete the selected document? All data from the document will be lost.","25FDCDB6DF444CE0BD1D8A20EEC5DB5C":"Delete Document Error","4A668043E9EC46BDA431A3568D2A6AA0":"Delete Documents","40D916E14A9C48C7ACD739B3CBC3F502":"Are you sure you want to delete the selected documents? All data from the documents will be lost.","F479EEBF06664D52B72637CBE6D91B7F":"Delete Documents Error","29EFFB4E6216454F94E7174B4A2E3C28":"Reject Document Error","123833272131418CBD7EB1E7FDBDA3BE":"Reject Document Canceled","C0195E777D1C43C8B1E9A76494A9E586":"The reject operation for the document was canceled.","0703634C5EA84FCA8482AB05DDF6FA23":"Reject Documents Error","637A943E2FF14AC28C87EDC9FE199984":"Un-reject Document Error","B40D9EC173434DFEADD56201D0CBC084":"Un-reject Document Canceled","0C07D677F92A43E8BA0268AE704F3159":"The un-reject operation for the document was canceled.","54A311EE6E8846749195A258663EAAAF":"Un-reject Documents Error","D700B60BC0A34409816EA035B6064054":"Change Document Type","6E9C7AE1A35C47C88C1B679AFDAC8159":"Are you sure you want to change the document type? The field data may be lost.","AEA5741FD989453FB00DA0E0BA03F518":"ERROR: Invalid Document type.\nPlease, select or enter a valid document type.","556812C1D8234118B9A9253245FD42A1":"Change Document Type Error","6447C8B72F5E40BFA0C216D023DE307A":"The \"change document type\" operation was canceled because a validation operation is in progress. Please try again in a few moments.","3E865F74539D4C1FAB9293EB8321C979":"Reclassified","1EA13A86871848E89593F2C4CAAC086D":"Every document must have a type","F9C91B634E704ACC88757C8E684FA6B1":"Every document with a suggested type must be reviewed","729BB8671C964AEA9C4BA29F8CC70949":"Confirm Document Type","D853059636164BBDB5C733E1435293D5":"Are you sure you want to confirm the document type?","AE6E7C58423C4472989F3F89AA56C52E":"Document Type Confirmation Error","4668BD70328F48C3ACA1E8B510A4CA2B":"The \"confirm document type\" operation was canceled because a validation operation is in progress. Please try again in a few moments.","7C9FBD7208E743EA83B27F6DEEC25FA6":"Override Document Problem","84C046DF679F433AAC1EC8527643CD52":"Override Document Problem Error","E28A068F9F5542FE881D3DEDB47361B4":"Restore Document Problem","296EDF24C87245768377C0901A7E7704":"Restore Document Problem Error","34D6DCFB427E43B884F58052DF3C5FA2":"Create Folder Error","7D326ECCDE8143D48387EFB919AF931B":"Move Folder","6501C52749F74C1DAE7803518E596CD0":"Move Folder Error","D616DD07F338413C9E206FB545FF9278":"The \"folder move\" operation was canceled because a validation operation is in progress. Please try again in a few moments.","F187BFF46D564B6386C50D0A310AE28B":"Delete Folder","443A6396EF8E46B6A650DB1D9B6761E1":"Are you sure you want to delete the selected folder? All sub-folders and documents from this folder will be lost.","1B110429FC944045A90C40D1EC23D17F":"Delete Folder Error","FC03A87F0D3E42BCB41D1D5337AE467D":"Merge Folders Error","893A655F990F4F7890E7ABB2E92BAF15":"Merge Folders Canceled","F777CFDE0F8A48B999FD17EC0E1E4AF5":"The merge operation for the folder was canceled.","E390853891C5416EA7BFDBB574949B96":"Split Folder Error","A9FDEF938B7641C0A0327FAADF19D5EA":"Split Folder Canceled","65E45F40FBB74857BC95015CFD1E96CA":"The split operation for the folder was canceled.","CD50319E00F444E1A6F2EF22BD2E5C75":"Override Folder Problem","7F176D5027174B23AA18AC65D94345CD":"Override Folder Problem Error","22F3397203BE4C259D3C2584F1A23633":"Restore Folder Problem","4D346236E0C3434C83CBC4D0832FC85A":"Restore Folder Problem Error","5276EF46688444EEA2F83C9B2AEA691C":"An error occurred while loading the document.","936F3141F79040E2A0DDCEAFA0A48AED":"An error occurred while loading the page.","A85D7F2B7A0440AEB2D7536BA019E7A4":"An error occurred while loading the image.","50DB7643E2034DBEAF71CB227E81DAA2":"First Folder","62BBF7CA964D4E76A3336C571810B4CF":"Previous Folder","14F298ECC7B9413898587BB6088DA180":"Next Folder","CB9EDD86D14843F1A4B62FF17B85D11A":"Last Folder","40F56D5C62BC47D79286400C29B96116":"First Document","A539DB23461C4A9FAB1F98049E79E766":"Previous Document","D2C3AF1655414988BF8D401AFEF512C1":"Next Document","A7E1DB84390549D5AFF42F379FE86A69":"Last Document","FDF1762AEB55489D8D640A18C1C0C5C8":"Mark for Online Learning","949D0A206CDC4558B4871063A4EB006C":"First Page","06B5E05039AF4D26861598B3FD1420F0":"Previous Page","C6170AC0C795446392DEC0CB582F8462":"Next Page","7802CB7F6D7B48EA88AC57F7E5B85ACD":"Last Page","996F3DB990374811A93EFE86BC1F17E6":"Help","1EE41364E829499DBE7CABE3446ED4D3":"About","3576551371E94C02BCF380B6C22D4285":"Close","F3122FE3443A4669B7AC4916539953A6":"Technical Support","3A155360078D4EFCB74C30C497386B05":"Next Invalid Field","C2182E80A1B044248641CAA80CC8557B":"Force Valid","DCA5BB0EE8BC424792E873076356D192":"Unconfirmed Fields Remaining","B6F44976DBDD418F856A6D8EF83704EB":"There are unconfirmed field(s). Create job anyway?","50D0B751A471488DAD6E5EF7CE4CFABA":"Unverified Fields Remaining","77AC227F1A2743C5BC3B9ECF703DF808":"You cannot complete the Verification Activity while there are unverified field(s). Please verify all fields and try again, or cancel the activity to save your changes.","95C29FFC8FCF43978104CE5338DF28D5":"Documents with Remaining Problems","A32E8F8109A24CBE998B55507D4174C4":"There are one or more documents with remaining problems. Please resolve the problems and try again, or cancel the activity to save your changes.","1091E548C53D4E7393A35BCD675D04A0":"Folders with Remaining Problems","D0DC6D89CB12460C903E9DDFD74C373A":"There are one or more folders with remaining problems. Please resolve the problems and try again, or cancel the activity to save your changes.","B48DDF1025554546B9EAEED8D98E540E":"Documents and Folders with Remaining Problems","3DD01BB4FB8844A49781FFC483606A97":"There are documents and folders with remaining problems. Please resolve the problems and try again, or cancel the activity to save your changes.","572AC87D464741FDAFB1D2820D7499A8":"Logged in as:","ED9D2FED14D24BB484ECD2CD084CF4CD":"Sort Ascending","CE49920325184B9284B2620E48A1147D":"Sort Descending","8B1FBD9C3DA647B49C24134B1F30CFD4":"Processing...","35074B3F7EE44F338698F4A5ADC4DEB0":"Loading...","527DD9332C9641D5BA18CD91605A44E2":"Reject Document","4DE468E8BE09434F9B01FE11E6F17DBC":"Reject Documents","AE34EB0F149A4BDD972AC85C2AFDD373":"Activity Settings","0CC38AA3D39345C9948A70D428A88E4A":"End of Activity Behavior","AFA3B3A4F649437496708810D01BBDC6":"Keep the activity open (requires the activity to be completed).","7F5529C36023496EA612377A38EB26CD":"Prompt me before automatically completing the activity.","A66A42CF275844B0B0DFEFB97F2220C2":"Automatically complete the activity without prompting me.","F198723827FF41318761A8ACAFF270EE":"Complete Activity","F1078197A3164EE799B758F2FEEDDA47":"All documents, folders and activity fields in this activity are valid. Do you want to complete this activity?","61BF2700CEE14AFCA2B5D57A3BECBCB0":"Except for rejected documents, all items in this activity are valid. Do you want to complete the activity?","E41354B3CCED477E9C566A6E6790A4E4":"All documents, folders and activity fields in this activity are verified. Do you want to complete this activity?","3ACE9EDA52A64FF791F5CE2D042CE630":"Except for rejected documents, all items in this activity are verified. Do you want to complete this activity?","CD7EF1DA0A7A49DCB8E2005F86AD9906":"Documents and Pages with Rejections","4B3CE9965312475DAB9B9C8348F8B26B":"This activity cannot be completed with rejected documents and pages. Please correct all rejected documents and pages before completing the activity, or cancel the activity to save your changes.","C23B05537A92420E9CB3F67A809DBE56":"There are no more rejected documents or pages in this activity. Do you want to complete this activity?","CC26B3DB94C44072BC6165A8EC50433C":"There are no rejected documents or pages in this activity. Do you want to complete this activity?","82D1B9C22A284A2EB88C2FD50ACBE0AD":"Next Rejected Document/Page","2A6803C523B54E64849FF9B9A846CA81":"Previous Rejected Document/Page","FE3C55133DA542299686F6667B3AA5CD":"Error Getting Source File","73E447AB87C3434E8278454C74D5D8D7":"Error Loading Local Settings","23B3C9B6E68B40B68AA3A0DACD9D5EFA":"The erroneous settings have been erased; you must recreate them in order to use them again. The following settings have been affected:","6C544CE8B6EA4F5590A337BC18B6CDDA":"Scanner Association with Scan Profiles","6117925229364F639B900EC0960329DC":"Scan Profile Settings","FF723A1445EE4A7A80B88F6813CCE8F8":"Document Separation Settings","906910A969C643B9A1EAAA490D0A4B38":"Folder Separation Settings","9A48890493DC40CC84EA61994053D6F0":"View or Change Scan Settings","794148139F9647B8B79C4F9379128951":"Scan One Sheet","C8AD387485DF4A479F5A576A8EAA8CBA":"Scan All Sheets","654C32463F31445194A1D10EA0CAB928":"Scan Settings Not Available: You are missing the scanning browser plugin, or no scanners can be found","87DC6B16EA0C4408AF41C87FB50442B2":"Scanning Not Available: You are either missing the scanning browser plugin, no valid scanner is selected, or no scanners can be found","20BC7F43E8A34B23A07E018872E45079":"Scanning Not Available: No Scan Profiles Provided","C3D6875AB08E4DED912F4415EFACD623":"Scanning Not Available: No Scan Profile Selected","E1FDE7FFB09F4036A83A485A96EB7E77":"Error Accessing Scanner","C869EE2460214C53AD8B7E907BF23628":"Could not access scanner settings. Ensure scanner is on and available.","1E6A84C6B11D432CB9ECA6A6D1DA1D5F":"Unable to import PDFs into single document content.","DFC015C281B04891B7CA076F09EAE085":"Unable to import into single document PDF content.","ED99B4F2A1174E74A07D0C527D268B70":"(Not Available)","498084BABC1E46E7B3FF5181C3989F22":"(Only with vendor dialog)","DB41B13C820F40AD8033787937E0F88B":"Import File","952089E3056D42A4ABE93A3B9021088F":"Import Files","8500CD6CBAAD40529E63EE823E0486D8":"File Import","C4BFA2E5DE62450495F552373006DB84":"Create Job","0AC16C04DF644E5C88480AE1C7D3FF26":"Create Job button is currently not available. Please wait until images are uploaded.","1D95BE3F8BA2480494391B7CF16A1C76":"Cancel Activity","C5FA1D3AA4E34A539DE884A99EDCE0D6":"Complete Activity","342427E2771143DEA05EFC7FF7F3A857":"Complete Activity button is currently not available. Please wait until all images are uploaded and ensure all fields are validated.","61D8D79B15124559BB4385F26DCBFE56":"Complete and Take Next Activity","550DF1575D514513A01B638E88175E1C":"\'Complete and take next activity\' button is not currently available. Please wait until all images are uploaded and ensure all fields are validated.","2335E95A07954C9E868F9FCA62FE1D2C":"Reject Page","E2E7A030C15644B09968ECB97B43E967":"Delete Page","8867D3688E6D44699F3A40FF09DFEB8A":"Delete Page (DELETE)","C018F4ED88DB436F9A326C8974FD76D0":"Delete Pages (DELETE)","338B311D1D5F44D08C9C92ABA6FDA8A0":"Next Not Verified Field","3A75F18CD45545AEAA39C140D287259B":"Set Field to Not Verified","992CA9EE955043618F19AEDE548DF9A2":"Change Document Type","A9D0C086653C4280BAF986034455DC12":"Confirm Document Type","013F1DC0D28448D3ADBBE361A7413ADF":"Document separation settings did not find a document type that matches the barcode value","3877F790E89C48D5B85905CF8999BA06":"Delete Document","DF2DCA6F8C3C47168727F57118C46EFF":"Delete Document (DELETE)","932BD898383A44E6B4359DB3C015B1CF":"Delete Documents (DELETE)","ED6381F8E66649CFA535AC128F6E6840":"Get Source File","07901C7353A4419A9CF7DF01A6BFC6A2":"Previous Problem","B4CF94B7A6294D76892D56EC910B7F9C":"Next Problem","095908632E334559B559C2212C7CCF8E":"Override Problem","8183E525207B427C9CB809AD2C97F806":"Restore Problem","AAB1B387FD914B44B56E4DCAEE318907":"Replace Page","E8088611230F41DB9FB184141CAD1AD6":"Insert Pages","3769D9EBBEC14C239E1A849B6416CEBA":"Toggle to/from Virtual Field","84B6E51D88DF4143B314D593FE3A2370":"Are you sure you want to cancel this activity?","26F9F53CE88749ABB9D5E50F9516681C":"The following error occurred while attempting to cancel the activity: {0}","7F134998058A4F69ABFBE4E02C644389":"Error canceling activity.","8C3B54DBDF9A43868A2DB037218A6C01":"The following error occurred while attempting to complete the activity: {0}","D1158FBCE3BA42CCBFC78E2AC8824ADF":"Error completing activity.","4BBBB68FDD6246399A4869FAF800E813":"The following error occurred while attempting to complete the activity and take the next activity: {0}","00F709A8FB7244ACAB9EACD6237CA4DC":"Error completing activity and taking next activity.","0D1349CB72804028A7E8710DEAB8C7B2":"This job contains unconfirmed field(s). All fields must be confirmed before the activity can be completed.","51FB3AB1FF764F96971802305728B60D":"Error creating new job.","DAEFFB69120F4DD180B8594B848CD670":"Scanning page {0}","A8F6CB812EA246EC8C07CCA4F911A843":"Scanned page {0}","F0FBF0BB456E47EC9E19367B6596274A":"Scanning...","15810F23D22343A8905B6229AB4772BD":"Importing page {0}","62260447F0B14D068BA87B69B7E2AF96":"Imported page {0}","FC1755AE5DD0426397FAF33D1C6550EE":"Importing...","6E73A6DAFDA54DE0908EBAF596EDD257":"...","3BB74FC9F3A344A3B9DD5CDB8CBD67F4":"Ready","F0D7CBFD3A184860A77964290F50B25A":"Ready (compatibility mode)","1D788B3A6264400F96347C7BF834F27D":"Pages in Activity: {0}","4192A95B3C394D8BB27E803F27F34466":"Pages Scanned: {0} | Auto Deleted: {1} | Pages in Activity: {2}","89F45658BF1440B280A13E14AB0E93CE":"Pages Scanned: {0} | Auto Deleted: {1}* | Pages in Activity: {2}","9E422ACC82F143CDA5F1DE48D8E64CB2":"Folder: {0} of {1}","FE4A5ADAE379411FA11EC5B17E5D399B":"Document: {0} of {1}","C42F87D0BDCD402C8209A2B2166A08A4":"Page: {0} of {1}","003F40D62ED94C309D1F1F621FB299B8":"Invalid Documents: {0}","FC1ECC1F707B4E3A8B138031A596ABA2":"Uploading Files...","EA0E431773BB44C28ED27B8BF3F6696C":"Files to Upload: {0} - Processing...","28929DA784464FA69802D6763B751F22":"Files to Upload: {0} / Failed to Upload: {1}. Retrying failed uploads...","7A286027881249E7AA2590C11BC5CD1C":"Nothing to Upload","F3517759CD7449FC99730CC0E32E1C2D":"Version","84DD01CB37D5482EB147B8ECB4E487ED":"","1C58A3EFA7044423A4C7A8DED3402871":"Select a document type...","4F96E4808C1A471CA056E1ACD250E963":"Fields","3988A4604D014AB89F0F998D09BB2B14":"Classification Result","C460CDF3CF1B4D2ABB6ACE59D41F44EF":"Current Error","502AB86A19C0401698E619EB6DA14467":"InPlace Editor","030235AD2C9046F0BF0325E67DEB24E4":"Show more buttons","A5D916D46E284C53938BAC760BFC819E":"Current Problem","C4175A54A01A4C1781C401FD8DCD12BE":"Pan","9603F97DA4374B27842223AF13983646":"Display Field Names","185FAB9E852B487188432186636E95F4":"Add Sticky Note","032320C0F5B741EBA356F4DCD3F9FBE8":"Display Annotations","E591FE7015CE4BB18BB93BC1FF02AFB9":"Zoom In","7A5EF712C8C1493EBE9BFD52841630B0":"Zoom Out","E62CFB62A64547AC86D52DE49A56389F":"Lasso Zoom","F680CEEC55134413B632482B9F9F445F":"Lasso Zoom {1}\nDouble-click to lock {2}","BCBFB4970A6A458BBB711D68897E7FE9":"Lasso Zoom lock mode","1BD4F1437F0D4ADCBA94320AFA9E647B":"Best Fit","D66798A75158478F8E8A6A8BF6A5066C":"Fit Page to Width","67127F4C551B4F1A93C3AFACFF66F2CA":"Fit Page to Height","31EE7DB3C1DB4991929A93582E67F54B":"Rotate Left","6F9ACB873BE94B83B3C754BBE73B6C50":"Rotate Right","6DA353E8749C499C8C5FA6F826B4C415":"Rotate 180°","133546CBBE764B29A5A2EB146CFE9B90":"Rotate View Left","E11BC72D8F4D4D5ABDD836316A2BED53":"Rotate View Right","D10ECCC53F2744569D575B86919BFD24":"Rotate View 180°","315FBBBF23914B07BB3DA6C8C45A7F6B":"Revert View","3455C4D6E024463DBA17965EB13E5BC9":"Rotate Displayed Image Left","79021B07C4084A249A508BED944DC510":"Rotate Displayed Image Right","D25F97D8A66641B38CB939D6347550C8":"Rotate Displayed Image 180°","A7268682FF4B44C6BE5FEC89D89D4BF9":"Show Source Image","14F31483AB564C2FA41AB2B72922879F":"Show Rendition: {0}","82B01ECD1D3347FDA4A3FCBA885A254E":"Initializing page...","08ECECDDB0EF4A5C968044CC1743421E":"Add Mask","F64B2A4D144E48FDB268B38A622DA117":"Delete Mask","B466B9A5B6674C4FB89FBB04DB894B42":"Toggle Mask Color","13E626C51D4C4FB2A8EDD60AF3763AB3":"Documents","5635AA0BAA6A4E15B1A1C06C5BFA9505":"Navigator","5185D904A57E42D2B1B79BB0B72CDDF1":"Name","3E84A7F18C3B418599CFAF68D63B337D":"Type","81E95771B6034DAEB1F29137F6F7F436":"Confidence","BED2530C8C11465BAD856D9F93DE8779":"Thumbnails","4BD0905E848D48C9BD3163139781F917":"Document: {0} ({1})","68D8B17882EA417F9EBF3AFC0F927B91":"Merge to Previous","1AD68186C38848B487DC8335F5F1644A":"Merge Selected","3A79BCA164F94D1C88AA8B236A744846":"Create Folder","4DDC1F8DC4B8499C839EC0A8492DB64F":"Split Folder","6B9AE079E8914249AB9EEDED54351A71":"Change Type","CD208ED1AE614BDCADE226C6620DEC48":"Delete","955C6691570445ECA192548B87B5CCB0":"Rotate Left","8CBADABB6F8B4995B78ABB07C638AF2B":"Rotate Right","3ADD1AC8C0B948A2AA2B8715551BF464":"Rotate 180","51D565C1107D46788F2BC4998BC6324F":"Copy","9A1853BC2EE44F05A44707D51506F940":"Paste","1059AA95E5C44D918A0062C8D8649577":"Split Document","C56645821BF743BD921B7B7FF303994D":"Replace Page","2399A9341EB44C6BB3F75F44200C567D":"Insert Pages","75885D2942084E81B8E78CCE2E74FF42":"Insert Pages Before","E52A505672294B03BA9977C6BA504BF9":"Swap Front and Back","E45897C4340A45FA9F6012D7C781B782":"Reject","888D36D45C5C4758929B08E3B09C2FB5":"Un-reject","24ED68539AFC4303A345E81DC6AE0060":"{0} page(s) selected","743C5AC6E9E14801A228AEA9C7679413":"Page {0} of {1}","4070C48AC81D46D0891CFC4FFD06C7E8":"This field is invalid and must be corrected.","0466F020D27C4E7D96992D63D5CFBC17":"This field is read only.","B6062793FB6C4A32835ADF03056904C9":"Collapse {0} group","125AD51501C3448EB08B3174DE2B53D7":"Expand {0} group","331D25C64ABB49E4A2D6A895BE12510E":"Image uploading...","DD7BD53B316F4BC99276ECD9804E4798":"File uploading...","D4AA803D1E774DF7A43EDD6E11AB9ADD":"Preparing PDF file for display...","C3DBF44AF8A24CE3848BC6FA5A575B3C":"Your web browser is not configured to display \'{0}\' files.","DC59A38A573B4AECAC628A087E9ED038":"The file format of the selected document is not supported by this viewer.","47AB9C26C0AA408AA8BCEF0B014C308D":"Error Loading Image Data","736F1685E2D84D47B3B30B67D63FAE0C":"There was a problem loading the image. Your connection to the server may have timed out, or there may be some other unexpected error. If the problem persists, please contact your administrator.","B2B767D25EA9454E84E7665C194D9B65":"Folder","E0928A9256DF460E8D2D26DE08A0C96C":"Activity","572598FD3D65417A98E7677DA52363EB":"Process","77A97BDAB07746A592182BA7C1B986EB":"Document Type","21AE3F191C4948049D871EC230CC1935":":","74C23326575646E1B53650C99B0F6B20":"This Session is No Longer Valid","30C064DC532B4FC9972CDB4730CA944F":"Could not validate session.","4BE1A859A80F4098A497D4D3A195CBB5":"You need to log in again.","C2D4CA0853B14C5CA02AE25C1711E05C":"The connection to the server is broken.","7D44DFF8C84E44BBBF0F9DC6A0411A09":"The connection to the server has timed out. The requested operation has been aborted. Please retry your operation.","CC1D2660F50E4828A19A87A0EB540CF7":"Hide","53CCE6B35CAF40409695AD07A66770ED":"Show","74F9ED32FC334A44B174C6398E30D75A":"If you navigate away from this page, any unsaved changes you have made will be lost.","2DF43D3723B04B14905B0748FA2FE618":"Pending Field Changes","E538145245BB4390A50988F901C59570":"Before navigating away from the current document or folder, there are field changes that must be saved.\n\nDo you want to save these changes and navigate to the selected document or folder?","B56131CD47934948AF088CB5548CF0F4":"Table contains invalid cells.","3068F8CDFA7C4DFC97D7264F8B38E39F":"Add Row","9B32C96BF68D469CBA2489DAEECB938C":"Delete Row","364D2682D58345889FB4B641CA43AA41":"Insert Row At Current Position","F6F7EA5402E441568618B0BE8D6F01E0":"Interpolate Rows","B7F211AFAE054EF1B35302DC948D24A1":"Show Hidden Columns","7FB3EA8175714B0BA330F818633F925C":"Force Table Valid","0748B6D30CF147F7AF1F083C588F2E08":"This field was forced to be valid.","D7704F08A697418FA2FA2E3F651139B2":"A forms error occurred. Contact your administrator. At least one table field definition has been modified, so its associated form is no longer in sync.","8CA43659B9374E54A29412172F6B3735":"Cancel Keyboard Shortcut Mode","84EA73DB80664C90A19C20C90B5760B7":"Enter Keyboard Shortcut.","3CCC696BE2D34104A288884157125055":"Press CTRL to cancel, \'?\' for key help.","440C8F3EE2AB4BEF9A1C79099D4BF49B":"No shortcut key help is available for this activity/view.","A535BBE820C442A5BF41DD0D742F4947":"Keyboard Shortcut","FC1F608D6C13486DBA44E111673CC72B":"Option","22A60D05919044FE8682E46749CA6EDB":"Database Lookup","D76238B1F9874BF791C437155F7A6496":"Generic Learning","B85FF11DF80344B892DC2ABBF16E0FB7":"Online Learning","DE049B6A6D044ED2B7EBAD0CD9043E80":"SHIFT","21EF7F394BCA4C8CABCECCBE03260296":"CTRL","AF07E36D7B864F84B8EB7BBB4CF2FAED":"ALT","5307DBEE626A4411B3966161674210D3":"RIGHT ARROW","1330FE8CDED2461A9895D5EEBDA4E037":"LEFT ARROW","EB1B0C2679E9475D8C0644BB2713D23D":"UP ARROW","61D49A01B8634C30A27635CEEDCBA690":"DOWN ARROW","16F899DDC82C4D5CAD5B5274DAD83A23":"PLUS SIGN","BBC949F4ADEE40848913E1DB56293E80":"MINUS SIGN","6A316D2D3EA84C0E8228DD6D32563BFC":"ESC","43D4077516D749D3BAE333D02C3CD621":"SPACE","92D771A46E63482CB696D576E23CE8F1":"PAGE UP","D21D00060D9E43A3B6356F92D1168FA7":"PAGE DOWN","E3075A46C0C34E89A303668E73F69C86":"END","93CB77C8BBCC43049217B5F99B7B9381":"HOME","19E15F38119149019A6650A56A3BC8F9":"INSERT","FA682CEEEDAB4624A1749ADD7521EACB":"DELETE","306EBD56F02448C3B2FBFA5CB29AECC0":"Collapse/Expand the Left Side Panel","D62A5623C12A46B7B79DAE8DD8B31C6E":"Collapse/Expand the Right Side Panel","DB540E783669455D831CC40780B0EEB4":"Collapse/Expand the Current Error Panel","A7B7FFDAAC7748C3BE34397F468A8CA1":"Collapse/Expand the Bottom Panel","ABF16D0E8F004562A3144B19F65D81E7":"Go to Fields Panel","94ACF8CD1FFC42A0A4CD5928BC2EEC9B":"Go to Image","EA8FFECB241F4A9B8BACCDD2AD4C0D86":"Go to Thumbnails","A13C68C9CB73403FADC41B906D3833ED":"Go to Document Type","6B03571F662C42B782A5FA56EB8567A6":"Go to Navigator","44B3F4EAA3E943C28489A371B2D531A9":"Next Tab","8456C5108CB84F0481462D649BFAF354":"Previous Tab","6E9E25E0F2574B789DCC318C8B87D3B6":"Classification","A6DE83F475C248A9BA281A8E9852B36C":"Extraction","EA5BF203BE6F4C1284C87F53B2857EA0":"Comment","F282D218A7924FD0B93A288C466000A1":"Search","619E301BFC8E4511BCCCFFDE160B169B":"Enter one or more search keywords or phrases here:","D020863C4C13459EB38B55484142E3A5":"Enter one or more search criteria.","2A3AA460A6BE416AB0F99B24EF5056E9":"Press \'Enter\' to select a record and close the results window.","98932237088F4E66ABC3B552A2E42C80":"Press \'CTRL+ENTER\' to select a record and close the results window.","A130AF12EAC048609211F7FA8DFD68F7":"Your search returned no results. Please try again.","A0063387F407445183F9A9A2E674185C":"Your search returned too many results; only the first 1000 results can be displayed. Please specify additional search criteria to narrow the results and try again.","0971C14D1ED94EFA88A10D4D4D725FF2":"Rejection Note","90C2D7B702E9427B8E46B4998DACC30F":"Predefined","B0C4A96B80CD4881B7AE016BB832963B":"Custom","0DE50E5DF8BC4FD6B4A413F03E8B9AC2":"Select a rejection reason...","DCAAFF32B8024F44B3558FA09E91AB22":"Document Rejection Status","0B9B0190B555416A9267A0842DCE1CA3":"Aztec","C22A0C02649540A09EF015FA3A2B29BA":"Codabar","930E8F8F36144C038F71DDA5B36286C3":"Code 39","B2BDEB94E38D44FB8A8F2F93CDA383A9":"Code 39 (Full ASCII)","0D5DDA5C1BFD42ECA3B80CA303E4A3DE":"Code 93","CBB46D499F514027860B0AA3FD81D05E":"Code 128","AF08FF350082410CB56315B60EEBF5D7":"Data Matrix","336F3CFD84084AE28ECA690CAC56DEC8":"EAN-8","C6AC94D429834D24BB478D74785CEF55":"EAN-13","2A4300D38476438FA8F6775FA058D525":"Interleaved 2 of 5","547E8A085142470D9FCDB7E254BAE062":"PDF 417","6803DBA8703042CCB0E0AF38821438C5":"Post Net","0FE402E994BF4971B2890E61C2DE86D4":"QR Code","EF4F14CDA69444A79D8587F874C6E954":"UPC-A","DFF609AAD7C4423B9F11A439A7C365D1":"UPC-E","0EF198009EE14586A709718EEE839E7A":"Micro PDF 417","E2E4C2017DC54C338D9EFAC608D14A5C":"Micro QR Code","025D86919EB942EAA85E7D17C8735A52":"No Patch Code Selected!","D847851AAED14BAAA58983F63A6F008D":"If you leave the patch code type empty, patch code separation will not take place. Please select a value or deselect Patch Code Separation.","510DE7D1EAEA4B03BED2C4F9692A2727":"Patch I","B66AFA5DD9434960874EADC8F55B370E":"Patch II","E2E198E10B334308B25978A6E4ABE8D7":"Patch III","AD30AF3C2DCD429587269688ED2B5426":"Patch IV","D8E5B5C00615421CA1DA220FE3B5F046":"Patch VI","A19A904148E14AEA92E44030A3226D1C":"Patch T","4D9B5FA5EB1B4D5ABB30C314356FBBC4":"Scan Settings","5E61C810A7DE4543BF492F4CA870FD20":"Scanner Settings","3EDB14B389354CE49E01F4A7B299BD35":"Select a Scanner","D4E19F1A25A64AF1B3A0D31C9E651034":"Manual Separation","81CBE85674FD4A03958328E79133CC05":"Fixed Sheet Separation","80B22C5869B84E569E4B979093904327":"Enabled","FD8BF04496C142DE8C8379783C5CB2D6":"Sheets Per Document","85671BCAF39D4CB7B214D1602B00518E":"Bar Code and Patch Code Separation","24FDCA4CCE464515A91F1B75D1E737C0":"Patch Code Separation","CDE0572635164FE1B0D64338873EF45F":"Patch Code Type","3785769B474A4C519D317C06F5F38C1D":"Delete Patch Code Separator Sheet","9F020FF041934F16AB81743FCDFA83BD":"Delete Bar Code Separator Sheet","E4FB754ACDEC4C469FA075F596265F05":"Bar Code Separation","227FF87BB84B4AAC99F099D98179D0AF":"Bar Code Type","7F3C7BDCC9DA49299C8F8FF20FCBA4DD":"Select Type(s)","4A3899DC4AF946DB826660BDEE392B38":"No Bar Codes Selected","3C6002D0166143C192F9B5C573AAF83E":"If you leave the bar code type empty, bar code separation will not take place. Please select a value or deselect Bar Code Separation.","95177A90BA35467C9F278E1515EF6577":"Invalid Regular Expression","A5F64204DBA4481FBD66A4D1AE480639":"You must specify a valid Regular Expression, please try again or deselect the option to use Regular Expressions.","2460FA39B95947BDA2E88990A65D3765":"Separation is configured using an invalid Regular Expression, scan will be aborted. Please check the Regular Expression and try again.","2C25F49B8E63469983F64689BEDDA3A2":"Bar Code Checksum","45CD74A86A8A49CE8AA1B3461886E51E":"Start New Document When:","EA32DC2E552A48089E38976D4CB7CCD4":"Bar Code Type Found","258884153A774A7D87FC104298DF4F6A":"Bar Code Value Changes","39550029511840B1ADB4AF618127DFDC":"Bar Code Value Found","082FBF0646F64EE8B4B31712ED40B8F9":"Value Search Text","65C2DC83D703476DBF2BEEDDDB3C10A9":"Value search text uses regular expression","748BD90C329145D7BE15E498FCA37DBA":"Value Required","3A0CB4C8A8EA46A1998323294297D07F":"You must specify barcode value text to search for, or select another option for starting a new document.","F9523051B8C144E2BEDE0A49151207B7":"Bar Code Value","574766980D07493C9F93334B067DB61F":"Use Bar Code Value For Document Type","18C40180CBED46F88069F336508BEC64":"Document Separation","5120A6DEF5FF4741960BE770D90098A4":"Folder Separation","D146385C969F4AE097846773783F1FD8":"Create New Folder When:","62CD9C5E99724646BDD0328C3AABD22E":"Set Folder Name Custom Text from Bar Code Value","66D89BB0CD88435C8A6EAED320163E19":"Scan Destination","D84A44B31ED94EB3B59E1AF5CD9BD1BE":"Create New Document Before Scanning. (Separation settings are used.)","802AAC508C4B401882BD687CD103D00D":"Append Scanned Pages To Current Document. (Separation settings are ignored.)","3501EA6CD163419391772AECC44F502D":"No images available","750B621332C14F96A3100C6EC8E1CA3A":"Any","979A6409521645918AC0E781FDB4DC08":"Apply Image Enhancement Settings","48A796DABBFA4CA993872FD436F6D53E":"Image Enhancement Settings","58D40650DF444590A60802D807118134":"Color","383219EDAC184EFC98C3F23EB416EDE2":"Black and White","4BA68D0099184F7DBD9BFF9E9A2D6FCB":"Black and White (Image Enhancement required)","C18A3F5AB4304A55A01371B5DE826972":"Gray","D3768F0681D54A3C945B351641D0EC8E":"Color","885D9E7155D54C27810FDB1FB7E0E43D":"Automatic (Image Enhancement required)","B1C0ABB7D8374EF793335BDFECDE2E14":"Ignore Background Color","8F2B930824D24A5FAE5E494618A1D19C":"Quality","C1F5AEBE103C4EF6994A5E8C2A174D3E":"Resolution","F5BCEE43222E4899A96A88E03B808462":"{0} DPI","99C09C1780C84CC7986F4C4F1C285A54":"Orientation","A61F00A293D84E619C531C4FD88A5094":"Portrait","F3CC06A3657E435A8EF681D129DA5395":"Landscape","8C1F948F41194EE2BD91D37B8A9779C4":"Paper Source","3114F81E23D340D585554682AEFF4D03":"ADF","866574604A0643638A77E9C2DA4B971A":"Flatbed","008356E57B284D688778AA6DCA5E001C":"Profile Settings","921C375F4E784FB69EAE7845D7C35B5F":"EVRS Settings Only","FE93726DA4D347139A7FCCD0B4DF2517":"No Scanner","131337237A5D471F8B6BC2B6758FCD88":"Select a Profile","AF27A6CCF15943DABB9C3099E052A83C":"Select Profile(s)","8D5DD3D8844C4C99AE9422B7FCBB0C13":"Profile:","96C72FD5DE7549259C680EEA32EE779F":"No Profile(s)","66EC773BBCFF4426B8E8E84853785FDA":"Select resolution...","5C12BB2AE0E946D2B4EE0AD19EC30ED1":"Select paper size...","3564044DBA034CBB950388189B44C62E":"Size","6BCF04CCA00F456B8A8A3C371B9A7545":"Ledger (11.0\" x 17.0\")","386F0270D24F4A019A30726FDB6DC5C1":"Legal (8.5\" x 14\")","0E183964018942F5B8FE0A5D45F382EB":"Letter (8.5\" x 11\")","227E76158DDC4E4488683165381D4870":"Executive (10.5\" x 7.25\")","B3C25B32FE3D49A6BFDB59A05AC839AD":"Half Letter (5.5\" x 8.5\")","E44B5AE30DEA448EAA60FB057B4953BB":"A3 (297mm x 420mm)","FF01371F9CFD4C108667D008C660256C":"A4 (210mm x 297mm)","DAC61C0D41F04EB980D64B3B6C54E93D":"A5 (148mm x 210mm)","D4DAC285B83C40358F1508A990714DCB":"A6 (105mm x 148mm)","AFF43B6C6E7C40DA9EE17AD726D02C85":"B3 (353mm x 500mm)","95BDCCE9BA28416BA076ED09FD5D216B":"B4 (250mm x 353mm)","D92C290BEBDF4AFF882321337DA759AC":"B5 (176mm x 250mm)","18DD3A0F1ADB427290AB7A2AE006BEA8":"B6 (125mm x 176mm)","61AB33B8B4DA4ED2BFA3D34250D421F2":"JIS B3 (364mm x 515mm)","5D753D2483CF4FE9BF43E8053BA2E76D":"JIS B4 (257mm x 364mm)","93BDB0110E87484F8956DEAE5E20BFA6":"JIS B5 (182mm x 257mm)","8C75E95B1AC64ADDB98DCE79575A9634":"JIS B6 (128mm x 182mm)","CE1EA620DE0B420E85CAB72ABE62AB79":"C3 (324mm x 458mm)","745F4397C6F24D8FA249BCB0785DB390":"C4 (229mm x 324mm)","8EB79DCF240A4F32A92E68CD15FBF90D":"C5 (162mm x 229mm)","A525DE9978C74F38975D30022DB90F50":"C6 (114mm x 162mm)","ABC89A6F1B064BE7A29FAF90EDE3F745":"Business Card","0BAC7B571EB14EC5A397F2ACBD9C9480":"Maximum size","B0A266DB936A4D24A37C3F842D3C094B":"Deskew","FECCE15641FD4190BC029EB7C11302A2":"Auto Crop","56CDB690C9624F028D6CFE5537311049":"Auto Rotate","88629D647FEC4C49B7E60134E7C109D5":"Simplex","04EBFF40239D4062A788E1D3F04836F5":"Duplex","C08CA553A14648B49A9BAE1B2F6B634F":"Automatic","D7EAFA583E764FCF9293D2D402540AE1":"Delete Blank Page","D34F32D43D704141BA3B5070E51BECE9":"Scan from Device Vendor Dialog","122965041D7141FD82BC3FB5B513EB19":"Enable Image Compression (advanced)","0FEC5E1F4C1B4EC98E0387E3F424F573":"Use this option carefully. Enabling compression may lead to scan errors if incompatible settings are selected.
For example, when compression is enabled and in vendor dialog color mode is set to Black and White, then scanning error may occur.","7A6DDA180B77458AA9C8C6381888C16B":"Scan One","1C4E6CB453794305949CECC0B3D73875":"Scan All","7E41E07AB0F24426B7223C067B27265D":"Reset","B01BA86A16834B488A42032E37D037D3":"Reset?","2A88521AC4914154B17744D096773963":"Are you sure you want to reset the selected scan profile, document separation settings, and folder separation settings back to the defaults? This change will take effect immediately.","D132BE66C52E43278644919F3075E2A4":"Save","88BA8DEA593F436C983760D457C1E2D7":"OK","D2B51ACDFE1C451B8132552AD37725F3":"Reset separation settings and this profile's settings to system defaults","DB1A33C864A742CDAE63C84351824F4B":"Save profile and separation changes","12B41450D0C24E068728E697C6D35B22":"Cancel profile and separation changes","73AB33F3132A4464A5685E5D927F6786":"Scan Settings Help","4A0695ED9CB8437B886A9DF5C8C097A9":"Close","1F5508DEFE364ABA80346C2C0BF006A4":"Cancel","550C481FF0FC40F0817CAC5F07B788CE":"Close?","0195E7DB9EF74C299CA7B3DB53BCA5CE":"You have unsaved changes. Are you sure you want to close the window?","2E85811EA4F14BC29B8950FB082499FE":"Scan Error","444127C1727041DDABC13B504EC0A3C2":"Replace Page Error","8D4A8EF606884E83A355391925EDF48F":"Cannot replace page with PDF file","7F3917C0BB8D40CB9835FF33BE9848C2":"Insert Pages Error","84CCCE521EE9494EBD9B3B4B3D7015FB":"Cannot insert PDF file as a page","713D47732B7B406184C007EC2E1413DB":"Import Error","0041B9622BBC4CDDA7290FD5590ADC1E":"Kofax Web Capture Service Required","C68DF935609841888D81ECDD6BA0D6DF":"The Kofax Web Capture Service is not available.
Please start the service if it's already installed or click here to install it. After installing or starting the service, please refresh the page.","BBE1BB2C3FB14950B814FDEFCF12EE4A":"Newer Version of Kofax Web Capture Service Available","8CD48382369F44C593A8889236189794":"A newer version of Kofax Web Capture Service is available.
Click here to install it. After installing the service, please refresh the page.","241F10EE65524346890395307F72CC7E":"A newer version of Web Capture Service is available. The current version is compatible, but upgrade is highly recommended.
Click here to install it. After installing the service, please refresh the page.","6EB31A4B8BEC4D73B4E01CD4AEB9709C":"Kofax Web Capture Service is not running. Please start the service and then refresh the page.","B86CB7E9F1CC4206B304F1DE8E8B4CEC":"Unsupported Browser Error","73B21E4C28C94D709FAAD7DB33F52195":"You are using an unsupported browser. You must use a 32-bit version of a supported browser.","C09F05CA4B5143A1A06AC5237157997D":"ActiveX Initialization Error","94085D7ED7654A3BB74260AB64A5AE9A":"Please approve the download of the ActiveX component. Be patient during the download and installation process, which can take several minutes.","35C4BE01C9FC4F758C1AB504BE508505":"TWAIN error","1986934C7FD743169F5E5F188534DCFC":"No TWAIN drivers were found on this computer.","C8938B1C035C411EB127090E883B539C":"Scanning completed with error.
Check that scanner is enabled and connected to your computer.","B05198196012429EAE68421AFA92D161":"Scanning completed with error: {0}.","B05198196012429EAE68421AFA92D165":"Scanning completed with error: {0}.\nTechnical details:\n{1}","194D1C4662164E1293806635FDB65BE0":"Selected scanner settings are not compatible with current scanner. Do you want to continue?","4156068B415B474E923A44B3E9480154":"Do you want to scan more pages?","B514AAA85A994631AAB7401DE172F06B":"Choose Files to Import","08A5AD9770514622A7011E8F262D1CF0":"TWAIN DataSource Manager failure","7827F4BD1F134B4690F51E1EDCF52665":"unable to open TWAIN device","BF5113FD9F1F4C4BBDB4864B2B6961C4":"license is invalid or expired","C4C6FD26DD874E2C849A6F67D85F428C":"unable to load helper DLL","E07D504C234C4CA18759EEC4F7407442":"a helper DLL is an incompatible version","8EBBCB39568944548A1E4934CD11BB1A":"a fatal exception occurred in the device driver","DA28D513366640E9A0D4D1A88E625D5A":"An image failed to import because the file content is corrupt or is not a supported file type, or the connection to the file server is broken; all selected images after the failed image (if any) were not processed.","E4A7D6E14AFD48258554C9375DFF291F":"memory allocation failed (out of memory)","9C69A7C556AF4A9483315782B9C3BA21":"Unexpected internal error occurred in Kofax Web Capture Service","199702D58EE44DEF99C25702D2CA5DB9":"An image failed to import because the Image Enhancement Settings specified in the profile are not compatible with the image; all selected images after the failed image (if any) were not processed. Disable the Image Enhancement Settings and re-try importing the failed image. You may then re-enable the desired Image Enhancement Settings and continue importing any remaining images.","86614502DFD340F09FFEC3AEAA9BCA49":"user canceled the operation","85A47BCC767C4C4E8FDF8AB9DD620083":"scanner reports a paper jam","C54F763F80DB46CE8102D96EB7BB8E3C":"scanner reports a double feed","1E5944741685435E9634969F11118246":"scanner reports cover or door open","570D67B72A764A25812B4AC0EA484BEA":"VRS license is missing or invalid","C33360AD88744B0796E73EE0EDB731FA":"image transfer failed.
Check that scanner is enabled and connected to your computer","8CE8E6963A524DACA408FB58F61BBD95":"too many images to handle","6F6BD88E3A964F5F8B9E6AF96D4CEE4A":"Browser is not 32-bit:","22FAB623AADC4E5F92EED87D1EF3D29D":"Platform is not Windows:","F9C181F473374DD788AB8A7E2D28E2CA":"IE version not supported:","47869307080C477690ECECF9468F43AF":"Not currently supported:","AC18160EB20D48B0991A715E6AE10CE1":"plugin not created","C215D5E6B870480B973B6F84CFE31997":"plugin version is:","4CBF6BDD7C2D4424892A8F9F25DD3B7F":"minimum version needed:","5D4DB3C8D94444858E4BDA0DA85E6031":"Unable to start scan","81EC3193BC6645D29AF7ECDBCFA78C08":"Could not create the XMLHttpRequest object needed for uploading.","FEB28FF43B5D46A2B1AE84A0584F562B":"The server reported an error while uploading.","1561CBB592AE459EAC247BF9804CCB73":"The server is not responding.","9D9FD664DEBB4A1DA9056FCF2CF4D7A3":"The server could not retrieve content types.","6DD78A7FF375450F8193EC27218510CD":"The server could not retrieve the content description.","1CB3F38C5608418CA6472E70B3E999F5":"The server could not import the document.","3B7241854590401491EF064CF01113FF":"The server could not retrieve the index fields for the document type.","BF238D9257B449FC821D8499E510A5A9":"The server did not return valid licensing information","CF4163CB82E64F638FEDE5B0DF298563":"The Scanning ActiveX Control needs to be installed, updated, or enabled, or ActiveX controls need to be allowed to install and run.","CBBFBC2B9124495A8D95A3B1D9AEBA2D":"The TWAIN Manager needs to be installed.","4B8DFBFBFAE14041B8D614E4BA8804CD":"Scanning requires 32-bit Internet Explorer (at least version 7), Firefox (at least version 8), or Chrome, running on Windows.","E9AD3FD89F78473A8C22329AF85CB942":"The scanning plugin needs to be installed. If the plugin is installed, it may need to be enabled. In your browser, look for Add-ons, Plugins, Kofax scanning.","CAEC9600B19C430094596C5E400F264C":"The scanning plugin needs to be updated to a newer version.","AEC007373EC74D4288F2EFB771D8943A":"Warning: Only the following image file types are supported for import: BMP, GIF, JPG/JPEG, PDF, PNG, TIFF. All other file types will be ignored and will not be imported.","8A02B167696540DE98855721E804E47F":"Warning: One or more images were skipped because their DPI was below the 26 DPI minimum required for Image Enhancement.","C49688D5E92947AA9B5B2AF1D41AC41F":"Warning: Lost connection with Web Capture Service.","90C65E2F89224030AB235AF15E37572C":"eVRS command string is invalid","04071EE3179640A788D8159A0B81F83A":"Updating station ID for current session failed.","E14B382DF51D4C6D843C5F4B91EA6B07":"Licensing","DD8A7D7490E3472F8746C47249E96A76":"Warning: Out of recurring volume – reserve volume will be used.","2C70FDE03B644FFE90A8EA55B3F07106":"Both recurring and reserve license volumes have been consumed. Please contact your administrator.","48A8CE3EE0D64E1280A91B0BF1531D86":"The job was completed successfully. However both recurring and reserve license volumes have been consumed. Please contact your administrator.","2705AE01F1B94F33B8E3540C63901C43":" Your session is not valid or has expired. If performing an activity you can log out and log back in to re-take the activity from the work queue or else you can reset your taken activities. If creating a new job you need to start again.","71B05D26D8EC4342B219A35AEF5E5BDE":"Your session has already been loaded.","A824DBF405DA4D6D98C300B19138E598":"An internal error occurred. Address any identified issues, then retry your operation. If this error persists then log out and log back in to re-take the activity from the work queue. If creating a new job then start again.","A521B08C0F3D477A94F1F71313781F82":"
Please wait a few minutes and try again.
If the problem persists, please contact your administrator.","753797A2F39944ADB8FCD5AB7CCC9B6E":"Could not authenticate.","13CC7B0029E343D3A9D1DC1159458AC6":"Could not activate license.","508A7768893D4EB381E3436B253CEA81":"Could not commit changes.","D86F0DF4EEBB435FBB551718EDB4EF09":"Could not reject changes.","A418E108943C403B9446CC24FFCBB2EF":"Could not reject document changes.","C5BB93262016447A8A327711A50DAAB8":"Could not un-reject document changes.","9D0D37D683B24EEDB7189F41AB504BFC":"Could not replace page for document.","4D9629E7A8A04D1283E709A5EF411E16":"Could not reclassify document.","1FBAA90062824C27B9BA45C0477BBF59":"Could not confirm document.","1FB10746A0604975A57A7D3151EF5FA4":"Could not validate fields.","62E8671B7DD94861B46B4072F0E4566D":"Could not verify fields.","AA0012C75B6D404BBC0F73C7A72352A5":"Could not verify fields.","F5C54C4852B14050A62BF02A39FEC7AB":"Could not update field.","A525D9DF3F604A94BB001DCB3A8E6685":"Could not confirm field.","D9FE9DB7D478443DA77EA66306FAE427":"Could not force validation of field.","9F5389F87516474BB3D48FCBF26C37A8":"Could not get list values.","8318EC9F84B4426A8E92C02210FFB0C5":"Error while selecting combobox value.","A8BDDAF9941D48FB918D8CA0C735C43D":"Error while loading combobox list values.","D3F134AB479E41B5BAB26940322E9E08":"Error inserting row into table.","4AB42FF40F174F06A53848F59FC8744B":"Error deleting row from table.","F15A8282D9C44500AE25F650FAE9CCFC":"Error during table interpolation.","1843D129313C4513AC1DDE5E0D9D5AA9":"There is no extracted data for this table, so interpolation cannot be performed.","EE629BBE21AA43D0B360B28ACD2F1C61":"Could not look up value in database.","9365E8555896454D9288F58257772AB6":"Could not populate database.","41D7AA02E81343B092DB9D0520DC9680":"The folder hierarchy could not be saved; some or all pending changes have been lost.","7AC37F78C51F4AED94093EA0D6FAA054":"Could not create folder.","D02CA86A18AB45C08C0F0290F82F19E5":"Could not save folder.","43E2287EAECE4582B3CE92B5BA2E5A46":"Could not move folder.","ACE5111953FE41EDA09208A0478B0277":"Could not delete folder.","DDE940A653FA4A098C59F9005268D1F5":"Could not merge folders.","B7B1FDE8E4144E3CAA6470322D166634":"Could not split folders.","15939428FDBC412EA7F61B5A145FEEC8":"Could not get document.","D4BED1320DCE46D8856DFCCA6B5AFBEC":"Could not create document.","585765F3E43349FD8FCF2D38F211DB54":"Could not create document source file.","2F05FC6A753C48BAAD00B14F591AC2F8":"Document deletion error.","33DAC08DFF2C480C8B5167FE361CF62A":"Could not move document.","467576721FD04449BC7AAF156FA6633B":"Could not merge document.","93704EAC51014709BBE46AEEB714007A":"Could not split document.","9BE5BF268FC940D58CB275AE72C20C79":"Could not get document source file.","AA750C947CCB4042BF1C18D29976738B":"Could not change the document type.","40240E66AB58435AB7C5A34F40DF8717":"Could not get page.","05E3C2A550964F44A9C560B80B03526A":"Could not create page.","FB4C9CF72F2E49CFA29C8F278965BD8A":"Error deleting page(s).","B9E576EE744840F4BA4100FF6A8E6DCC":"Could not move pages.","FE4D21192BC548B28F44104D3FCF717F":"Could not get image.","1C1D6FC0D16A4674ABE03FBFBC72EFEC":"Could not create image.","9960E9B5BC314FC8825872B2646A13F5":"Error deleting image(s).","C441ECCDB94D4412AA03D7AACB5F9AA4":"Error rotating page(s).","0ACD37F4363A49A8974BC6DBF5FEC84E":"Could not upload a part of the file.","2E99207F656F4074950D307BB4F0186E":"Could not create annotation.","743EDAD5E78E443993C7A307E4E904C5":"Could not save annotation.","B97340DDCCDF47229118B3BED9BCD833":"Could not delete annotation.","6B59FFC09A544A96BFBD980C59FC2908":"Error saving field changes.","1514C986A8334FD6988186C3522C5B6B":"Verification can only be performed on valid documents.","59E29BAA70114E3290050C0F64D7E13A":"Would you like to retry? ","B312D86DD7FB4179A874BFF6F448A8DB":"Error creating a new job.","73F3070EA828448C876B459D48225597":"Could not swap front and back sides of the sheet.","F9713D6888614EFBB0348E01D7A433B3":"Could not override document problem.","F9B2A016890946C99DB8C7D3BAE5B93E":"Could not restore document problem.","993B8253D2AD497C87F7110F14BDD540":"Could not override folder problem.","C55ABEB7480442F6A570A8A09948B59D":"Could not restore folder problem.","20EA27D2883A49E7A568178109768E32":"Field does not exist.","A8F1A095408D47228BA26CB7EFD68B86":"Field with name \'{0}\' does not exist.","8EB8BE665CB843A0B6941B47BA292A2C":"Invalid field value.","1E26647882724E9F86B1118C04B246FC":"Could not initialize session.","079D2109AD684FB5A99BD3AB71FAD21F":"Could not update session.","7149F82450E947179B5CF5B8B849B5AD":"File type does not support multiple pages.","BE396CD1A6794147968C2E5DCE52A991":"File with pathname \'{0}\' could not be found.","5F872EB80C2640C9B4E2C82DA1E942E8":"This content only has access to a single document.","0B4D2408AC4A47EFA5EBA7D7664753AA":"Cannot create a root folder. Root folder already exists in current session.","C957B05974424956A4AAE3B914D09040":"The TypeXml must be set on a root folder.","5747FC748DB14D6A9FC8DF794216A436":"An error occurred trying to set the folder TypeXml. Please check that the TypeXml has been correctly specified.","954EA0AF1F34416F825EC40F01D3278F":"No repository image format exists for the given mime type.","F7129B2BAA1F4C46930843EA81BFAAC3":"Row index is outside the range of the table.","B0B93D2AF91049038E715C3A03F3F158":"Cannot insert a row into a field that is not a table.","36755023EFF74FD99F99348A0D050716":"Cannot delete a row from a field that is not a table.","1880B595230F4815B556FEE27DE355D4":"Cannot interpolate a row from a field that is not a table.","13EC9BC0D2FD4634A1A923BA47FBC95E":"The document type \'{0}\' could not be found.","6B583DF29ED34D0F9BF0AF8335790491":"Folder cannot be accessed since user {0} in a different session has an exclusive lock on it.","BBBA600361DD48C183C7E5AB29C0C931":"Folder {0} could not be found.","1A43365C904E48F3A9C588DEF7A074A5":"Document cannot be accessed since user {0} in a different session has an exclusive lock on it.","0C7F0D667A1142AEA9BBDA8F159B2374":"Document is read-only.","D6F13F1101604499BA751A1DEF44BE81":"Cannot split a root folder.","918A80E3BF1D4EE6B51F335FAA9C16CF":"Error occurred trying to merge documents.","CAA41CC31779420C9C0D8E6B2F94FEEE":"Error occurred trying to create document.","02B97C0A669247ACB7712E56F488A2D8":"Error occurred trying to set document data.","DC9888346DE54258AD3BF69C42A45BE0":"Error occurred trying to update document.","4A4A7FC33DEC4FD999705BA21174E553":"Error occurred trying to update document type.","8C6F92F969C54EE79E13BEED1BEF2D5F":"Error occurred trying to move document.","0A678EE2B5974A8CBAA6828952C479C8":"Error occurred trying to copy document.","CADB642984D34A5B888518E442C8BE87":"Error occurred trying to delete documents.","DAF30F1E9F25482E9ED6F562E9FDDF4D":"Error occurred trying to split document.","534EC84F6CA342D2A685B9EE52B5F81C":"Error occurred trying to split and classify document.","3D027580DADC42AFBE7C6EC5E5EC7D1E":"Error occurred trying to merge document.","76C5FB8E99E543F4A5B66E4C93AFAF9B":"Error occurred trying to update folder property.","1758DB9C599544698C87207889323B95":"Error occurred trying to update folder properties.","4D0EB5BBF30940578F1E0EB6E5C20F0C":"Error occurred trying to set folder field as forced valid.","0800A55880D64DDFA3FC0259C7919625":"Error occurred trying to set folder field as confirmed.","05B3C46B59DA4D5CA5BCAEEE70F0ABBF":"Error occurred trying to delete extension.","AED506556AE44B42A0C0AD26BFCD7A54":"Error occurred trying to set document type as confirmed.","DB6C914F25AC425AA4EC7FB236D45FE0":"Error occurred trying to get document property.","BD4B9ACFFE1644A583D78B49DF76985E":"Error occurred trying to update document property value.","FC877194C05B4DCB9678A314DF2FDD87":"Error occurred trying to update document property values.","A6C6E06AD3934E01A9FD579D317F1BB2":"Error occurred trying to set document field as forced valid.","D0DEAD104D0A43BFB438E504FEF63E0E":"Error occurred trying to set document field as confirmed.","EE79CBAAAF1942D78493B99BEAA4F496":"Error occurred trying to get list of document's files.","1EC8F2377742462490294E1858382980":"Error occurred trying to get document file data.","D82F0EE3263A456BB4EB3A6E6CB42606":"Error occurred trying to unreject page.","B17A85A4CA93415FA2B381045FB2AF74":"Error occurred trying to add page.","82CC538D6B7C4006BC211816AC0E32B7":"Error occurred trying to update pages.","160DCA2C58B341DF818B37E5E18918BE":"Error occurred trying to replace page.","69588F4AA78C401FA3ABC975FDBD9F45":"Error occurred trying to add populated table rows.","49595A63DE19424BB7FE4E6A09FAF416":"Error occurred trying to insert table row.","479C81AD285B40A592839DA44F386900":"Error occurred trying to delete table row.","0CA191C052B146FDA9F6CCC1786F1538":"Error occurred trying to get document data container.","EA585D0AD365477B84D4348E2BC4E3C1":"Error occurred trying to get folder validation summary.","CB2DB0B4099347CAAFAD73A30334D0A7":"Error occurred trying to save folder hierarchy.","534AA001C97A476AB489B063AC32932E":"Error occurred trying to get field value.","79E6AD942DD24C3CBD5BD349F1929FE1":"Error occurred trying to atomically create document.","142F7C083DB64B04B19634245B98F727":"Error occurred trying to access database cache.","D816D8797CF648B09999A6C402DCABF0":"Error occurred trying to get data item from database cache.","63EA09B124D44E73A5623D1BB2E42A26":"Error occurred trying to get data from database cache.","793685A72663414B9BF8A4A09DB3B0B7":"Error occurred trying to put data into database cache.","7C2D8CFACFCD492C8F8283E285D76373":"Error occurred trying to remove data from database cache.","70828276969746A8ADF1EA3246F5ED81":"Error occurred trying to check the existence of data in database cache.","5EA3452E6C6B4804A5E4B64C8796C1C3":"Error occurred trying to clear database cache.","56B7EA385AF54000827EEE71599A6B88":"Error occurred trying to put base folder data into database cache.","CDD2C88B6BD34C2287709A5C9092E7FC":"Cannot process online learning folder(s):
{0}","A826941B463E40DCA64297D41621A257":"Batch Session Timeout","FD4A1D4A01B84541AE322796A1955999":"Unable to perform the requested action because your batch session is no longer valid or has expired. All scanned and imported pages must be re-scanned or re-imported. Press the OK button to refresh the form.","D28A730DC81743BEBBE1D10E846336C8":"Unable to perform the requested action because your batch session is no longer valid or has expired. Press the OK button to cancel this activity. You may then retake the activity from the work queue.","9454EB151C3B49679DA04AAE2BED96F1":"Original value: {0}\nNew value: {1}","C3082BF3E66743D89F609B475CE16A55":"The value did not match the original value and may not be correct. Please re-enter the value to confirm that it is correct.","4BE4E2A8E7F14B66A2D3C0B753BC19DA":"Please review the image and confirm that the value is correct. If the value (\'{0}\') is not correct, the document must be rejected.","6EB6FB0F89D0430A83E17BD5A4FEB482":"Please review the image and confirm that the value is correct.","5C527DD42B8A4DA5B0812ACECA3DF57E":"Please review the image and enter the field value.","17B4B36D0CD340C78A2EEEA3C99AEA7F":"This field is read-only","4EBA48FFB7CB43FAB2927702DDCC1E7D":"Incorrect Fields: {0}","DA0CFAA3CD1343DDBF6C4E1CAF48B879":"Field: {0} of {1}","DE6F3449644D4807B1C395DA7378A305":"Unverified Documents: {0}","7B92EE556FF843ECB58FE1B9D2BADD0B":"Saving...","2D0FE473AC534184AE3628E5324A9AD8":"Problems: {0}","5EBEC36339CE45E097CE6A5B720D95A3":"This field requires manual confirmation.","5A5DE8A31F2A40859E1FB7D268573719":"Split Document","743585287214469F8946000733B419F7":"Merge Document","395B08EB69B34BC4B4E659DAB192C7D1":"Please select only one image.","F6D39326C3E84EBD9B0F3B2B096D33FB":"A document cannot be split at the first page.","CAA5E511C0B34F52980B5D51DE57B701":"Left","D955ECFA8E08466C9D557CEDD40DED11":"Right","BC84C4C2734A4F499F5B92A97D2CD99F":"Center","88A1ADE8722C405299AC4DC51FA4DD3B":'Move To Bottom',"ACC1D925D1CB44A9B59C11F1F7E69C88":"Swap With Navigator Panel","4C6ADEA4CC43460FBFBB7763BEF493AB":"Swap With Fields Panel","B71563F4F76640568AE510C496CE305B":"Swap With Viewer Panel","B7FC0CEA4BA04CE0B52283B14C3017F4":"Swap With Thumbnails Panel","15C82FB56BC140A3A0C2B7805FE56809":"Dock To Navigator Panel","C66F66268448472BB966BEEA89977658":"Dock To Fields Panel","1E7E8F59573C42E58A7F6F63F2C90667":"Dock To Viewer Panel","F2ECCC50C231466199A1FA99D7BB0F84":"Dock To Thumbnails Panel","234A2D93DAAE401497E7B880FEC52A3F":"Move To Top Right","AB1DB670EF5947B6A5785DF12EECEDCF":"Move To Top Left","7A8748110E4B4EAA810E14976C8F5442":"Reset","60E492DC8E4443D6AB3859DC1354A634":"Save Layout","EEC9D659B93D49B09031E226F19AD4CF":"Customize Layout","C09396D6600F4367AAC615CE58205C0B":"Undock","59FE0A6F290B468A81B5D3DACBB60D84":"Undock From Main Window","D68E289BC60C4D108FAF453815C6A5DA":"Dock To Main Window","655CBC355DB14FB08C4898673A903B3B":"Image Viewer","6B7054C936F343A7A1DF0835376446C8":"Warning: Batch Session About To Expire","70ADDB5EB2B54F269C3B355A6B5034EA":"Warning: Due to inactivity, the current session will end at {0} without saving your changes.

To continue the session without losing the changes, click OK.","69A20C34224C4F2EB33973B5D238792C":"Warning: Due to inactivity, the current session will end at {0} without saving your changes.

To continue the session without losing the changes, click OK.","A1DDA3642BAC4F0DB5436277144D0C7F":"Renditions are disabled at the system level and will not be used in current activity. The activity will behave as if no renditions are defined.","68B2833EB16F4C96B07319E769474F9A":"Connected to Scan Agent","28B2833EB16F4C96B07319E769474F9A":"Paper","E09AE83751054ACDBDF8C657C377E354":"toolsPopupMenus already exist","80FF5CFA34924BA28B3B304319C32C49":"TotalAgility","CA623CCCA2EC43048391F1CD9A8803D1":"addFolderToArray: too many folders. Exiting ","C9F148F5E6D543089029174A0D1E4824":"Mismatch number of stickynotes","B06A71F69EF24C06A9B8B46546B5E73F":"BatchData object must be passed to constructor of Page class","34CE2E8F98104F67BDF39FBC8E8C474C":"+","FF42B08552D3426E9D789D2B9D125AC5":"0","AA1FB50CF15E4724AE17DA8D62B209D2":"1","8B3B5A519FA24CA18D1954D28833133E":"2","6983360FB27345BFB751727771B46592":"3","02D87E637DD14C8BAB27825D5CE36FA4":"4","A1CE3BFA5FCC45F8BBD8C77ABC7502B2":"5","8015B4EA53D8421AAFA27705CB1C20EC":"6","005C8EFC613D4EDAAEC5370754535630":"7","D6FB9A3449484DBCBAA0B401F20872DB":"8","F5C292FB64F24F4C856D90CF1D70317C":"9","FD4CC8967C5646D1A432E04CF5D9EF59":"+","88160EFFAA444F88B4FB4306828090C4":"-","A02DFBFC208E4D378479EEB7B68045C7":".","9319E59B19144A8984BAFDDB08F7A22D":"/","DB1C3C70D2A8474EBC359D4DF14F93F0":"F1","4B5F935D1B8447999A8E8838B149793A":"F2","C99C570687524095AA3231858240A2FC":"F3","E9134CFEBC4F46759E1D2E891B0A0B7B":"F4","D91837DF740C41339026B0D3F043135F":"F5","E123F92498984B7B85217C832FA51524":"F6","CB54B78EF1374DDFBE786B77AC877ABB":"F7","F75E53FEDB184D0E89373EE80C7AF286":"F8","34E5A09DE2A34F0F94D95E3F58D4F653":"F9","B637E4C7671B4793AE822334FBAE7C1B":"F10","1E7EEE791E9441209098C56BFCB20D4C":"F11","9C94F040DD82409A8EEEF7795EDD2B66":"F12","C725737D9B374E23B8B667FF4A0AF0E0":"Token object must be passed to loadPage method","3ED7C2498C984A57881B9A0EB6DEC58A":"BatchData object must be passed to Rules constructor","81B8CF8B8DFC4230961055E0A27CAD23":"Token object must be passed to Rules constructor","336B5F962BA347559C03A27FD6A56D54":"BatchData object must be passed to constructor of Page class","398ACAE5F33749828B83E6BD55BCB20B":"[ActionEvent clearCachedEvent] Event object parallelism detected","C25B89A067FA4179B320DD7F1A70593F":"CEBPM.util.ActionEvent: Programming error: Invalid config","4D344B0D5F954B45BA2DD64EA458D235":"[Ajax Queue complete] Event object parallelism detected","461B73BB60B043B399A10EB6886CFBF1":"There are two fields named: ","A576552ADAEB495E92BC778FCF13E152":"Invalid input to parseErrorResponse","96DEE2DCFF0146808F75F7DEBCB26FC1":"Programmatic exception to fix Sencha/IE bug regarding endless sending of leavefocus event on panel when BatchTreePanel scrollbar is clicked","207154ECB8364D90942ADA4AF292509E":"The button {0} in the buttonConfig does not exist","A3D2CA87697649B3A1BF8F16F8A4E330":"Programmatic exception to fix Sencha/IE bug regarding endless sending of leavefocus event on panel when MultiThumbnailsPanel scrollbar is clicked","3A2AE74644304D02806167994BAB1BAA":"Must have at least two arguments defined","984AF31C698A413EB7AD6BAFA6D91318":"Invalid configuration region","52FFDC146ED84F02870DFA13D5F2AC38":"Error","7D72B391201F4A53B872DF5D7D04B417":"This frame should be only opened as part of a detached image viewer event","A8B707A1E9FC42488FE4CD5B84729183":"Collapse Panel","88436B383B1C4D79BBB606B34987A2D1":"Expand Panel","A5B86E7724AA4D64AF7FF16483E9E978":"Collapse/Expand the InPlace Editor Panel","895D4ADC41BE47D280CE23AF9AB99301":"Post Split Document Error","DCEA0C9B015141F98BBE508F697EF53C":"Error occurred while processing post split document event.","00000000000000000000000000000000":"Unused string - DO NOT TRANSLATE"}; Ext.define('Forms.Controls.Common',{singleton:true,updateDynamicJobFilter:function(dynamicFilterField,val,jobFilterOverride){if(!dynamicFilterField){return;} switch(dynamicFilterField.toString()){case Forms.Constants.JOB_STANDARD_FIELD.JOBSTATUSFIELD.value.toString():jobFilterOverride.setUseJobStatus(true);jobFilterOverride.setJobStatus(parseInt(val));break;case Forms.Constants.JOB_STANDARD_FIELD.JOBCREATORFIELD.value.toString():jobFilterOverride.getCreator().setId(val);break;case Forms.Constants.JOB_STANDARD_FIELD.JOBIDFIELD.value.toString():jobFilterOverride.getJob().setId(val);break;case Forms.Constants.JOB_STANDARD_FIELD.JOBPROCESSNAMEFIELD.value.toString():jobFilterOverride.getProcess().setId(val);break;case Forms.Constants.JOB_STANDARD_FIELD.JOBPROCESSVERSIONFIELD.value.toString():jobFilterOverride.getProcess().setVersion(parseInt(val));break;case Forms.Constants.JOB_STANDARD_FIELD.JOBPRIORITYFIELD.value.toString():jobFilterOverride.setUseJobPriority(true);jobFilterOverride.setJobPriority(parseInt(val));break;case Forms.Constants.JOB_STANDARD_FIELD.STATEFIELD.value.toString():jobFilterOverride.setJobState(val);break;case Forms.Constants.JOB_STANDARD_FIELD.SLAFIELD.value.toString():jobFilterOverride.setUseJobSla(true);jobFilterOverride.setJobSla(parseInt(val));break;case Forms.Constants.JOB_STANDARD_FIELD.CASEREFFIELD.value.toString():jobFilterOverride.getCase().setCaseReference(val);break;case Forms.Constants.JOB_STANDARD_FIELD.JOBOWNERFIELD.value.toString():jobFilterOverride.getJobOwner().setId(val);break;case Forms.Constants.JOB_STANDARD_FIELD.TYPE.value.toString():jobFilterOverride.setUseJobType(true);jobFilterOverride.setJobType(parseInt(val));break;case Forms.Constants.JOB_STANDARD_FIELD.SCORE.value.toString():var scoreFilter=Ext.create('Forms.Custom.Classes.ScoreFilterInfo',{});scoreFilter.setValue(parseInt(val));jobFilterOverride.getScoreFilter().getFilter().getItems().push(scoreFilter);break;case Forms.Constants.JOB_STANDARD_FIELD.WORKTYPE.value.toString():jobFilterOverride.getWorkQueueDefinition().setId(val);break;default:if(isNaN(dynamicFilterField)){var fieldFilter=Ext.create('Forms.Custom.Classes.FieldFilterInfo',{});fieldFilter.setName(dynamicFilterField);fieldFilter.setId(dynamicFilterField);fieldFilter.setFieldValue(val);fieldFilter.setOperatorValue(0);fieldFilter.setIsFieldUsed(true);jobFilterOverride.getFieldFilter().getFilter().getItems().push(fieldFilter);}else{throw Ext.String.format(Forms.Common.Lang.GetLocaleString('d77b4140a5224d118d67404d52ba4349',true),dynamicFilterField);} break;}},isDynamicJobFilterSet:function(jobFilterOverride){if(jobFilterOverride.getUseJobStatus()||jobFilterOverride.getCreator().getId()||jobFilterOverride.getJob().getId()||jobFilterOverride.getProcess().getId()||jobFilterOverride.getProcess().getVersion()!=-1||jobFilterOverride.getUseJobPriority()||jobFilterOverride.getJobState()||jobFilterOverride.getUseJobSla()||jobFilterOverride.getCase().getCaseReference()||jobFilterOverride.getJobOwner().getId()||jobFilterOverride.getUseJobType()||jobFilterOverride.getScoreFilter().getFilter().getItems().length>0||jobFilterOverride.getWorkQueueDefinition().getId()||jobFilterOverride.getFieldFilter().getFilter().getItems().length>0){return true;} return false;},updateDynamicActivityFilter:function(dynamicFilterField,val,activityFilterOverride){if(!dynamicFilterField){return;} switch(dynamicFilterField.toString()){case Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYSTATUSFIELD.value.toString():activityFilterOverride.setUseActivityStatus(true);activityFilterOverride.setActivityStatus(parseInt(val));break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYASSIGNEDTOFIELD.value.toString():activityFilterOverride.getResource().setId(val);break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYPROCESSNAMEFIELD.value.toString():activityFilterOverride.getProcess().setId(val);break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYNAMEFIELD.value.toString():activityFilterOverride.setActivityName(val);break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYPRIORITYFIELD.value.toString():activityFilterOverride.setUsePriority(true);activityFilterOverride.setPriority(parseInt(val));break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYSLAFIELD.value.toString():activityFilterOverride.setUseActivitySla(true);activityFilterOverride.setActivitySla(parseInt(val));break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.JOBSLAFIELD.value.toString():activityFilterOverride.setUseJobSla(true);activityFilterOverride.setJobSla(parseInt(val));break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.JOBSTATEFIELD.value.toString():activityFilterOverride.setJobState(val);break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.CASEREFERENCE.value.toString():activityFilterOverride.getCase().setCaseReference(val);break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.ACTIVITYTYPE.value.toString():activityFilterOverride.setUseActivityType(true);activityFilterOverride.setActivityType(parseInt(val));break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.WORKTYPE.value.toString():activityFilterOverride.getWorkQueueDefinition().setId(val);break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.PENDINGTIME.value.toString():activityFilterOverride.setUsePendingTimeFilter(true);activityFilterOverride.setPendingTimeFilter(parseInt(val));break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.DESIGNACTIVITYTYPE.value.toString():activityFilterOverride.setUseActivityDesignType(true);activityFilterOverride.setActivityDesignType(parseInt(val));break;case Forms.Constants.ACTIVITY_STANDARD_FIELD.MACHINE.value.toString():activityFilterOverride.setMachineName(val);break;default:if(isNaN(dynamicFilterField)){var fieldFilter=Ext.create('Forms.Custom.Classes.MetaDataFilterInfo',{});fieldFilter.setName(dynamicFilterField);fieldFilter.setMetaDataValue(val);fieldFilter.setOperatorValue(0);fieldFilter.setIsMetaDataUsed(true);activityFilterOverride.getMetaDataFilter().getFilter().getItems().push(fieldFilter);}else{throw Ext.String.format(Forms.Common.Lang.GetLocaleString('d77b4140a5224d118d67404d52ba4349',true),dynamicFilterField);} break;}},isDynamicActivityFilterSet:function(activityFilterOverride){if(activityFilterOverride.getUseActivityStatus()||activityFilterOverride.getResource().getId()||activityFilterOverride.getProcess().getId()||activityFilterOverride.getActivityName()||activityFilterOverride.getUsePriority()||activityFilterOverride.getUseActivitySla()||activityFilterOverride.getUseJobSla()||activityFilterOverride.getJobState()||activityFilterOverride.getCase().getCaseReference()||activityFilterOverride.getUseActivityType()||activityFilterOverride.getWorkQueueDefinition().getId()||activityFilterOverride.getUsePendingTimeFilter()||activityFilterOverride.getUseActivityDesignType()||activityFilterOverride.getMachineName()||activityFilterOverride.getMetaDataFilter().getFilter().getItems().length>0){return true;} return false;},});