About this article
This article explains how to create a (dynamic) hyperlink in a PowerPoint presentation.
Prerequisites
|
Creating a hyperlink
A hyperlink can be static or dynamic. In case of a dynamic hyperlink the value can be retrieved from a form field, user profile field or data source.
Examples
Example 1
In this example a static hyperlink is created that opens the 'MyCompany' website.
- Create a template. In the template, in a placeholder or shape, type the text 'Click here for more information.'.
- Select the text 'here' then right-click the selected text and click
Link
in the menu.
- In the
Insert Hyperlink
dialog, in theAddress
field, type 'https://www.mycompany.com/'. - Click
Ok
. - Save the template and upload it to the Admin Center.
- When a presentation is created and the link is clicked, the website will open in a browser.
Example 2
In this example a dynamic hyperlink is created that opens a website based on the value of a form field.
- Create a template. On the Form tab create a
Text
form field.
- In the field
Question title
type 'Website'. - In the field
Helptext postfix
type 'Type a URL including 'http://' or 'https://''.
- Click
Add to form
.
- In the template, select a placeholder or create a (rectangle) shape and select it.
- In Template Designer, on the Template tab, click
Custom inline binding
.
Optional: enableAllow updates
.
- Click
Add to template
. The Template tab now shows the added custom inline binding:
- Each custom inline binding will have a unique name on the Template tab. In the example above the name of the custom inline binding is
slide/256/shape/9
.
- Each custom inline binding will have a unique name on the Template tab. In the example above the name of the custom inline binding is
- In the placeholder (or shape) from step 5, type the text 'Click here for more information.'.
- Select the text 'here' then right-click the selected text and click
Link
in the menu.
- In the
Insert Hyperlink
dialog, in theAddress
field, type '{{Form.Website}}': -
Click
Ok
.
- If you open
Insert Hyperlink
dialog again, note that the address '{{Form.Website}}' has changed to '%7b%7bForm.Website%7d%7d'. You can ignore this.
- If you open
- Save the template and upload it to the Admin Center.
-
When a presentation is created and the link is clicked, the website will open in a browser.
When the user types 'https://www.mycompany.com' in the composer, that becomes the hyperlink for the text 'here'. When the user types 'https://support.mycompany.com' in the composer, that becomes the hyperlink:
- The text 'http://' or 'https://' needs to be included. If omitted the message 'The address of this site is not valid' is shown when the link is clicked.
Example 3
In this example a dynamic hyperlink is created that opens the website in Dutch or English, depending on the office selected in the user profile.
The user profile contains a dropdown field named Office
that is linked to the Offices data source below:
- Create a template and insert a (rectangle) shape.
- Select the shape, then in Template Designer, on the Template tab, click
Custom inline binding
.
Optional: enableAllow updates
.
- Click
Add to template
.
- In the shape type the text 'Click here for more information.'. Change the color of the shape to green and the text color to white. The result looks like this:
- In the shape, select the text 'here' then right-click the selected text and click
Link
in the menu.
-
In the
Insert Hyperlink
dialog, in theAddress
field, type '{{UserProfile.Office.Website}}'. This links the hyperlink to theWebsite
column of the data source:
-
Click
Ok
.
- If you open
Insert Hyperlink
dialog again, note that the address '{{UserProfile.Office.Website}}' has changed to '%7b%7bUserProfile.Office.Website%7d%7d'. You can ignore this.
- If you open
- The result looks like this:
- Save the template and upload it to the Admin Center.
-
When a presentation is created and the link is clicked, the website will open in a browser.
When 'Office Eindhoven' is set in the user profile, the link will open 'https://www.mycompany.com/nl-nl' as shown in the image below. When the office is set to 'Office New York', the link becomes 'https://www.mycompany.com/en-us':
Example 4
In this example a dynamic hyperlink is created that uses the URL found in Website
column from Office New York in the Offices data source using the Datasources[] function:
- In the template, select a placeholder or create a (rectangle) shape and select it.
- In Template Designer, on the Template tab, click
Custom inline binding
.
Optional: enableAllow updates
.
- Click
Add to template
.
- In the placeholder (or shape) type the text 'Click here for more information.'.
- Select the text 'here' then right-click the selected text and click
Link
in the menu.
- In the
Insert Hyperlink
dialog, in theAddress
field, type '{{DataSources.Offices["Office New York"].Website}}'. -
Click
Ok
.
- If you open
Insert Hyperlink
dialog again, note that the address '{{DataSources.Offices["Office New York"].Website}}' has changed to '%7b%7bDataSources.Offices%5b%22Office%20New%20York%22%5d.Website%7d%7d'. You can ignore this.
- If you open
- Save the template and upload it to the Admin Center.
-
When a presentation is created and the link is clicked, the website 'https://www.mycompany.com/en-us' will open in a browser.
Related articles
Comments
Article is closed for comments.