Question

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)
-
Accepted Solution

in the preactivity changed the primary page to the desired page
But there should be some better solution

Hi
I am not sure whether this is achievable or not. Vinayak Kuraku & Ajit Kumar can you guys provide some inputs here ?

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

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.

>>> 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?

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

Any Solution?

What about the primary page?

If you are using the above approach, we can define teh class of the harness (i.e no explicit primary page needed)

Primary Page is needed as the entire data to be displayed on the screen is present in the primary page
Accepted Solution

in the preactivity changed the primary page to the desired page
But there should be some better solution