I am need of some advice, the costumer wants a library list of document and a link to one of those documents is selected they are then routed onto a new page (a new URL) where they can view the document (PDF) and then download that document. They want the ability to copy the URL of a document and post it for direct access to people rather than sharing the library URL and people having to navigate through to locate 1 specific document.
My questions are:
1) The amount of documents will range from 25 to 30, which will mean about 30 pages (hidden of course) for each of the documents. Will this affect the performance or memory in a negative way?
2) Is there a better way of doing this?
I have integrated SharePoint to store the documents so storage memory is not an issue. The main goal is being able to share the location from any specific document from the 30 or so documents. Thank you all, I hope someone has attempted this.
Unless I am getting something wrong, you won't have 30 pages.. you will have:
how far did you get with your requirement?
Power Pages Super User | MVP
Thank you, I came up with a work-around. I created a new record for each individual document. see below
I named the record the same name as the document. So the user will select the record (to them its the document) and a pop-up appears for them to download the document. I realized if you right click on the document, the document url can be copied and shared. And yes they are saved on SharePoint
I created the records in the data tab
My last concern is that they want to see the document in the pop-up. Can a PDF file be embedded?
You will need to apply JS to embed the PDF in your Page/Entity Form:
https://stackoverflow.com/questions/291813/recommended-way-to-embed-pdf-in-html
Power Pages Super User | MVP