Reputation: 650
A SharePoint list needs a new column "ColumnA".
I want this column to have a constant value = "Constant".
How do I do this?
What I have tried?
Add a column with a calculated value like:
="Constant"
And multiple variations of this expression, but it doesn't matter because the new column is created empty.
Thanks for helping!
Upvotes: 0
Views: 894
Reputation: 11
Try placing your value in Calculated Column instead of calculated value.
This way the value is read only and you can show the column with no risk of it being changed in quick edit.
Calculated (calculation based on other column)
Formula
section.For string value use parentheses..
Upvotes: 0
Reputation: 48
You could set the column to hidden (content type settings in list settings) and provide a default value for the column. This will not prevent users from changing the value via quick edit, you could disable quick edit via the list settings to avoid this.
Upvotes: 0