Question

User work form

What is user work form?

Correct Answer
November 28, 2019 - 4:39am

Hello, 

It is a place holder HTML FRAGMENT called by most of our existing HARNESSes. You can use to customize your application with an extra JavaScript for example if needed.

Comments

Keep up to date on this post and subscribe to comments

November 28, 2019 - 4:39am

Hello, 

It is a place holder HTML FRAGMENT called by most of our existing HARNESSes. You can use to customize your application with an extra JavaScript for example if needed.

Pega
November 28, 2019 - 4:52am

You can add custom client-side validation scripts or error messages on an application-wide by overriding the HTML fragment rule UserWorkForm, which is included in the fragment WorkFormStandard, which in turn is included in the HTML code for every user form.

Pega
November 28, 2019 - 6:11am

Userworkform is the HTML (containing style ,script)fragment that is loaded whenever a userform is loaded that is any section. So whenever any UI is loaded, it will be loaded at last so any change made in it will get affected overriding other styles or script

 

Pega
November 30, 2019 - 12:39am

Hi Bhargav,

Userform is an HTML fragment rule which generally used to load the extra styles that need to be picked at run time and need to call custom javascript functions according to your requirement. Please find the below article for the user-work forms.

https://community.pega.com/sites/default/files/help_v717/definitions/u/userforms.htm

https://community.pega.com/sites/default/files/help_v721/basics/portal/casemanager/basicsharnessv6.htm

December 9, 2019 - 12:07am

Thank you 
One more question how to call user work form into our section?

December 9, 2019 - 12:15am

HI @BhargavP2852,

UserWorkForm will be loaded every time the screen is refreshed.You don't have to call it anywhere because WorkFormStandard will be called on every load and  WorkFormStandard  includes UserWorkForm.

However if you want to call UserWorkFrom in your non auto-generated section add the below code in the HTML source.

<pega:include name="UserWorkForm"/>

Hope this helps.

Regards,

Priyabharathi