Question

5
Replies
4467
Views
MdKousik Member since 2015 25 posts
Cognizant
Posted: 4 years ago
Last activity: 4 years 3 months ago
Closed

How to call an activity from control

Hi,

I have a control where there is a URL. I need to update the URL property before calling it. I was trying with two methods:

To call another activity where I used property-set & use look up function from data table.

It didn't work for me:

<%
var bSafeURL= new SafeURL("BBT-SA-Foreclosure-Work.testact");
   pega.util.Connect.asyncRequest('GET', bSafeURL.toURL(),'');

%>

{when $mode-show}

<a href='javascript:var win = window.open("{$this-value}");'>SCRA Link</a>
{else}
{when $THIS:isBad}<img src="images/redflag.gif" alt="{$this-message}" id="PegaRULESErrorFlag" >{/when}
  <input id="{$this-definition(pyPropertyName)}" type=text value="{$this-value}" size="{ $this-definition(pyExpectedSize)}" maxlength="{$this-definition(pyMaxLength)} ">
{end}

Any idea with the syntax?

Thanks,

Kousik

User Interface Low-Code App Development
Moderation Team has archived post
Share this page LinkedIn