Forum Discussion
7 Replies
- christopher_gillisNew Member
Hello,
The Property events inside of Innovator are client-only events that trigger whenever a user edits the property through a field on a form or through a cell in a grid. I've found the best way to determine when exactly these events are triggered is to throw a debugger; statement into the JavaScript method you attach and open the browser developer tools (typically launched by pressing F12). You can then edit a property using either of the options listed above to see exactly when the property is triggered.
Just based on your description, my guess is that the OnEditFinish event is going to be best suited for your use case. However, could you elaborate a bit more on exactly what you'd like this method to do?
Chris
Christopher Gillis
Aras Labs Software Engineer
- ArGIdeator I
Thanks Chris for the reply.
I have a 3 Fields on form corresponding to 3 properties.
data type of property 1 is "Item"
data type of property 2 is Foreign which is pointing to some property of Property 1
Data type of property 3 federated
I need to populate property 2 value on property 3. I was trying with field event of property 2 (on change) to populate value of property 2 on property 3. But since it is foreign , it is disabled. Field events doesn't work.
Same thing i tried with property 1, but that is search dialog where field event doesn't serve the purpose.
Now, trying with Property events, where only onsearchdialog is getting triggred on property 1.
I hope this gives clarification.
Any suggestion chris.
Thanks in advance
- christopher_gillisNew Member
Hello,
I'm not sure I fully understand this use case. Typically, foreign and federated properties are disabled entirely since the data is pulled from another source. These properties are never "edited" because they don't really hold the value themselves. Because of this, you won't be able to launch any edit events from these properties.
If you're trying to do some kind of validation of the data for your foreign and federated properties, you will need to add your edit events onto the data source of these properties.
Chris