Question

18
Replies
6569
Views
AparnaGopakumar Member since 2015 29 posts
TCS
Posted: 3 years ago
Last activity: 3 years 9 months ago
Closed
Solved

Trying to refer to a clipboard property in a js , but not working

I am trying to refer to a clipboard property in a js file like below -

function launchSDP()

{

  var e1 = tools.findPage("Clipboardpage").getProperty("propertyname").toString();

  if(e1=="error" )

       {  pega.u.d.reloadsection("current");
       }

  else

      {  launch a harness;

      }

}

 

[ what am trying to do is -  if var e1 ="error"  then reload the section, otherwise launch a harness ]

 

The error lies with the first step for loading the var e1 . Maybe am doing this in incorrect way. Can anyone tell me what would be a correct way?

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

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