search chat play-circle-outline angle-down angle-right angle-left icon-menu

SharePoint Attachment Pop-Out (O365)

Attachment Pop-out

Attachment pop-out is a J Query script that enables a pop-out menu to display attachments without the need to open the form.

attachmentsclip

Step 1 – download the J Query script to the Site Assets Library, create a folder with the name of “Scripts”, or the destination of y0ur choice.

Downloads and Original Site Information

scriptsfldr

jsfile

Step 2 – Open the page/view you wish to have the pop-up appear.If the attachment column is not added to the current view, add it.

attachmentsclip

Step 3 – Edit the page and select the views properties. Gear on the top right > “Edit Page”.

editpageattach

Step 4 – Select the Web Part where the pop-out is to be enabled > In the top right select the arrow, in the pop-up menu select “Edit Web Part”.

editwebpartprop

Step 5 – Select Miscellaneous from the Web Part Properties, add this JS link relative URL in the JS Link Box. Click Apply and OK then save the page. A pop-out menu will appear when selcting the paper-clip in the attachments field.

“~site/SiteAssets/Scripts/ITSP.SP.AttachmentField.js” (No Quotes)

jslink

Additional and Important Information

Credited Blog
SP Attachment Object
SP.FieldLink object

%d bloggers like this: