I encountered a situation where JS code was being used to manipulate a page, but a specific EP controller had an UpdateElement that would revert those changes. When trying to keep those changes intact after UpdateElement, I was unable to find a good way to pass information from the JS logic to the controller. The current solution ended up as a very roundabout method of storing the values somewhere on the page using JS that could then be passed into the controller when a hidden button is clicked via JS.
Suggestion
A feature to create a JS function with configurable parameters that could allow JS code to call a controller directly. This would be useful to allow more direct control over parameters passed to a controller when trying to call it using JS.
Expose Controller as JS Function
-
- Posts: 178
- Joined: August 31st, 2021, 11:37 am
- Contact:
-
- Posts: 88
- Joined: August 26th, 2021, 5:21 pm
- Contact: