Question
Murex
LB
Last activity: 8 Sep 2016 7:31 EDT
Property generated by Report Definition in the Actions of the Repeat Grid Cell
Hello,
I have a Repeat Grid reading from a Report Definiton.
The Report Definitonis genrating some value 'Report.defectID' that I am displaying in the Cell.
On Click, I would like to use/save that property 'Report.defectID' got form the Report Definition. But it seems that I can only access the properties of the class where the Repeat Grid is on and not the properties of the Report Definition.
Is there a way to save/use the property got form the Report Definition in the Actions of the cell?
Thank you in advance,
Mariane
***Updated by moderator: Lochan to add Categories***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
IN
The context within the repeating grid is always the class of the repeating grid. If you want to invoke activity from other class we can specify like className.ActivityName. or other way would be create activity and other required stuff on the class of the repeating grid and then from there access any property with page referance.
-Saikat
Salame
Hello Guys,
I'm facing the same issue. Can you please help?
Thanks in advance,
Rosy
Salame
Hello Guys,
Can you please help? I'm facing same issue.
Thnaks in advance,
Rosy
Pegasystems Inc.
FR
Hi guys,
Can you clarify, what are you doing exactly on your grid ? You have an OnClick action doing something with the property ?
Murex
LB
Hello Lassm,
Thank you for your reply :)
One of the values dispalyed on the grid is a 'defectId'. (the Grid is reading from a Report definition)
OnClik of the 'defectId', I would like to open a URL where the 'defectId' is one of the parameters of the URL. But it seems that in the OnClick, I cannot access the property 'defectId' of the Report Definition.
I hope this was clearer. Let me know if you require more explanation.
Thank you very much for your help :)
Mariane
Murex
LB
Hello Lassm,
Thank you for your reply :)
One of the values dispalyed on the grid is a 'defectId'. (the Grid is reading from a Report definition)
OnClik of the 'defectId', I would like to open a URL where the 'defectId' is one of the parameters of the URL. But it seems that in the OnClick, I cannot access the property 'defectId' of the Report Definition.
I hope this was clearer. Let me know if you require more explanation.
Thank you very much for your help :)
Mariane
Pegasystems Inc.
FR
Well, this is surprising because the "Open URL in Window" option is expecting DataTransform, Activity and Parameters from the class of the Reprot Definition building the grid. Which version of the product are you using.
Accepted Solution
Pegasystems Inc.
IN
The context within the repeating grid is always the class of the repeating grid. If you want to invoke activity from other class we can specify like className.ActivityName. or other way would be create activity and other required stuff on the class of the repeating grid and then from there access any property with page referance.
-Saikat
Murex
LB
Hello,
Thank you Lassm and Saikat for you replies !
You are correct Saikat that the context within the repeating grid is always the class of the repeating grid. My Report definiton was retreiving properties from another class via a Class Join. So that is why I could not access thta property in the CAtions.
I solved the issue by placing the base Report Definition in the class where I required that property. In other words, I switched the class Join. Now the repeating grid has the class belonging to the property I need to acces. And I can use it in the Actions.
Thank you for your help :)
Mariane