Question

2
Replies
1162
Views
Close popover
Dmitry Kristalov (DmitryK3577)
TN

TN
RU
DmitryK3577 Member since 2017 38 posts
TN
Posted: August 3, 2018
Last activity: August 8, 2018
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.
Enterprise Application Development Dev/Designer Studio Data Integration Java and Activities
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.