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