Tag Info

New answers tagged

0

You can use a plugin for tooltip, like Tooltipster (http://iamceege.github.io/tooltipster/). Using this, you can provide your content as a jQuery object in the script rather than in the title attribute, using the same description for all texts with same class.


1

The link you refer has your answer, with only a small tweak, if you are in SP2013. Your url should be as follows: https://yoursite/_layouts/15/Upload.aspx?List={XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} Note that 2013 uses /_layouts/15/Upload.aspx, whereas 2010 used /_layouts/Upload.aspx. You can get your library guid by going to the list settings for the ...


0

One reason default values sometimes don't update is because the checkbox for refreshing the default is not selected. Check the field's properties to see if this box is selected:


0

Finally I got a partial answer to my multiple questions in this post: -The explanation gave above is the way to go, I saved the file I want the link on in Site Assets and copy the URL toward the file. when adding the link in the content editor in the page, in the link tools tab appearing when adding a link, there is a check box to allow the link to be ...


0

Go to this link and check answer from tuddy86 Mod edit, copying content over so it isn't lost. This is how I managed to have a link to new document set form, thx! This is the script I needed to make it happen from javascript: <script type="text/javascript"> var list; var listRootFolder; ExecuteOrDelayUntilScriptLoaded(init, ...


1

I've also had trouble linking to shared drives in older SharePoint versions. It tends to flip all of my backslashes (\) to forward slashes (/), thus turning the file path into a URL. Sometimes this occurred while editing, sometimes after saving. To determine if this is the issue, hover over the link after saving or publishing to confirm all of your slashes ...


1

You can try several options: Option 1. Take ID from query string. You can use this code: JSRequest.EnsureSetup(); var idValue = JSRequest.QueryString["ID"]; This option is good it can work in all list, libraries or document sets. But if your Document Set will have folders inside it may not work, because ID will not be present in the URL. So here it is ...


0

You could create a Single Line of Text field named DocSetID, set it to Hidden under each content type, then create a separate workflow that runs whenever an item is modified. Have that workflow check if DocSetID = ID, and if not, set DocSetID to ID; then reference DocSetID in your script. Or, you could put the button portion of your code into an HTML ...


1

Why code? Documents are in a SharePoint Library so you can create a View which displays the single last document. If you library is on another site in your Site-Collection you have to use the Content Query Web Part to create that View. Same principle, sort descending, only display one item/document.


1

You can embed simple JS via Script Editor that will calculate link for the latest document. Code may look like: <div id="document-link"></div> <script> var baseUrl = location.protocol + "//" + location.host ; var odataUrl = baseUrl + ...


0

It seems unattainable as hyperlinks are static and the files are constantly changing. The easiest way out is to create a folder before the document and assign the folder hyperlink instead. For automated and more complicated way, you will need to use code wherein the hyperlink is generated on page load. The link will be based on the latest ModifiedBy value ...


0

You need to ensure that the relevant file (SP.UI.Dialog.js) has been loaded first. function openDialog(pageUrl) { var options = { url: pageUrl, title: 'Title of the Dialog', allowMaximize: false, showClose: true, width: 500, height: 500 }; SP.SOD.execute('sp.ui.dialog.js', 'SP.UI.ModalDialog.showModalDialog', options); } ...


0

I recommend you to use a simple interface like your propose, but store the links in a custom list. You can use Client Object Model, which is an API to interact with SharePoint using only JavaScript. You can see samples in MSDN in this link: Complete basic operations using JavaScript library code in SharePoint 2013 Form this article, this is an extract of ...


0

Hi finally got it working by using this workaround: https://social.technet.microsoft.com/Forums/sharepoint/en-US/ef224758-b613-48ca-8c19-8f6f3b02bb9e/how-to-single-click-hyperlink-in-visio-web-access-webpart-to-go-to-the-url?forum=sharepointcustomization Basically it is a JavaScript in a content editor webpart, which gets the URLs of the shapes in the ...



Top 50 recent answers are included