We have a MSSQL JDBC application spanning multiple databases (master, model, msdb). We wanted a target_database dropdown in the provisioning form to show only databases where the requested entitlement exists.
WHAT WE TRIED & THE ERRORS
- Accessing “plan” in form field script → Error: “plan” is undefined in Formicator context
- form.getField(“role_name”).getValue() → Returns null in LCM flow (entitlement is in the plan, not the form)
- → DTD parse error: “dependsOn” not declared for Field element
- → DTD parse error: “helpText” not declared for Field element