Search Results for

    Show / Hide Table of Contents

    Method ProcessDataInit

    ProcessDataInit(String, WDP_ProcessDataInitContract)

    Set model/class for WebDataProvider method ProcessDataInit

    Declaration
    WDP_ProcessDataInitContract ProcessDataInit(string connectionId, WDP_ProcessDataInitContract processDataInit)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    WDP_ProcessDataInitContract processDataInit

    Object that represents XML schema data to transfer. See also WDP_ProcessDataInitContract

    Returns
    Type Description
    WDP_ProcessDataInitContract

    Class represend XML node schema for ProcessDataInit

    Examples

    POST http://YourServerName/InfoShare/Json/WebDataProvider/ProcessDataInit

    Example for process data initialize.

    {
       "ImportValues": {
         "CurrentDocument": {
           "FilingValues": [{
             "Id": "ImportTemplate",
             "Text": "",
             "IsEnabled": "true",
             "IsVisible": "true",
             "Name": "" 
             }, {
             "Id": "LifeCycle",
             "IsEnabled": "false",
             "IsVisible": "false",
             "Name": "",
             "Text": ""
             }, {
             "Id": "ProtectionDomain",
             "IsEnabled": "false",
             "IsVisible": "false",
             "Name": "",
             "Text": ""
             }, {
             "Id": "DocumentName",
             "IsEnabled": "false",
             "IsVisible": "false",
             "Name": "001_webdataprovider_error",
             "Text": "1950c2ab-80aa-e711-949e-00155d062902" }],
           "Properties": [{
           "Id": "01000000-d596-485b-ace6-d64647a94277",
           "Name": "Sicherheitsbereich",
           "IsMultiKey": "false",
           "Type": "Guid",
           "Length": "0",
           "Decimals": "0",
           "AllowGetExternalList": "false",
           "IsInputForExternalListRequired": "false",
           "ExternalListName": "",
           "AllowMultiSelect": "false",
           "IsRequired": "false",
           "AllowAutoComplete": "false",
           "IsVisible": "false",
           "IsEnabled": "false",
           "IsReadOnly": "true",
           "Text": "46e6778e-80aa-e711-949e-00155d062902"
           }, {
           "Id": "7dfaffd0-aa89-11e7-829b-fc4dd43e1709",
           "Name": "Kunde",
           "IsMultiKey": "false",
           "Type": "String",
           "Length": "100",
           "Decimals": "0",
           "AllowGetExternalList": "false",
           "IsInputForExternalListRequired": "false",
           "ExternalListName": "",
           "AllowMultiSelect": "false",
           "IsRequired": "false",
           "AllowAutoComplete": "false",
           "IsVisible": "true",
           "IsEnabled": "false",
           "IsReadOnly": "false",
           "Text": "" }],
         "CanChangeProperties": "" }},
       "Action": "Init",
       "SourceApplication": "MobileWebClient",
       "SourceDialog": "SearchQuery",
       "SourceAction": "",
       "CurrentCulture": "de",
       "UICulture": "de",
       "EnvironmentValues": {
         "Common": {
           "FileName": "",
           "FileExtension": "",
           "FileSizeInBytes": "",
           "LoggedInUserId": "0100a003-38a7-11d8-a902-0050bf427e8f",
           "LoggedInUserName": "dciadmin",
           "LoggedInUserDisplayName": "DCI administrator",
           "ServerName": "VKOJDEV01",
           "Port": "23450",
           "ClientIPAddress": "172.28.5.120",
           "AssignedGroups": [{
             "text": "Admins"  }, {
             "text": "AllUsersAndRoles" }, {
             "text": "AllUsersSomeROles" }],
           "Tenant": "" },
         "Additional": {
           "WebServiceSessionID": "8be5cf64-8ec3-44eb-ba2f-02339a964e01",
           "WebServiceURL": "http://schortest02:80/InfoShare/Json/",
           "FileChangeDate": "",
           "FileCreationDate": "",
           "FileLastAccess": "",
           "FilePath": "",
           "BaseDocumentId": "" } }
    }

    Response:

    {
       "Action": "Init",
       "SourceApplication": "MobileWebClient",
       "SourceDialog": "SearchQuery",
       "SourceAction": "",
       "CurrentCulture": "de",
       "UICulture": "de",
       "EnvironmentValues": {
         "Common": {
           "FileName": "",
           "FileExtension": "",
           "FileSizeInBytes": "",
           "LoggedInUserId": "0100a003-38a7-11d8-a902-0050bf427e8f",
           "LoggedInUserName": "dciadmin",
           "LoggedInUserDisplayName": "DCI administrator",
           "ServerName": "VKOJDEV01",
           "Port": "23450",
           "ClientIPAddress": "172.28.5.120",
           "IsFirstDocument": null,
           "UsePreviousImportValues": null,
           "AssignedGroups": [{
             "text": "Admins" }, {
             "text": "AllUsersAndRoles" }, {
             "text": "AllUsersSomeROles" }],
           "Tenant": ""},
         "Additional": {
           "FileCreationDate": "",
           "FileChangeDate": "",
           "FilePath": "",
           "FileLastAccess": "",
           "WebServiceSessionID": "8be5cf64-8ec3-44eb-ba2f-02339a964e01",
           "WebServiceURL": "http://schortest02:80/InfoShare/Json/",
           "BaseDocumentId": "" }},
         "ImportValues": {
           "CurrentDocument": {
             "FilingValues": [{
               "Id": "ImportTemplate",
               "Name": "",
               "IsVisible": "true",
               "IsEnabled": "true",
               "Text": null
               }, {
               "Id": "LifeCycle",
               "Name": "",
               "IsVisible": "false",
               "IsEnabled": "false",
               "Text": null
               }, {
               "Id": "DocumentName",
               "Name": "001_webdataprovider_error",
               "IsVisible": "false",
               "IsEnabled": "false",
               "Text": "1950c2ab-80aa-e711-949e-00155d062902"}],
             "Properties": [{
               "Id": "01000000-d596-485b-ace6-d64647a94277",
               "Name": "Sicherheitsbereich",
               "IsMultiKey": "false",
               "Type": "Guid",
               "Length": "0",
               "Decimals": "0",
               "AllowGetExternalList": "false",
               "IsInputForExternalListRequired": "false",
               "ExternalListName": "",
               "AllowMultiSelect": "false",
               "IsRequired": "false",
               "AllowAutoComplete": "false",
               "IsVisible": "false",
               "IsEnabled": "false",
               "IsReadOnly": "true",
               "Text": "46e6778e-80aa-e711-949e-00155d062902"
               }, {
               "Id": "7dfaffd0-aa89-11e7-829b-fc4dd43e1709",
               "Name": "Kunde",
               "IsMultiKey": "false",
               "Type": "String",
               "Length": "100",
               "Decimals": "0",
               "AllowGetExternalList": "true",
               "IsInputForExternalListRequired": "false",
               "ExternalListName": "Kunde",
               "AllowMultiSelect": "false",
               "IsRequired": "false",
               "AllowAutoComplete": "true",
               "IsVisible": "true",
               "IsEnabled": "false",
               "IsReadOnly": "false",
               "Text": null }],
             "CanChangeProperties": "" } },
           "PropertiesForAction": null,
           "CheckInSettings": [],
           "Errors": []}
    }
    Exceptions
    Type Condition
    ServiceException

    The connection id {connectionId} isn't valid or has expired (10008)

    ServiceException

    The WebDataProvider URL is not reachable {serviceUrl} (10139)

    ServiceException

    The action wasn't successfully completed {action, soapResult} (10140)

    ServiceException

    Verification code is needed: Verification code not yet verified (10152)

    Back to top Copyright © Kendox