Question
Accenture
IN
Last activity: 24 Dec 2015 13:55 EST
Can we provide a primary page to pega.desktop.showharness script
By default pydisplayharness is the primary page whenever I call pega.desktop.showharness.
Can we provide a primary page to pega.desktop.showharness script, whose value will be populated in a preactivity
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Accenture
IN
in the preactivity changed the primary page to the desired page
But there should be some better solution
Pegasystems Inc.
IN
Hi
I am not sure whether this is achievable or not. Vinayak Kuraku & Ajit Kumar can you guys provide some inputs here ?
Accenture
IN
Also launch harness has option Using Page but that opens in a pop up
Hi Rasaiya,
What is the actual business requirement you are trying to achieve by manually calling our APIs? Maybe there is another way to achieve the same effect?
Can you show us how you are using this API and why?
Thanks
Accenture
IN
It is an upgraded application from 6.2 to 7.1.7.
Now we are converting tradition portal to composite portal
The Business requirement is as follows
User can search WorkObject for review purpose and there are button on the Review Harness. When User click on the button an activity is called which runs the business logic and does the show-harness with a primary page.
Approach tried:
On click of a button I had called a run script and called pega.desktop.showHarness and called the preactivity to run the business logic, But here the primary page should be MyPage rather than pyDisplayHarness.
Pegasystems Inc.
IN
>>> on the Review Harness. When User click on the button an activity is called which runs the business logic and does the show-harness
- would configuring Launch harness - Replace current as a button onClick event work?
Accenture
IN
yes even my first choice was the same, but that replaces the entire screen of my co.mposite portal instead of just the work area. I choose run script because it replaces only the work area
Accenture
IN
Any Solution?
Updated: 17 Dec 2015 2:11 EST
JPMC
IN
Accenture
IN
What about the primary page?
JPMC
IN
If you are using the above approach, we can define teh class of the harness (i.e no explicit primary page needed)
Accenture
IN
Primary Page is needed as the entire data to be displayed on the screen is present in the primary page
Accepted Solution
Accenture
IN
in the preactivity changed the primary page to the desired page
But there should be some better solution