0
Answered

Cannot retreive schema for Chris21 USR connector

Huu Tran 6 years ago in UNIFYBroker/Frontier ichris/chris21 updated by Adam van Vliet 6 years ago 6

Chris21 USR Connector is configured as follow:

Image 4683



However, retrieving schema failed with the below error in the log:


20180116,23:15:53,UNIFY Identity Broker,Connector Engine,Error,"The schema for 'Chris21 USR Connector' connector was not updated for the following reason: System.AggregateException: One or more errors occurred. ---> System.Exception: No schema fields retrieved for the configured form. Please confirm the connector configuration.
   at Unify.Product.IdentityBroker.Chris21ConnectorBase.<GetSchemaFields>d__42.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at Unify.Product.IdentityBroker.Chris21ConnectorSchemaProvider.GetSchema(ISchemaProviderFactoryInformation factoryInformation)
   at Unify.Product.IdentityBroker.ConnectorEngine.SchemaProviderResult(IOperationalConnector`1 operationalConnector, Func`2 selector)
---> (Inner Exception #0) System.Exception: No schema fields retrieved for the configured form. Please confirm the connector configuration.
   at Unify.Product.IdentityBroker.Chris21ConnectorBase.<GetSchemaFields>d__42.MoveNext()<---
",Normal
20180116,23:15:53,UNIFY Identity Broker,Connector engine,Warning,"Request to retrieve schema provider application result.
Request to retrieve schema provider application result for connector 2851de9a-a6f5-4026-8f63-9c4637633001 failed with message One or more errors occurred.. Provider: Unify.Connectors.Frontier.Chris21.AllFields. Duration: 00:00:01.8901441
Error details:
System.AggregateException: One or more errors occurred. ---> System.Exception: No schema fields retrieved for the configured form. Please confirm the connector configuration.
   at Unify.Product.IdentityBroker.Chris21ConnectorBase.<GetSchemaFields>d__42.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at Unify.Product.IdentityBroker.Chris21ConnectorSchemaProvider.GetSchema(ISchemaProviderFactoryInformation factoryInformation)
   at Unify.Product.IdentityBroker.ConnectorEngine.SchemaProviderResult(IOperationalConnector`1 operationalConnector, Func`2 selector)
   at Unify.Product.IdentityBroker.ConnectorEngine.SchemaProviderApplicationResult(String providerName, Guid connectorId)
   at Unify.Product.IdentityBroker.ConnectorEngineAuditingDecorator.SchemaProviderApplicationResult(String providerName, Guid connectorId)
   at Unify.Product.IdentityBroker.ConnectorEngineNotifierDecorator.SchemaProviderApplicationResult(String providerName, Guid connectorId)
   at Unify.Product.IdentityBroker.ConnectorEngineAccessor.SchemaProviderApplicationResult(String providerName, Guid connectorId)
   at Unify.Product.IdentityBroker.IdentityServiceCollector.SchemaProviderApplicationResult(String providerName, Guid connectorId)
   at SyncInvokeSchemaProviderApplicationResult(Object , Object[] , Object[] )
   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
---> (Inner Exception #0) System.Exception: No schema fields retrieved for the configured form. Please confirm the connector configuration.
   at Unify.Product.IdentityBroker.Chris21ConnectorBase.<GetSchemaFields>d__42.MoveNext()<---
",Verbose

Answer

Answer

The field that chris21 is specifying as the key (usrlogonid) is missing from the set of returned field names. Could you please try the following request and let me know if the response changes?

cbr="componentlist",screen="USR",showtranslation="s"

If the key field comes through, update the show translation setting on the connector and try again.

Under review

Please execute the following command on the GTR form:

cbr="componentlist",screen="USR"

And let me know what the output is. Thanks.

Please also confirm that the same permissions have been granted for the USR form as the other forms.

GTR output:

 

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR APPNO",trnfield="usrappno",dmpscrnlbl="Applicant Number",dmplbllen="16",dmplblline="29",dmplblposn="2",dmpgroupid="80",dmpgrouporder="2",dmttype="11",trnacctype="lookup",trnaccfld="tablebox",dmpaccline="29",dmpaccposn="20",dmpdispind="D",dmpstrgsiz="7",dmsdisplen="7",dmptranlin="29",dmptranpos="25",dmptranlen="30",dmtoptional="Y",dmtvalinfo="APDET",trnlinksmry[1]="apdnumber",trnlinkform[1]="usrappno",trnsumrylst="APD",dmsrptrwp="Y",dmstranhdg1="Surname & Initials",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR ACC ORG",trnfield="usraccorg",dmpscrnlbl="Staff Access",dmplbllen="12",radiobutton01="Self Only:S",radiobutton02="Organisation:O",radiobutton03="All:",numberofradiobuttons="3",dmplblhide="Y",dmpgroupid="30",dmpgrouporder="4",dmttype="37",trnacctype="text",trnaccfld="radiobutton",dmpaccline="15",dmpaccposn="55",dmpstrgsiz="1",dmsdisplen="1",dmsdisphgt="2",dmtoptional="Y",dmtentries="S,O",dmsrptrwp="Y",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR LOG TRYS",trnfield="usrlogtrys",dmpscrnlbl="Unsuccessful Attempts",dmplbllen="21",dmplblline="14",dmplblposn="55",dmpgroupid="10",dmpgrouporder="30",dmttype="1",trnacctype="number",trnaccfld="editfield",dmpaccline="14",dmpaccposn="57",dmpdispind="C",dmpstrgsiz="2",dmsdisplen="2",dmtoptional="Y",dmtintegers="2",dmsrptrwp="Y",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR LOG LOCK",trnfield="usrloglock",dmpscrnlbl="Account Locked",dmplbllen="14",dmplblline="5",dmplblposn="56",dmpgroupid="10",dmpgrouporder="7",dmttype="35",trnacctype="text",trnaccfld="checkbox",dmpaccline="5",dmpaccposn="55",dmpdispind="C",dmpstrgsiz="1",dmsdisplen="1",dmsforceup="Y",dmtoptional="Y",dmtentries="Y",dmsrptrwp="Y",dmssumdis="Y",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR COPY FRM",trnfield="usrcopyfrm",dmpscrnlbl="Copy Security From",dmplbllen="18",dmplblline="22",dmplblposn="2",dmpgroupid="10",dmpgrouporder="17",dmttype="11",trnacctype="lookup",trnaccfld="tablebox",dmpaccline="22",dmpaccposn="20",dmpstrgsiz="8",dmsdisplen="8",dmtoptional="Y",dmtvalinfo="SEUSR",trnlinksmry[1]="usrlogonid",trnlinkform[1]="usrcopyfrm",trnsumrylst="USR",dmsrptrwp="Y",dmstranhdg1="User Name",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR REL DEF",trnfield="usrreldef",dmpscrnlbl="Relationship",dmplbllen="12",dmplblline="18",dmplblposn="55",dmpgroupid="40",dmpgrouporder="6",dmttype="9",trnacctype="table",trnaccfld="tablebox",dmpaccline="18",dmpaccposn="57",dmpstrgsiz="4",dmsdisplen="4",dmsforceup="Y",dmptranlin="18",dmptranpos="63",dmptranlen="16",dmtoptional="Y",dmtvalinfo="WFREL",trnlinksmry[1]="tabcode",trnlinkform[1]="usrreldef",trnsumrylst="TAB",dmsrptrwp="Y",dmstranhdg1="Relationship",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR LEVEL",trnfield="usrlevel",dmpscrnlbl="Number of Levels",dmplbllen="16",dmplblline="19",dmplblposn="55",dmpgroupid="40",dmpgrouporder="8",dmttype="1",trnacctype="number",trnaccfld="editfield",dmpaccline="19",dmpaccposn="57",dmpstrgsiz="2",dmsdisplen="2",dmtoptional="Y",dmtmaximum="10",dmtintegers="2",dmsrptrwp="Y",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR SCN LOGN",trnfield="usrscnlogn",dmpscrnlbl="Form at Logon",dmplbllen="13",dmplblline="8",dmplblposn="55",dmpgroupid="30",dmpgrouporder="2",dmttype="11",trnacctype="lookup",trnaccfld="tablebox",dmpaccline="8",dmpaccposn="57",dmpprompt="Enter the form at logon",dmpstrgsiz="3",dmsdisplen="3",dmsforceup="Y",dmtoptional="Y",dmtvalinfo="CHSCN",trnlinksmry[1]="scnmnemonic",trnlinkform[1]="usrscnlogn",trnsumrylst="SCN",dmsrptrwp="Y",dmssumdis="Y",dmstranhdg1="Description",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR EXC LDAP",trnfield="usrexcldap",dmpscrnlbl="Exclude LDAP",dmplbllen="12",dmplblline="26",dmplblposn="3",dmpgroupid="70",dmpgrouporder="2",dmttype="35",trnacctype="text",trnaccfld="checkbox",dmpaccline="26",dmpaccposn="2",dmpstrgsiz="1",dmsdisplen="1",dmsforceup="Y",dmtoptional="Y",dmtentries="Y",dmsrptrwp="Y",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR LOG NAME",trnfield="usrlogname",dmpscrnlbl="Login ID",dmplbllen="8",dmplblline="7",dmplblposn="2",dmpgroupid="10",dmpgrouporder="3",dmttype="10",trnacctype="text",trnaccfld="combobox",dmpaccline="7",dmpaccposn="20",dmpstrgsiz="40",dmsdisplen="40",dmtoptional="Y",dmsrptrwp="Y",dmssumdis="Y",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR FILTER",trnfield="usrfilter",dmpscrnlbl="Filter Group",dmplbllen="12",dmplblline="20",dmplblposn="55",dmpgroupid="40",dmpgrouporder="10",dmttype="11",trnacctype="lookup",trnaccfld="tablebox",dmpaccline="20",dmpaccposn="57",dmpstrgsiz="4",dmsdisplen="4",dmtoptional="Y",dmtvalinfo="PTAFG",trnlinksmry[1]="afgfilter",trnlinkform[1]="usrfilter",trnsumrylst="AFG",dmsrptrwp="Y",dmstranhdg1="Filter Group",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR DOMAIN",trnfield="usrdomain",dmpscrnlbl="Domain",dmplbllen="6",dmplblline="27",dmplblposn="2",dmpgroupid="70",dmpgrouporder="3",dmttype="10",trnacctype="text",trnaccfld="combobox",dmpaccline="27",dmpaccposn="20",dmpprompt="Login network domain name",dmpstrgsiz="64",dmsdisplen="40",dmtoptional="Y",dmsrptrwp="Y",dmssumdis="Y",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR EXT AUTH",trnfield="usrextauth",dmpscrnlbl="Externally Authenticated",dmplbllen="24",dmplblline="25",dmplblposn="3",dmpgroupid="70",dmpgrouporder="1",dmttype="35",trnacctype="text",trnaccfld="checkbox",dmpaccline="25",dmpaccposn="2",dmpprompt="Login always authenticated externally.",dmpstrgsiz="1",dmsdisplen="1",dmsforceup="Y",dmtoptional="Y",dmtentries="Y",dmsrptrwp="Y",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR BUTTON",trnfield="usrbutton",button01="&Reset Password:Y",numberofbuttons="1",dmpgroupid="10",dmpgrouporder="6",dmttype="32",trnacctype="text",trnaccfld="button",dmpaccline="8",dmpaccposn="40",dmpstrgsiz="1",dmsdisplen="1",dmtoptional="Y",dmtentries="Y",trnvirtfld="Y",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR EMAIL CD",trnfield="usremailcd",dmpscrnlbl="Message Code",dmplbllen="12",dmplblline="9",dmplblposn="2",dmpgroupid="10",dmpgrouporder="9",dmttype="11",trnacctype="lookup",trnaccfld="tablebox",dmpaccline="9",dmpaccposn="20",dmpstrgsiz="6",dmsdisplen="6",dmtoptional="Y",dmtvalinfo="CHMMD",trnlinksmry[1]="mmdmescode",trnlinkform[1]="usremailcd",trnsumrylst="MMD",dmsrptrwp="Y",dmssumdis="Y",dmstranhdg1="Subject",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR MEN LOGN",trnfield="usrmenlogn",dmpscrnlbl="Pages at Logon",dmplbllen="14",dmplblline="17",dmplblposn="55",dmpgroupid="40",dmpgrouporder="2",dmttype="11",trnacctype="lookup",trnaccfld="tablebox",dmpaccline="17",dmpaccposn="57",dmpprompt="Enter the pages at logon",dmpstrgsiz="3",dmsdisplen="3",dmsforceup="Y",dmtoptional="Y",dmtvalinfo="PYIPG",trnlinksmry[1]="ipgcode",trnlinkform[1]="usrmenlogn",trnsumrylst="IPG",dmsrptrwp="Y",dmstranhdg1="Description",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR ABSET MG",trnfield="usrabsetmg",dmpscrnlbl="Out of Office?",dmplbllen="14",dmplblline="21",dmplblposn="56",dmpgroupid="40",dmpgrouporder="12",dmttype="35",trnacctype="text",trnaccfld="checkbox",dmpaccline="21",dmpaccposn="55",dmpstrgsiz="1",dmsdisplen="1",dmsforceup="Y",dmtoptional="Y",dmtentries="Y",dmsrptrwp="Y",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR CMPGN PR",trnfield="usrcmpgnpr",dmpscrnlbl="Campaign Profile",dmplbllen="16",dmplblline="30",dmplblposn="3",dmpgroupid="80",dmpgrouporder="1",dmttype="35",trnacctype="text",trnaccfld="checkbox",dmpaccline="30",dmpaccposn="2",dmpstrgsiz="1",dmsdisplen="1",dmsforceup="Y",dmtoptional="Y",dmtentries="Y",dmsrptrwp="Y",dmssumdis="Y",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR ACC C K",trnfield="usraccck",dmpscrnlbl="Interface",dmplbllen="9",dmplblhide="Y",dmpgroupid="10",dmpgrouporder="18",dmttype="9",trnacctype="table",trnaccfld="tablebox",dmpaccline="11",dmpaccposn="2",dmpstrgsiz="12",dmsdisplen="8",dmsforceup="L",dmtoptional="Y",dmtvalinfo="INTFC",trnlinksmry[1]="tabcode",trnlinkform[1]="usraccck",trnsumrylst="TAB",dmtarraysz="10",trnarrayid="1",trnarrayfld="USR ARRAY",dmsrptrwp="Y",dmssumdis="Y",dmstranhdg1="Interface",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR SEC PROF",trnfield="usrsecprof",dmpscrnlbl="Security Profile",dmplbllen="16",dmplblhide="Y",dmpgrouporder="13011",dmttype="11",trnacctype="lookup",trnaccfld="tablebox",dmpaccline="11",dmpaccposn="13",dmpstrgsiz="8",dmsdisplen="8",dmtoptional="Y",dmtvalinfo="SEUSR",trnlinksmry[1]="usrlogonid",trnlinkform[1]="usrsecprof",trnsumrylst="USR",dmtarraysz="10",trnarrayid="1",trnarrayfld="USR ARRAY",dmsrptrwp="Y",dmssumdis="Y",dmstranhdg1="User Name",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR MENU ROL",trnfield="usrmenurol",dmpscrnlbl="Menu Role",dmplbllen="9",dmplblhide="Y",dmpgroupid="10",dmpgrouporder="12",dmttype="9",trnacctype="table",trnaccfld="tablebox",dmpaccline="11",dmpaccposn="23",dmpstrgsiz="8",dmsdisplen="8",dmtvalinfo="ROLE",trnlinksmry[1]="tabcode",trnlinkform[1]="usrmenurol",trnsumrylst="TAB",dmtarraysz="10",trnarrayid="1",trnarrayfld="USR ARRAY",dmsrptrwp="Y",dmstranhdg1="Menu Role",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR DFLT IND",trnfield="usrdfltind",dmpscrnlbl="Default",dmplbllen="7",dmplblhide="Y",dmpgroupid="10",dmpgrouporder="20",dmttype="35",trnacctype="text",trnaccfld="checkbox",dmpaccline="11",dmpaccposn="30",dmpstrgsiz="1",dmsdisplen="1",dmtoptional="Y",dmtentries="Y",dmtarraysz="10",trnarrayid="1",trnarrayfld="USR ARRAY",dmsrptrwp="Y",dmssumdis="Y",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR MST IND",trnfield="usrmstind",dmpscrnlbl="Profile",dmplbllen="7",dmplblline="22",dmplblposn="24",dmpgrouporder="22022",dmttype="35",trnacctype="text",trnaccfld="checkbox",dmpaccline="22",dmpaccposn="22",dmpstrgsiz="1",dmsdisplen="1",dmtoptional="Y",dmtentries="Y",dmsrptrwp="Y",dmssumdis="Y",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR GROUP",trnfield="usrgroup",dmpscrnlbl="Group",dmplbllen="5",dmplblline="25",dmplblposn="30",dmpgroupid="30",dmpgrouporder="14",dmttype="9",trnacctype="table",trnaccfld="tablebox",dmpaccline="25",dmpaccposn="31",dmpprompt="User Access Group",dmpstrgsiz="12",dmsdisplen="12",dmptranlin="25",dmptranpos="35",dmptranlen="24",dmtoptional="Y",dmtvalinfo="GNAGP",trnlinksmry[1]="tabcode",trnlinkform[1]="usrgroup",trnsumrylst="TAB",dmsrptrwp="Y",dmssumdis="Y",dmssumtran="Y",dmstranhdg1="Group",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="field",dmpfield="USR WRK GRP",trnfield="usrwrkgrp",dmpscrnlbl="Table Group",dmplbllen="11",dmplblline="26",dmplblposn="30",dmpgroupid="30",dmpgrouporder="16",dmttype="9",trnacctype="table",trnaccfld="tablebox",dmpaccline="26",dmpaccposn="31",dmpstrgsiz="5",dmsdisplen="5",dmptranlin="26",dmptranpos="35",dmptranlen="24",dmtoptional="Y",dmtvalinfo="TABGP",trnlinksmry[1]="tabcode",trnlinkform[1]="usrwrkgrp",trnsumrylst="TAB",dmsrptrwp="Y",dmssumdis="Y",dmssumtran="Y",dmstranhdg1="Table Group",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="non-display",dmpfield="ATTACHMENTS",trnfield="attachments",dmpscrnlbl="Attachments",dmplbllen="0",dmttype="35",trnacctype="text",trnaccfld="checkbox",dmpstrgsiz="1",dmsdisplen="1",dmtoptional="Y",dmtentries="Y",dmssumdis="Y",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",scncmptype="keyinfo",trnkeyp="usrlogonid",trnkeypform="USR",trnkeyptype="lookup",trnkey1="usrlogonid",trnkey2="usrlogname",trnkey3="usrempno",status="ok"

cbr="componentlist",screen="USR",gw_transactionid="83",endoflist,status="ok"

Answer

The field that chris21 is specifying as the key (usrlogonid) is missing from the set of returned field names. Could you please try the following request and let me know if the response changes?

cbr="componentlist",screen="USR",showtranslation="s"

If the key field comes through, update the show translation setting on the connector and try again.

Confirmed that the same permission to USR as to other forms

Yep. Ticked the "showtranslation" does the trick. I can retrieve te schema. Doing an import now