Question

78
Views
Andrey Ostrovskiy (AndreyOstrovskiy)
Masterdata
Pega Senior Developer
Masterdata
RU
AndreyOstrovskiy Member since 2017 4 posts
Masterdata
Posted: April 27, 2020
Last activity: April 27, 2020
Posted: 27 Apr 2020 7:29 EDT
Last activity: 27 Apr 2020 8:16 EDT
Closed

How HTML Fragment "CustomValidators" works in Cosmos UI?

Hello!

We are using Pega 8.4 with Cosmoc UI in it. In our application we have custom functions on javascript. They are added to HTML Fragment "CustomValidators".

When case has been load, on live UI we have structure like Review Harness and under it Perform Harness . With this structure HTML Fragment "CustomValidators" didn't load.

But, if on the left panel on the screen, we click on "Edit" button the HTML Fragment "CustomValidators" are loaded and the structure on live UI consists only Perform Harness .

Then we click "Actions" and go to our flow action. In this way validation works fine. But, if we refresh the section, HTML Fragment "CustomValidators" hasn't load again and nothing works. The structure on live UI again became Review Harness and under it Perform Harness . Some screenshots attached.

How can we implement, that HTML Fragment "CustomValidators" have to load, when case has been load?

Pega Platform 8.4 User Experience
Moderation Team has archived post, 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.