How to create dynamic hyper links in Oracle Primavera Unifier
Step 1: Create Hyperlink Element
- Go to Data Structure Setup > Data Elements
- Click New
- Set Data Definition Source to Hyperlink Picker
- Click OK
Step 2: Create String Element for Hyperlink Label
- Go to Data Structure Setup > Data Elements
- Click New
- Set Data Definition Source to Sys Short Description Text 250
- Set Name Hyperlink Label
- Click OK
Step 3: Create String Element for Hyperlink address
- Go to Data Structure Setup > Data Elements
- Click New
- Set Data Definition Source to Sys Short Description Text 250
- Set Name Hyperlink address
- Click OK
Step 4: Create String Element for Hyperlink address base
- Go to Data Structure Setup > Data Elements
- Click New
- Set Data Definition Source to Sys Short Description Text 250
- Set Name Hyperlink address base
- Click OK
Step 5: Add link to Form
- Go to a Form in uDesigner.
- Select an empty field
- Click Custom
- Selected created element in step 1, step 2, step 3, step 4
- Click save
How hyperlinks work
Hyperlinks are two parts, the first part represents the address, the second part represents the display name of the link. The two are separated by a space. So in the database it looks like "http://link.com Link Name"(<hyperlink> <label>). So when you use a formula, you need to create two elements, one to hold the hyperlink address, and another to hold Hyperlink label. When you add the two in a formula, you just separate them with a space, and you have a hyperlink.
Step 6: Configure hyperlink address base
- Click Properties
- Select hyperlink address base
- Click Auto-Populate
- Set source name to Constant Value
Step 7: Configure hyperlink address
- Click Properties
- Select hyperlink address
- Click Formula
- Select hyperlink address base
- Click Add Parameter
- click ()
- Add field that has parameter (option)
- Click OK
Step 8: Configure hyperlink label
- Click Properties
- Select hyperlink label
- Click Auto-Populate
- Set source name to Constant Value
- Set value to whatever you want the link to say.
Step 9: Configure hyperlink
- Click Properties
- Select hyperlink
- Click Formula
- Change delimiter to Space( ) the one with a space in it
- Select Hyperlink Address
- Click Add Parameter
- click ( )
- Select Hyperlink Label
- Click Add Parameter
- Click OK