Hey!
I want to make a method easier to use by prefilling the arguments with values,
so that if the user uses "call" in e.g. UaExpert on that method,
the dialog is prefilled and the user can driectly click "call" and the values would be fine.
Is there a way either before dialog open or whenever a default value would have changed to set it for the user?
Cheers,
Thilo
Set default values of input arguments before call
Moderator: uasdkcpp
-
- Hero Member
- Posts: 24
- Joined: 12 Jan 2018, 13:22
- Support Team
- Hero Member
- Posts: 3070
- Joined: 18 Mar 2011, 15:09
Re: Set default values of input arguments before call
Hello Thilo,
there are discussions about the feature to have optional method arguments or default parameters. But that feature is currently not jet specified or released.
So there is not generic way to do that at the moment. If you have control of client and server side you can easily do that by adding a property to the method that gives the client that information.
there are discussions about the feature to have optional method arguments or default parameters. But that feature is currently not jet specified or released.
So there is not generic way to do that at the moment. If you have control of client and server side you can easily do that by adding a property to the method that gives the client that information.
Best regards
Unified Automation Support Team
Unified Automation Support Team