Question
Lanit BPM
RU
Posted: Aug 3, 2018
Last activity: Aug 8, 2018
Last activity: 8 Aug 2018 2:41 EDT
Closed
Passing the value of a variable from custom control to the clipboard
Good day!
I'm using Pega 7.3.1. My goal is to create input with autocomplite and later on, splitting the address line (city, street, house, etc.). I created custom control and it works as I need. But now, I can not pass the value of variables (city, street, house, etc.) to my clipboard. I use the following method:
var City;
City = suggestion.data.city;
<% tools.findPage ("pyWorkPage"). getProperty ("City"). setValue ("ThisMustBeVariable"); %>
But it conveys a value that I myself will enter. I tried:
.setValue (". City");
.setValue (.City);
.setValue (.suggestion.data.city);
In general, I do not know. I read the forum and learned that the transfer from js to pega is done through activity and data transform. But I do not know how to do it.
Thanks to all who read and leave the advice.