Include Rule-HTML-Section rules in Login page

Hi Team,

Is it possible to include a standard Rule-HTML-Section rules in Web-Login HTML. I tried to including a section rule using the below code. However, during runtime, Unauthenticated user is unable to load this section in UI due to failure in pzAssemblePreprocess.

pzAssemblePreprocess activity is trying to execute another activity UpgradeSequoiaGrid in Embed-Harness-Section class. This activity - “UpgradeSequoiaGrid” - requires authentication to run. Hence, Unauthenticated user fails to run this activity. I have attached the requried screenshots. Has anyone faced this issue?

Your help is much appreciated.

Thanks,

Sathish

SignupPage_Error.docx (556 KB)

@SathishKumarJ17003558 It is not possible to include a harness in the web login since you are unauthenticated and do not have access to the CSS and JS files needed for correct harness rendering. You are mainly left with writing custom HTML. The issue arises because the activity “UpgradeSequoiaGrid” requires authentication to run, which unauthenticated users do not have. Therefore, custom HTML is the recommended approach for customizing the login page.

:warning: This is a GenAI-powered tool. All generated answers require validation against the provided references.

Currently web-login.html file is used to modify pega login page in HTML and CSS, I

@MarijeSchillern Thank you. We will do the same. One more doubt, In my custom HTML, we have a javascript variable that references a property in pxRequestor page. When the login HTML renders the property is null and the variable is set to null. But at the end of HTML, we are executing pyGeneratecaptcha activity to create Captcha which is updated in a property in pxRequestor page as well. Is it possible to fetch this latest property value from clipboard without refreshing the entire section?

Or Is it possible to call any function later to refer the latest clipboard value to the variable?

@SathishKumarJ17003558 I do not know the answer to that.

Below is information I found by going through previous forum posts:

:warning: This is a GenAI-powered answer . All generated answers require validation against the below references.

It is possible to include a standard Rule-HTML-Section in Web-Login HTML. To fetch the latest property value from the clipboard without refreshing the entire section, you can use a hidden input field to store the updated property value and then use JavaScript to retrieve this value dynamically.

To address your issue, you can use the Show-Property method in the activity you are calling from JavaScript to return the value of the property you need. This will return the property in the XML response to the JavaScript code. You can then implement a callback function to read the XML response and update your JavaScript variable with the latest property value from the clipboard. Here is an example of how you can implement the callback function:

*```javascript*

var callback = {\n success: function(oResponse) {

var IDs = oResponse.responseText;

// Process the IDs or update your variable here\n },\n failure: function(oResponse)

// Handle the failure case\n }

};

*```*

This approach allows you to fetch the latest property value from the clipboard without refreshing the entire section

Clipboard page property is not being read into js

Passing JS Variable to JSP

Refrring clipboard property in JSP rule