Which Script Displays Text along with a Field from an Activity using a Reference Label?

How Can We Help?

< Back

Answer

The Script to display text along with a field from an activity, without having to play around with styling is as follows:

public void RD4050ApprovNotRefLab_OnLoad()
{
activity.SetControlValue("RD4050ApprovNotRefLab", "Your internal sale has been approved by "+activity.GetControlValue("RD20CurrentUser"));
}
public void RD4050ApprovNotRefLab_OnRefresh()
{
activity.SetControlValue("RD4050ApprovNotRefLab", "Your internal sale has been approved by "+activity.GetControlValue("RD20CurrentUser"));
}
Comments are closed.

This is the legacy version of the XMPro Documentation site. For the latest XMPro documentation, please visit documentation.xmpro.com

X