Access Property Validation Domaintype in the Process Designer
-
David B.5 months ago #46945
Hello,
I was wondering if it is possible to access/change the domaintype of the property validation via the process designer.
I have the following scenario:
I have a Select and an Input-Field. I am validating the input in the Input-Field via the Property Validation (Datatype-Validation). I want to change the domaintype in this validation when the selected item in my Select changes. So if I select “item1”, I want to validate the Input-Field with “domaintype1”. If I select “item2”, I want to validate the Input-Field with “domaintype2” and so on….
Is there an easy/clean way to change the domaintype (when my selected item changes) in the process designer?
Thank you very much and kind regards
David
- This topic was modified 5 months ago by David B.. Reason: spelling
Armin WinklerHas successfully completed the online course IntroductionHas successfully completed the online course Intermediate (200)Has successfully completed the online course Advanced (300)Has successfully completed the online course Basics (100)5 months ago #46968::Hi David,
unfortunately setting a domain type for property validation dynamically during runtime of an application is not possible. The reason being, that based on the chosen domain type for property validation, a self-invoking function will be generated into the source code of the app and attached to the chosen event of the widget, see the following screenshot for an example:
This function declaration is therefore hardcoded and cannot be accessed or manipulated at a later point in time after the deployment. However, you can create a feature request in our Ideas portal (you’ll find the link here in your community profile overview by clicking on the button named ‘Ideas & Roadmap’ in the header section) and leave your requirements there so the desired functionality could be added to the platform in a future Simplifier release by us.
Thank you and kind regards,
Armin
- This reply was modified 5 months ago by Armin Winkler.
You must be logged in to reply to this topic.