Discussion

2
Replies
2633
Views
X
AAKASH2011 Member since 2012 4 posts
Capgemini India Pvt. Limited
Posted: 3 years ago
Last activity: 3 years 7 months ago
Closed

Design popup from from activity with close and action button.

Hi All ,

Below code is used for display with popup from from activity with close and action button as well as header and some extra messages.

Use either Show-HTML or Show-Stream method in activity.

Here 'Reject' is the action button and 'close' is the close button for closeing the popup.

 

 

<pega:include name="SafeURLInclude" type="Rule-HTML-Fragment" />
<script type='text/javascript'>

function  RejectCase()
{

var oUrl = new SafeURL("ClassName.ActivityName");
window.open(oUrl.toURL(),'abc');
window.close();

function CancelRequest()
{
window.close();
}

</script>

<title> Please Confirm and proceed </title>
<header>
<p>The Profile for this Case ID is not REJECTED in DDBS. Do you still want to REJECT this Case ID from RCT ? </p>
<br>
<p> </p>
<br>
<p>Click  "REJECT" to Reject the Case in RCT.This will cause a discrepancy in the status with DDBS</p><br>
<p>Click  "CANCEl" to cancel this request</p>
</header>
<table width='50%' cellpadding='0px' cellspacing='0px'>
        <tr>
        <td><button onclick='RejectCase()' type="button">REJECT</button></td><td><button onclick='CancelRequest()' type="button">CANCEL</button></td>
  </tr>
  </table>

***Updated by moderator: Lochan to update Categories***

Data Integration Java and Activities User Interface
Moderation Team has archived post
Share this page LinkedIn