New answers tagged

0

When creating the modal dialog, in the options just try setting the URL to the location to the PDF file. I haven't tried this myself with a PDF file but it should work: var options = { title: "Modal title", url: "/site/documentlibrary/document.pdf", }; SP.SOD.execute('sp.ui.dialog.js', 'SP.UI.ModalDialog.showModalDialog', options);


1

The answer I have found is that Chrome prevents hyperlinks from working in the Word web app unless you have the IETab extension installed in Chrome (and you are using it).


0

I tried the aforementioned solution mentioned at wowsomuch by saving the script as a file and linking it to a Content Editor web part on the page with the template links and found the following. It only works for me, sort of, in 2 of 3 scenarios: manual link : works * library web part : works * content query web part: does not work a window is displayed ...


0

Discovered this was not needed. The problem was I was using a like directly to the template to create new documents for the Document Library, as I was needing the template macro enabled. It appeared that my macros were not starting correctly. Further examination showed the macros were correctly enabled after all, just not properly picked up by the AutoNew ...


2

SharePoint is simply hiding the view files and the template file for you in usual GUI mode, as there is no reason for them to be visible in a document library. In Explorer View however, everything is visible, including the Forms folder, view files and template file.


0

Ok, i found the solution myself so i will answer here. The problem was that the folder was created as the "custom_document_set" content type that we are using in our environment instead of "folder" document set which should get applied when creating a folder. It happens during the site creation script that we have which causes the folder to retrieve the ...


2

Another option could be a content query web part. You can configure the web part to get documents from your library and apply condition to show recently modified documents. You can point web part to a document library in parent site or even in sub site. This web part is also OOTB web part.



Top 50 recent answers are included