Forum Discussion

Re: Assign ID to another column within same item (without Flow)

Christoph1982 

 

There is no SharePoint out of the box way to store/save the value of ID in another column. Possible workarounds:

 

To store the value in another column:

 

  1. Using Power Automate flow/workflow - Recommended
  2. Calculated column with formula =[ID] - Not recommended (Works inconsistently)

 

To show the value in another column in document library/list view:

In SharePoint online modern experience, you can use JSON column formatting to show the value of ID column in another column in library/list view. Use below JSON for this:

 

{
   "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
   "elmType": "div",
   "txtContent": "[$ID]"
}

 


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

No RepliesBe the first to reply

Resources