Close popover
Siva Satyanarayana Tadikonda (Siva_Tadikonda)
Legato Health Technologies
Siva Satyanarayana Tadikonda
Legato Health Technologies
Siva_Tadikonda Member since 2016 10 posts
Legato Health Technologies
Posted: August 11, 2017
Last activity: October 16, 2018

doFormSubmit on click of button replaces screen layout with perform harness

We have a functionality wherein on click of a button, run script action is triggered for doFormSubmit function. The portal consists of Header_Left screen layout and the button exists in main area of the portal of submission. On submission, the perform harness with the requisite data should load in the main harness. This isn't happening and the whole screen layout is being replaced by the perform harness. Ideally it should only load in the main area of the screen layout.

On further investigation, I could find that the data-portalharnessinsname isn't being set to portal name while in ideal case this gets set to screen layout harness name. Not sure if this is the problem out here but would need suggestions to fix the said behavior.

Note: pega.u.d.pyStreamNameForGadget is being set to Perform harness and ideally, as far as my understanding on this, the set Gadget name (harness) should load in the main area and not replace the screen layout.

Also, the said behavior occurs only when the doFormSubmit action is performed right after screen layout is loaded. If any other action such as trigger of any event from left sidebar area/header area, click of link or onchange of dropdown in right main area, etc. is performed before any doFormSubmit action then, it works perfectly fine loading the subsequent harness in the right main area as desired.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Low-Code App Development User Experience Support Case Created
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.