URL Field attribute types
To add a hypertext link to grids and forms, you use the URL Field attribute. For grids, you can specify a link to a URL for each row that gets added to the grid.
For URL Field attributes, you specify database columns that hold the actual URL (DB Column for URL) and the link text that displays in the final grid or form (Database Column).
For example, suppose that you have a grid that contains vendor data, and for each vendor you are required to specify a website for the vendor. In the Forms Editor, you can create a URL Field attribute as follows.
Field | Value | Description |
---|---|---|
Attribute Type | URL Field | Specifies the URL Field attribute type. |
Attribute Internal Name | vendorURL | Unique identifier for the attribute. |
Attribute Display Name | Vendor URL | The label that appears in the user interface. |
Attribute Database Column Name | textURL | The database column added to hold the display text for the link. |
DB Column for URL | linkURL | The database column added to hold the actual URL. You do not have to enter http://. For example, to link to Google, you can enter either www.google.com or http://www.google.com. |
After you set up an object in Unica Plan that uses this form, users who add grid rows or populate a form specify a URL. In a grid, users can specify a URL for each row. Users can then click a link to open the website in a new window.