SharePoint and Office 365 offer different methods to load resource strings for multiple languages:
Weiterlesen „SharePoint: Get multiple or single resource strings using JSOM“
Kategorie: JSOM
JSOM: Increase Item / Document Usage
Some time ago I looked for a possibility to increase the usage counter of a SharePoint list item without opening the item in dialog or edit form. I knew the search has special properties for showing how often a list item / document / page has been opened (LifeTimeViews and RecentViews).
Weiterlesen „JSOM: Increase Item / Document Usage“
SharePoint 2013 to 2016 migration: Changed Javascript functions
For some reasons Microsoft has changed the functions in some of the default Javascript files in SharePoint 2016.
For example the CountDictionary function has moved from inplview.js to Core.js and is now called _CountDictionary.
So watch out when moving your solutions or apps from SharePoint 2013 to 2016 because there may be other functions gone missing in your code…
Load Resource file using Javascript
As described in this post you can load resource file string from your SharePoint filesystem using the ScriptResx.ashx file from layouts folder.
Weiterlesen „Load Resource file using Javascript“
Get ListItem by term guid using JSOM
Last week I showed how to get a ListItem using a terms guid (in combination with the term WSSID) using CSOM. The same approach can be done in JSOM.
Weiterlesen „Get ListItem by term guid using JSOM“
SharePoint direct download link and open in explorer link
Sometimes you may not want the users to open a document or file. Instead they should always download the file. In this case you can use the „/_layouts/15/download.aspx“ page. Linking this page in combination with the sourceUrl parameter always creates a file download.
Weiterlesen „SharePoint direct download link and open in explorer link“