Hello all, I was curious to see if anyone else has ran into this issue where you create a new input field type "AccountSearchTextField" and utilize that as a variable to put in for the manager attribute in AD.
It seems to show up okay on the web client and it will search for the desired user to be placed in as the manager:

However, when you try to approve the user creation, I'm thrown an exception stating the following: "The application must be closed because an unexpected error occurred. We are sorry for the inconvenience.
TargetInvocationException
I noticed that when I take out the following configuration from my .json file, there's no more issues:
{
"Name": "manager",
"Definition": {
"Type": "AccountSearchTextField",
"Label": "Manager",
"ObjectType": "Account",
"IsEnabled": true,
"IsObjectSearchable": true,
"ExcludeDeactivatedUsers": true,
"RestrictToDataOwnerResources": true,
"UsersOnly": true,
}
},
I've sanitized and attached my entire json file:
[View:/cfs-file/__key/communityserver-discussions-components-files/31/CreateUser.CreateNewUser.json:282:355]
EDIT: Forgot to add screenshot of error
