Hi Dojo,
I'm creating a GQI data source where the start and end time are optional. How can I verify in code if something has been filled in?
Jens Vandewalle [SLC] [DevOps Enabler] Selected answer as best 12th January 2024
Hi Jens,
The OnArgumentsProcessedInputArgs object contains a HasArgumentValue which will return false if the optional argument is not filled in (see docs).
Additionally, you can also use the TryGetArgumentValue which will try to get the value for a given argument. If the argument is found, it'll return true (see docs).
Jens Vandewalle [SLC] [DevOps Enabler] Selected answer as best 12th January 2024