Question
Virtusa
LK
Last activity: 27 Jul 2017 2:09 EDT
Set message to clipboard property using data transform
Is there a way to set message to property using a function in DT?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
IN
There are methods to set message on page pxAddMessageToPage (They are also referred in the pxErrorHandlingTemplate data transform as mentioned above). But if you are looking for specific message on a property, i am not sure if there are any.
There is an activity pxAddMessageToProperty, either you can use that activity or use the java code inside and create a reusable function out of it.
Let us know if this helps :)
BUPA
AU
Hi Sameera,
As per the CSSA 7.2 course, you should customize pxErrorHandlingTemplate data transform in your own class and ruleset to set page message
Virtusa
LK
thank you
Accepted Solution
Pegasystems Inc.
IN
There are methods to set message on page pxAddMessageToPage (They are also referred in the pxErrorHandlingTemplate data transform as mentioned above). But if you are looking for specific message on a property, i am not sure if there are any.
There is an activity pxAddMessageToProperty, either you can use that activity or use the java code inside and create a reusable function out of it.
Let us know if this helps :)
Virtusa
LK
thank you for the help
Accenture
IN
Is there any method to set message to a property on primary page. I could not do it using Data transform.
Pegasystems Inc.
IN
Easy way is to use an activity or DT.But as you said it is not possible at your end, brief us more about the scenario you are using.
Accenture
IN
Hi,
I have used Property-Set-Message to set message on a particular property on primary page.
I want to achieve same using DT. I have used "pxAddMessageToPage" to set the message. But it does a message set on page. I am concerned to set the message on a property using Data transform.
Thank you in advance for your help!!