Ever wonder how you can calculate the age of the list items in SharePoint? The Today() function is not allowed in calculated fields, so what's the trick?
To find the value in an InfoPath form, we had to take a different approach than when using the DispForm.aspx page.
As usual, we loaded the .js file in the SharePoint site via a document library, and used either Firefox or Chrome to find the id of the textbox or element that stored the value we wanted to put into localStorage.
1. First create the data source in your Datasets folder.
In my case, my dataset is called dsStatusDDL because I'm pulling a status field from a SharePoint list.First create the data source in your Datasets folder.
I had a request to create an autonumbering column in SharePoint 2010 for document numbering, and here is how we got the solution to work. I will use elementary school documents as an example.
The user could select one of up to 15 different school subjects when requesting a new document number, and the autonumber should stay in sync with the school subject...so there is no loss in the next available number for that particular school subject.
This is why I can't simply use the ID column that's associated with every list and append that to the eventual variable in a workflow.