# Include Rule-HTML-Section rules in Login page

**URL:** <https://forums.pega.com/t/include-rule-html-section-rules-in-login-page/7975>\
**Category:** User Experience\
**Tags:** 8-8-4, user-experience, pega-platform\
**Created:** [August 5, 2024, 7:36am UTC](https://forums.pega.com/t/include-rule-html-section-rules-in-login-page/7975 "2024-08-05T07:36:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SathishKumarJ17003558](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@SathishKumarJ17003558](https://forums.pega.com/u/SathishKumarJ17003558)\
**Post date:** [August 5, 2024, 7:36am UTC](https://forums.pega.com/t/include-rule-html-section-rules-in-login-page/7975/1 "2024-08-05T07:36:16Z")

</div>

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](https://forums.pega.com/uploads/short-url/o2AaHmVchvcxvANA7t90j8BCoR5.docx) (556 KB)

---

<div class="post-metadata">

**Author:** ![MarijeSchillern](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/marijeschillern/32/23321_2.png) [@MarijeSchillern](https://forums.pega.com/u/MarijeSchillern)\
**Post date:** [August 13, 2024, 4:13pm UTC](https://forums.pega.com/t/include-rule-html-section-rules-in-login-page/7975/2 "2024-08-13T16:13:16Z")

</div>

@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.

⚠ 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](https://support.pega.com/question/currently-web-loginhtml-file-used-modify-pega-login-page-html-and-css-there-way-build)

---

<div class="post-metadata">

**Author:** ![SathishKumarJ17003558](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@SathishKumarJ17003558](https://forums.pega.com/u/SathishKumarJ17003558)\
**Post date:** [August 15, 2024, 12:46am UTC](https://forums.pega.com/t/include-rule-html-section-rules-in-login-page/7975/3 "2024-08-15T00:46:54Z")

</div>

@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?

---

<div class="post-metadata">

**Author:** ![MarijeSchillern](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/marijeschillern/32/23321_2.png) [@MarijeSchillern](https://forums.pega.com/u/MarijeSchillern)\
**Post date:** [August 15, 2024, 8:47am UTC](https://forums.pega.com/t/include-rule-html-section-rules-in-login-page/7975/4 "2024-08-15T08:47:45Z")

</div>

@SathishKumarJ17003558 I do not know the answer to that.

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

⚠ 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](https://support.pega.com/discussion/clipboard-page-property-not-being-read-js)

[Passing JS Variable to JSP](https://support.pega.com/question/passing-js-variable-jsp)

[Refrring clipboard property in JSP rule](https://support.pega.com/question/refrring-clipboard-property-jsp-rule)
