This article is for you if:
- You are using REST API to connect a File List Design Element to a particular SharePoint Library.
- You have URL file(s) in your SharePoint Library.
- You want to be able to open the URL file in your browser.
TABLE OF CONTENTS
Issue
When connecting a File List to a SharePoint Library using REST API, clicking URL files will trigger an automatic download instead of opening them in your browser.

We have provided a step-by-step guide in the workaround section to help you open URL files in your browser. Below is an example of how it will look:
Workaround
To resolve this, our developers have provided a workaround. Follow the steps below to learn how:
Part 1: Add a URL
This part will demonstrate how to add a URL to your SharePoint Library.
Step 1: Create a URL Column
- Go to the SharePoint Library where your File List is connected and select +Add Column:

- Select [1] Text and click [2] Next:

- Name your column as [1] “URL” and click [2] Save:

Step 2: Add the URL of the URL file
- Select Edit in Grid View:

- Under the URL column, write the URL of the URL file:

NOTEIf you have more than one URL files, simply repeat the steps above.
- Click Exit Grid View:

Part 2: Reconnect Rest API
This part will demonstrate how to reconnect the Rest API so that changes made in the first part will be applied.
Step 1: Edit the ShortPoint Web Part
- Go to your SharePoint page and click Edit:

- Click the close icon:

- Click the ShortPoint tag:

- Select the Edit Properties icon:

Step 2: Switch to Grid Mode
- Click the Switch to Grid Mode icon:

Step 3: Edit the Connected File List
- Find your connected File List, hover over it, and click the cogwheel icon:

Step 4: Disconnect REST API
- Go to the Connected tab:

- Click Disconnect:

Step 5: Edit REST API URL
- Copy the string below:
?$select=*&$expand=Author,ListItemAllFields
- Paste the string at the end of the Rest API URL:

- Click Connect:

Step 6: Map Items
- Go to the Items tab:

- In the Link field, use the [1] link icon to select [2] #ListItemAllFields__URL and #LinkingUrl from the drop-down:

Step 7: Save
- Click Update:

- Click the eye icon to see your page in real-time:

- Click Save to apply your changes:

That’s it! Your URL files should open in your browser.
Related articles:
