I have a page type data page which sources data using a report definition. I have also provided a response data data transform into the data page. But as per the requirement I need to use some pyWorkPage level properties into that data transform but since it's running in context of data page, how can I use work page level properties in this data page?
***Edited by Moderator: Pooja Gadige to add capability tag***
@Bipul Singh If you are calling the Data page from the work page context, you can pass the work page property values as parameters to the Data page and use them inside the response Data transform. Or the other way would be defining the pyWorkPage in the Pages and classes.
Thanks @pavan3753 for your suggestions. I had explored these options but the problem with first approach you have mentioned is it will be difficult if we have many work level properties we want to use say around 20 properties. And in future if we want to use more properties then every time we will have to modify the step where we are calling the data page to add the parameter.
Problem with defining pyWorkPage is when the case is created using an agent, page context might be some temp page and anyways it's not a good practice to use pyWorkPage.