Search Results for

    Show / Hide Table of Contents

    Method ProcessDataAutoComplete

    ProcessDataAutoComplete(String, WDP_ProcessDataInitContract)

    Set model/class for WebDataProvider method ProcessDataAutoComplete

    Declaration
    WDP_ProcessDataInitContract ProcessDataAutoComplete(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 ProcessDataAutoComplete

    Examples

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

    Example for process data auto complete.

    {
       "Action": "AutoComplete",
       "SourceApplication": "MobileWebClient",
       "SourceDialog": "ImportDialog",
       "SourceAction": "",
       "CurrentCulture": "de",
       "UICulture": "de",
       "EnvironmentValues": {
         "Common": {
           "FileName": "DigiSeal_Inline_Signature.PDF",
           "FileExtension": ".PDF",
           "FileSizeInBytes": "400162",
           "LoggedInUserId": "26b31fbb-65dd-11e6-9bdd-000c29b56fd0",
           "LoggedInUserName": "kon1",
           "LoggedInUserDisplayName": "kon1_anzeigename",
           "ServerName": "wchorkon03",
           "Port": "23450",
           "ClientIPAddress": "172.28.5.152",
           "IsFirstDocument": null,
           "UsePreviousImportValues": null,
           "AssignedGroups": [{
             "text": "Admin" }, {
             "text": "User1" }, {
             "text": "2" }],
           "Tenant": "" },
         "Additional": {
           "FileCreationDate": "",
           "FileChangeDate": "",
           "FilePath": "",
           "FileLastAccess": "2019-08-22T09:20:35.603Z",
           "WebServiceSessionID": "e2c1d840-ea21-4cf8-88c8-1eef7c2a9a6f",
           "WebServiceURL": "http://wchorkon03:80/InfoShare/Json/",
           "BaseDocumentId": ""  } },
       "ImportValues": {
         "CurrentDocument": {
           "FilingValues": [{
             "Id": "LifeCycle",
             "Name": "",
             "IsVisible": "true",
             "IsEnabled": "true",
             "Text": "1bf485a4-5cd1-11e7-9bff-000c29b56fd0"
             }, {
             "Id": "ImportTemplate",
             "Name": "StandardImport",
             "IsVisible": "true",
             "IsEnabled": "true",
             "Text": "696b7919-65df-11e6-9bdd-000c29b56fd0" }],
         "Properties": [{
           "Id": "01004008-38a7-11d8-a902-0050bf427e8f",
           "Name": "Dateityp",
           "IsMultiKey": "true",
           "Type": "String",
           "Length": "100",
           "Decimals": "0",
           "AllowGetExternalList": "false",
           "IsInputForExternalListRequired": "false",
           "ExternalListName": "",
           "AllowMultiSelect": "false",
           "IsRequired": "false",
           "AllowAutoComplete": "true",
           "IsVisible": "true",
           "IsEnabled": "true",
           "IsReadOnly": "true",
           "Text": ".PDF"
           }, {
           "Id": "c6287602-1761-e911-9d58-000c29b56fd0",
           "Name": "Multikey_Text",
           "IsMultiKey": "true",
           "Type": "String",
           "Length": "100",
           "Decimals": "0",
           "AllowGetExternalList": "false",
           "IsInputForExternalListRequired": "false",
           "ExternalListName": "",
           "AllowMultiSelect": "false",
           "IsRequired": "false",
           "AllowAutoComplete": "false",
           "IsVisible": "false",
           "IsEnabled": "true",
           "IsReadOnly": "false",
           "Text": "1,2,3,4,5" }],
         "CanChangeProperties": "false"}},
       "PropertiesForAction": {
         "Property": {
           "Id": "2a5d611a-4cf6-11e7-9bec-000c29b56fd0",
           "Name": "Belegart2",
           "AllowMultiSelect": "false" }},
       "CheckInSettings": [],
       "Errors": [] }
    }

    Response:

    {
       "Action": "AutoComplete",
        "SourceApplication": "MobileWebClient",
        "SourceDialog": "ImportDialog",
        "SourceAction": "",
        "CurrentCulture": "de",
        "UICulture": "de",
        "EnvironmentValues": {
          "Common": {
            "FileName": "DigiSeal_Inline_Signature.PDF",
            "FileExtension": ".PDF",
            "FileSizeInBytes": "400162",
            "LoggedInUserId": "26b31fbb-65dd-11e6-9bdd-000c29b56fd0",
            "LoggedInUserName": "kon1",
            "LoggedInUserDisplayName": "kon1_anzeigename",
            "ServerName": "wchorkon03",
            "Port": "23450",
            "ClientIPAddress": "172.28.5.152",
            "IsFirstDocument": null,
            "UsePreviousImportValues": null,
            "AssignedGroups": [{
              "text": "Admin"  }, {
              "text": "User1" }],
            "Tenant": "" },
          "Additional": {
            "FileCreationDate": "",
            "FileChangeDate": "",
            "FilePath": "",
            "FileLastAccess": "2019-08-22T09:20:35.603Z",
            "WebServiceSessionID": "e2c1d840-ea21-4cf8-88c8-1eef7c2a9a6f",
            "WebServiceURL": "http://wchorkon03:80/InfoShare/Json/",
            "BaseDocumentId": ""  }},
        "ImportValues": {
          "CurrentDocument": {
            "FilingValues": [{
              "Id": "LifeCycle",
              "Name": "",
              "IsVisible": "true",
              "IsEnabled": "true",
              "Text": "1bf485a4-5cd1-11e7-9bff-000c29b56fd0"
              }, {
             "Id": "ImportTemplate",
             "Name": "StandardImport",
             "IsVisible": "true",
             "IsEnabled": "true",
            "Text": "696b7919-65df-11e6-9bdd-000c29b56fd0" }],
             "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