Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have the following code in a text box.
= only({$<Username = {$(=SubField(OSUser(), '\', 2))} >} USEDEFAULTValue)
For me it works i get the data.
If another user opens the app.
They get the error message: "Error: Error in set ad hocelement list: ',' or ')' expected."
Any ideas?
My best guess is that you have a username without any whitespaces or special characters such as ' ' and '-', but the users with the problem does.
Try adjusting your expression to either this (case sensitive):
= only({$<Username = {'$(=SubField(OSUser(), '\', 2))'} >} USEDEFAULTValue)
or this (case insensitive)
= only({$<Username = {"$(=SubField(OSUser(), '\', 2))"} >} USEDEFAULTValue)
My best guess is that you have a username without any whitespaces or special characters such as ' ' and '-', but the users with the problem does.
Try adjusting your expression to either this (case sensitive):
= only({$<Username = {'$(=SubField(OSUser(), '\', 2))'} >} USEDEFAULTValue)
or this (case insensitive)
= only({$<Username = {"$(=SubField(OSUser(), '\', 2))"} >} USEDEFAULTValue)