Support Article
Call Show-Harness not working from an Activity
SA-24067
Summary
Harness was not launched from an activity using activity method Show-Harness. The Show-Harness call worked fine in PRPC 6.
Error Messages
Not Applicable
Steps to Reproduce
1. Create a portal by giving the harness class and harness name.
2. Include a button in the harness.
3. Configure it as onClick run an activity.
4. Design call show-Harness in that activity.
5. Launch the portal, and click the button to check.
Root Cause
System will not be able to launch another harness through an activity (by calling show-Harness), which is configured onClick of a button. This is because, the place where it should be lauched cannot be specified.
Resolution
Use the launch harness action onClick of a button as shown below, and design the required activity.

Published June 4, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.