Question

2
Replies
1027
Views
DmitryK3577 Member since 2017 37 posts
TN
Posted: 2 years ago
Last activity: 2 years 1 month ago
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.
Low-Code App Development Dev/Designer Studio Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn