Link URL Control

Control Description

The Link URL Control in ProcessMaker's email screens provides a way for users to embed clickable links within email notifications. This feature allows users to add a link button to their email templates, specifying both the label and target URL. Upon clicking the link, recipients are redirected to the designated URL, facilitating easy access to relevant forms, web pages or resources directly from their email.

This control is only available for the Email-type Screen. See Screen Types.

Add the Control to a Screen

Permissions

Your user account or group membership must have the following permissions to design a Screen unless your user account has the Make this user a Super Admin setting selected:

  • Screens: Edit Screens

  • Screens: View Screens

See the Screens permissions or ask your Administrator for assistance.

Follow these steps to add this control to the Screen:

  1. Create a new Email-type Screen or edit an existing one.

  2. From the Controls Menu on the left, expand the Content Fields category, and then locate the Link URL icon .

  3. Drag  and drop the control to the Screen Builder canvas. Existing controls in the Screen will adjust positioning based on where you drag the control.

  4. Configure the Link URL control. See Settings.

  5. Validate that the control is configured correctly. See Validate Your Screen.

Settings

The Link URL control has the following configurable settings in the Properties Panel:

Variable Panel Settings

Expand the Variable panel from the Properties Panel on the right to configure the following properties.

Label

Edit the default label that displays for this control if necessary. New Link is the default value.

Link URL

Enter the URL to display when a user clicks on this link.  Variable values are allowed through mustache syntax. For example:

https://processmaker.net/webentry/request/{{ request.id }}/node6

Design Panel Settings

Expand the Design panel from the Properties Panel on the right to configure the following properties:

Button Variant Style

Select the style for the Submit Button control. The style changes the control's appearance but otherwise has no functional difference. Select from the following options:

  • Primary: Blue-colored background with white-colored Label text. This is the default option.

  • Secondary: Gray-colored background with white-colored Label text.

  • Success: Green-colored background with white-colored Label text.

  • Danger: Red-colored background with white-colored Label text.

  • Warning: Yellow-colored background with black-colored Label text.

  • Info: Teal-colored background with white-colored Label text.

  • Light: White-colored background with black-colored Label text.

  • Dark: Black-colored background with white-colored Label text.

  • Link: White-colored background with blue-colored Label text.

Advanced Panel Settings

Expand the Advanced panel from the Properties Panel on the right to configure the following properties:

Visibility Rule

Specify an expression that indicates the condition(s) under which this control displays. See Expression Syntax Components. If this setting does not have an expression, then this control displays by default.

For example, this control displays if the variable value tip is 1.

Visibility Rules

Device Visibility

Select on which device types this control displays:

  • Desktop: The control displays only on desktop devices. Enable the Show for Desktop toggle key.

  • Mobile: The control displays only on mobile devices. Enable the Show for Mobile toggle key.

  • Both: The control displays on both desktop and mobile devices. Both toggle keys are enabled by default.

CSS Selector Name

Enter the value to represent this control in custom CSS syntax when in Custom CSS mode. As a best practice, use the same CSS Selector Name value on different controls of the same type to apply the same custom CSS style to all those controls.

Then, use this name in the Custom CSS feature to apply CSS styling to this control as follows:

[selector='Link Email'] {
    color: blueviolet;
}

CSS Best Bractices