Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hi
I want to configure my application to run scenarios in Dataiku.
How can I validate projectKey and scenarioId as valid strings for configuration?
I want to reject any malformed value upfront rather than calling expensive API.
regards
Mahesh
Hi,
You could do some regex validation initially like "/^\w+$/" for project key and /^[A-Za-z0-9_]+$/ for scenario ID.
This would not validate if the project key and scenario ID actually exist. You would need to make an API call to determine that.
Thanks