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

 

Add Comment
2 Answer(s)

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

Agile Angel Answered on April 9, 2020.
Add Comment

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

 

Agile User Answered on April 13, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.