Page 1 of 1

Does UA Expert support default values for input arguments?

Posted: 06 Jul 2022, 16:21
by pauli
I'd like to clarify if UA Expert shows default values for input arguments in the "Call Method" dialogue.

On my server I implemented the HasArgumentDescription ReferenceType, but nothing changes in the dialogue. Therefore, I'm not sure if it is a bug in my server or if UA Expert just does not show the default values.

Image

Re: Does UA Expert support default values for input arguments?

Posted: 17 Aug 2022, 09:12
by Support Team
Hi,

no, the UaExpert can not display the default values of input arguments.

The default value is more a server side feature. Server applies the default values if the input argument was missing when the method was called. If no devault value exists in the server, it returns invalid-arg on empty arguments. However, when the Client gives input argument, they will be used over the default values. Therefore for most clients there is no good reason to display the default, just hope for the best.