Is it possible to get dirtytables from update title block event?
I would like to retrieve dirty tables for Page Two/Page Three when an Update Title Block event triggers.
Here is the issue:
There is an integration code that brings data from Oracle and populates attributes in Agile on an item. There is also an Update Title Block event which validates few attributes. The validation is either all attributes should be filled or none of them should be filled. If its filled partially an error msg is thrown. But data coming from Oracle doesnt populate all the attributes. So Update Title Block PX is getting triggered and stopping the attributes from getting updated.
Is there is way we can bypass the Update Title Block Event either by check the dirty Page Two/Page Three table size ? If not this, is there any other way?
Thanks,
Vidya
Hello
You cannot do the way you are mentioning
Instead, you could do this
– Get the list of dirty cells
– For each cell, get the IAttribute.getFullName() – That will give you the field name as “Tab name.Field name”. For example – “Title Block.Description.”.
Using this you can check if any of your Page Two or Page Three fields are updated
Hope this helps
– Raj
Hi Raj,
Thanks for reply. I did it using the user session. The integration code is run with Admin user session. So I got the current user from session in PX, if it is admin user, I will skip the validation.
Regards,
Vidya