Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Calculating If then using ID column

$
0
0

I am new to SharePoint and tried to use the ID column as a unique identifier to new entries that are used for tracking and filing of hard copies.  Unfortunately it will work for awhile then it stops and causes a lot of confusion.  I have done this many different ways in an attempt to get it to stick, but it eventually "breaks" causing a lot of confusion among users as to what the proper assigned number is for the item.

I know that ID is only created after a document is saved which seems to be the main culprit of all my display issues.  Any suggestions as to how I can make it work?  I am already to far into it now to use anything else other then the ID that SharePoint assigns.  I won't be using it in future apps.

Currently I have this in 3 columns but ideally would like it in 1 or 2 calculated column.

First Column:  NDAID

This one has a workflow that runs when created or change that sets the NDAID to the CurrentItem:ID.

Second Column Calculated:  IDCal

=IF(ISBLANK(SP2010_ID),"NDA-"&TEXT([NDAID],"0000"),SP2010_ID)

Third Column Calculated:  ID Number (this is the one that the user references on the paperwork)

=IF(ISBLANK([Imported ID number]),[IDCal],[Imported ID number])

Thank you for any input or suggestions you might have.


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>