Question

18
Replies
6826
Views
Close popover
Aparna Gopakumar (AparnaGopakumar)
TCS

TCS
IN
AparnaGopakumar Member since 2015 34 posts
TCS
Posted: November 23, 2016
Last activity: December 20, 2016
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 Experience
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.