Create Hyperlink, Open a New Tab and Open Outlook

Introduction

We will see a couple of small scenario tips in this article like creating hyperlinks using HTML text control, opening a new tab, navigating to links within and beyond SharePoint, and opening Outlook in particular formats.

Scenario

We will see how to create hyperlinks in PowerApps. Then we will see how to open any external sites from PowerApps and then how to open Outlook with to address for email recipients.

Objective

There are many tips and tricks or handy solutions that are required often in the project. So, we will few of them in this article.

Step 1. Hyperlink in PowerApps

By default, when the control is added, It gets added on the left top corner of the screen. We can reposition the HTMLtext control wherever required. We can also remove existing tags and text and rewrite our own text and tags, as shown below.

Hyperlink

In HTMLText control, we can write html tags and make link hyperlinks as shown below.

HTMLText control

Wherever we would like to navigate that formula should be written in On Select property. In the below screenshot, we see that there is an error. That is because the formula on OnSelect is not written. A note has been provided to sync the formula as per the need.

OnSelect

Step 2. Launch external sites

These external sites include any of the sites beyond SharePoint and within SharePoint. On click of Launch, the site opens in a new tab.

Launch external sites

Step 3. Open Outlook with To address

Below two approaches are shown to send email. In one only to address is mentioned. In another approach, along with to, subject and body are also shown.

Open Outlook

Tree view

Conclusion

We saw a few excellent tips. How to create hyperlinks using anchor tag, Launch external sites, Open Outlook with To recipients, Open Outlook with To, subject, body.


Similar Articles