How can we help you today?

Known Issue: URL Is Not Accessible When Using the File List Design Element

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.


automatic download


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:


example


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:

Add Column


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

text and next


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

URL and save


Step 2: Add the URL of the URL file

  • Select Edit in Grid View:


Edit in Grid View


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

write url


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

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:

Edit


  • Click the close icon:

close icon


  • Click the ShortPoint tag:


ShortPoint tag

  • Select the Edit Properties icon:

Edit properties icon


Step 2: Switch to Grid Mode

  • Click the Switch to Grid Mode icon:

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:

cogwheel icon


Step 4: Disconnect REST API

  • Go to the Connected tab:


Connected tab

  • Click Disconnect:

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:

paste


  • Click Connect:


Connect


Step 6: Map Items

  • Go to the Items tab:


Items tab


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

link icon


Step 7: Save

  • Click Update:

Update


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


eye icon

  • Click Save to apply your changes:

Save


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


Related articles:

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

World's best intranet sites are designed using ShortPoint

Get started today! Learn more
See all 34 topics

Start a trial

Ignite your vision. Install ShortPoint directly on your site, or play in sandbox mode. No credit card required.

Get started today

World’s best intranet sites are designed using ShortPoint

Thousands of companies using ShortPoint everyday to design, brand and build award winning intranet sites.

Get started Learn more