Showing results for 
Search instead for 
Did you mean: 
Advocate II
Advocate II

Open CDS PDF attachment in browser window or with PDF application


I am moving my SharePoint data sources to SQL and CDS.  I set up a Launch function to open a PDF Viewer file into a browser window and it worked fine.  Now I am using CDS attachments for PDFs, and I am having trouble.

My Launch function with SharePoint was: "Launch(Gallery4_1.Selected.AbsoluteUri)".

When I try to do the same function with CDS it opens a browser window: " with an error: "HTTP Error 401 - Unauthorized: Access is denied ".

Any help with this would be appreciated!  My backup plan would be to re-size PDF Viewer control with some kind of toggle to max size and smaller "thumbnail" view.






Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,038)