


Make sure this action has the following fields set:.Select the site in question, then copy and paste the List Name from the previous action.
PHP MAKER CALCULATED COLUMN UPDATE
Press + New step, start typing “update item”, select the update item action from the selection.Step 1 of the Populate Solution Request Flow Flow: update item In the “when a new item is added” step, make sure the site address and list name are the same as the list you built the custom ID column for earlier.Give your Flow a name, I called mine “Populate Solution Request Number”.Create a new flow from the template “when a new item is created, complete a custom action”.Build the Flow Flow action: when a new item is created NOTE: for the Request Number formula if you want to prefix your custom ID with something else just replace what’s between the ” “ in the formula field above. Setting the formula for the solReqNum column in list settings For the Data Type, select Single line of text.In the formula field, add the following: ="SOL-00"&.Create a new column, with the type Calculated – I called this ‘solReqNum‘, later renamed ‘Request Number’.Create a new column, with the type Number – I called this ‘ solIncrementNum‘.Pre-requisitesīefore you begin you will naturally need to create either a list or library in SharePoint, and the relevant apps checked as part of your O365 license. The problem with this approach is that when new items are added, the ID appears to “slip” resulting in the custom ID column having no ID number being pulled from the SharePoint ID. My first attempt at creating a custom ID column involved creating a new calculated column, and appending some text before the ID and then inserting the ID column into the formula, like this: ="REQ-00"& However, creating a simple calculated column that leverages the in-built ID column is not as easy as it seems. My first thought when this is required is “easy, we can just use the SharePoint item ID column and use that”. ID numbers, reference numbers, ticket numbers…this is something that regularly gets asked to be a part of any SharePoint solution or request based system.
