Browsed by
Year: 2014

Complete Guide to Making and Parsing REST calls using SharePoint Designer 2013

Complete Guide to Making and Parsing REST calls using SharePoint Designer 2013

Recently I needed a sequential workflow that makes a REST call to another website (non-SharePoint), retrieves some JSON data, parses it, and makes decisions based on that data. Oh, and I’m not allowed to use Visual Studio in this case, it has to be SharePoint Designer (ugh).

Read a SharePoint list using JavaScript

Read a SharePoint list using JavaScript

There are countless ways to read data from a SharePoint list, and also myriad methods to do this in JavaScript, but I’m going to document this one way as a place to get started, and a published function I can refer back to if needed! First consider the following: Reading SharePoint list data using JavaScript requires the SP.js file to be loaded already. So, we should be putting this function inside of a $(document).ready(function())}; and if needed inside an ExecuteOrDelayUntilScriptLoaded(functionName,…

Read More Read More

Manage Created & Modified info on custom form in XSLT

Manage Created & Modified info on custom form in XSLT

Just wanted to write this down so I don’t forget how to do this, if this helps someone else out even better! If you’re wanting to access the Created By, Created On, Modified By and Modified on information on a custom list form in SharePoint 2010 or 2013, you can do this using the SharePoint:CreatedModifiedInfo control and use the CustomTemplate element, like so: <SharePoint:CreatedModifiedInfo ControlMode=”Display” runat=”server”> <CustomTemplate> <SharePoint:FormField FieldName=”Author” runat=”server” ControlMode=”Display” DisableInputFieldLabel=”true” /> <SharePoint:FieldValue FieldName=”Created” runat=”server” ControlMode=”Display” DisableInputFieldLabel=”true”/> <SharePoint:FormField FieldName=”Editor”…

Read More Read More