SharePoint List item ID

Is it possible to display the default ID of a SharePoint list in the edit form. I have used the mentioned JavaScript code but it still doesn’t work. My work environment is SharePoint O365.

<script type="text/javascript" src=""></script> <script type="text/javascript"> $  (function() {   // Get the ID from the query string   var id = getQueryString()["ID"];    // Find the form's main table   var table = $  ('');    // Add a row with the ID in   table.prepend("<tr><td class='ms-formlabel'><h3 class='ms-standardheader'>ID</h3></td>" +             "<td class='ms-formbody'>" + id + "&nbsp;</td></tr>"); })  function getQueryString() {   var assoc = new Array();   var queryString = unescape(;   var keyValues = queryString.split('&');   for (var i in keyValues) {     var key = keyValues[i].split('=');     assoc[key[0]] = key[1];     }   return assoc; } </script> 

How do I create a REST call in SharePoint 2013 Designer to delete records from the Workflow History List?

I use the Workflow History List for debugging and the option of turning on debugging for flows that are in production. I would however like a workflow that purges the records in this list based by the workflow Name. I have created a workflow and a Delete HTTP request, but can’t get it to work. I can’t find any documentation on how to do this. What I have is

 [%Workflow Context:Current Site URL%]/_api/lists/GetByTitle('Workflow  

History’)?$ select=Id as my String in my Call

I get the following response code:


I think I’m getting it, but still don’t know how to put the pieces together. My understanding now is that I create a HTTP Rest to select the IDs of each record. Then I have to follow it with two more HTTP requests one to get the item and the other to delete the item. It is these later two that I don’t know how to do. Am I on the right track?

SharePoint Online – Find all Infopath Forms in all sitecollection with csv?

I am looking for some help here.

I have a need to find all infopath forms in a SharePoint online environment. I need to run through all site collections (alot of them) and write to csv file for review. I have noticed there is a powershell script here: infopath script how ever when I run it it keeps prompting me for login details for the next site collection. I have so many site collections is there anyway to stop this and keep running the script until the end automatically?. Also is there a way to output this to a csv file for review???


Robocopy to mappled SharePoint online document library

I mapped a SharePoint online document library(Y:) and was planning to use robocopy to synchronize a local directly to the library. The problem that I am enountering is that it always views the source(local) files as newer. I used /XO, /FFT, and /M and it still lists all source files as new and remote files as extra. If I actually attempt to copy it copies all of the files.

robocopy "S:\Job Descriptions" "Y:" /L /XO /FFT  

The conflicting files are the same size and have the same name while the local files are older. For example the modified date of the old file is 7/8/2016 and the new file 5/19/2019.

Any suggestions that could explain why robocopy is reporting this? Should I just use powershell instead?

SharePoint 2013 Formula Syntax: Choice Column Generates Number in Another Column

I am trying to make the following happen on a list: If a user selects “Most” as a choice, then another column will return as 1. If a user selects “Somewhat” then that column will return a .5. If a user selects “None” then that column will return a .0. Any advice on the formula syntax?

SharePoint Online Site Collection PropertyBag – how to apply crawled property to child content of site collection (e.g. documents in library)?

In my enterprise search page, I want users to be able to filter their results by choosing ‘site’ metadata. I’ve already setup a filter for site name using the ows_SiteName crawled property – it works great and it applies to the content of the site in search! But I have other metadata about each site that I want users to filter on – let’s use ‘Client’ as an example. I’ve setup this other metadata as properties in the Site Collection PropertyBag and marked them as indexable. This works! I mapped the crawled property to a managed property, and setup my filter to include this property. This works to an extent but the property only seems to filter results from search which are ‘sites’. I want the filter to also apply to the content of my site (e.g. documents in a library).

Is there a crosswalk of SharePoint add-in permissions description to their *actual* rights granted?

I’m a Sharepoint Farm Admin, and am in charge of permission reviews for requested Sharepoint add-ins. In the past, we have judged certain app requests as too permissive and denied them based on the description-only from the request itself.

My issue is our group does not fully agree upon what each description means. Therefore our assessments are inconsistent.

Example 1: “Let it access basic information about the users of this site”

(1) What basic information? userid, displayname, email, but not what…manager?

(2) Microsoft loosely switches between calling site collections “sites” and site/subsite “webs”. So will that mean users of the site collection or the subsite level?

I understand about policies UserOnly AppOnly, User+App; but since we only have access to the text description in the App Store, when is which policy applied?

Example 2: “Let it create or delete document libraries and lists in this site collection.” (DOCUSIGN FOR SHAREPOINT)

The implication is that is User+App based on other “Let it…” permissions. But because it is for signing documents, doesn’t feel right that it would require the USER to have list management rights to function as expected.