on ‎2021 Apr 07 10:45 AM
Hello experts, I have a requirement where I need to create dynamically sections and ui controls to enter data because the fields to include in the page are based on some information that I get from odata.
Is it possible add controls in a rule onLoaded page event ? Some help would be appreciate.
Thanks
Request clarification before answering.
There are two options you can consider.
1) You can build the page to include all the fields and use rules to control the visibility of sections and controls
2) You can dynamically generate the full page metadata at runtime and set it in the Page Metadata property of your Navigation action. We currently don't have any helper functions for aiding in the creation of the page metadata but are considering it in the future. While this offers the maximum flexibility it also mens you take responsibility to make sure your page is correctly formatted. Since you also mention needing it for entering data, you will have to write appropriate rules that are able to correctly retrieve the data from the page for use in any actions to create / update the backend data source.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.