Creating a dinamic URL from sharepoint to Iframe

Good afternoon Community. I have an application that uses the sharepoint module. In it I view PDF's using the widget "Iframe". Documents come in folders and when i open them I have the files that when clicked, automatically change in iframe. I need to create a dynamic url, where I can access the sharepoint module and view the pdf every click on the table by doing a search and returning the result in this table. How can I create these url's? Thanks in advance for the collaboration!!
0 answers