Question

11
Replies
5580
Views
Close popover
Upendra Kumar Bajji (UpendraKumar)
Incessant Technologies

Incessant Technologies
AU
UpendraKumar Member since 2015 1 post
Incessant Technologies
Posted: November 12, 2015
Last activity: December 18, 2015
Closed
Solved

On Click event actions not working via HTML rule.

Hello,

Can anyone please suggest me which are the OOTB scripts to include in HTML rule for making Onclick actions work ?

Issue: - On Click event actions not working via HTML rule.  [Note: I cannot use Harness since there seems to be a conflict between OOTB PRPC JS ( pzpega_ui_backbone) and external api Js ( ESRI arcgis/ dojo) which is making map not to load]

PRPC Version - 7.1.7

Scenario -

Harness -> Section - > Button configured in a section has Run Activity as On click action.

Activity has Show-HTML step passing HTML rule as parameter.

In the HTML rule, I have included section which has a Link control with an on click event and action configured. When I click on that link, nothing happens.

Sample HTML Code --

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

  <head>

      <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

      <meta http-equiv="imagetoolbar" content="no" />

      <pega:include name="DesktopWrapperInclude"/>

      <pega:include name="CompositeAPIInclude"/>

    <pega:static type="script" app="webwb">

      <pega:bundle name="pzpega_ui_jquery" />

      <pega:bundle name="pega_ui_harness" />

      <pega:bundle name="pega_ui_harness_deferred" />

      <pega:bundle name="pzpega_ui_designer_tree_bundle" />

      <pega:bundle name="pzpega_ui_jstree" />

      <pega:bundle name="pzPega_control_menu_scripts" />

      <pega:bundle name="LayoutIncludes" />

      <pega:bundle name="documentInfo" />

    </pega:static>

<script type="text/javascript" src="webwb/pzPega_ui_grid.js"></script>

<script type="text/javascript" src="webwb/pzPega_ui_grid_dragdrop.js"></script>

<script type="text/javascript" src="webwb/pzpega_desktop_eventmanager.js"></script>

<script type="text/javascript" src="webwb/pega_desktop_docgadget.js"></script>

<script type="text/javascript" src="webwb/pega_desktop_harnessviewtabs.js"></script>

</head>

<body>

<div>

<%tools.appendString(pzAuto.getSection().getSectionStream("MySection","",false,"ABC-FW-Work"));%>

</div>

</body>

</html>

MySection in ABC-FW-Work class has a layout with OOTB Link control configured with Onclick event and any action (ex: Run Data transform).

User Experience
Moderation Team has archived post