Question

In SharePoint 2010, I have a document library in which I want to add a calculated column, which references the Name of the document. Entering the following formula works fine:

=[Title]

But I can't seem to be able to reference the [Name] field - I'm guessing because it is hidden? i.e. entering any of the following formulas:

=[Name]
=[LinkFilename]
=[BaseName]
=[NameOrTitle]

Causes:

The formula refers to a column that does not exist. Check the formula for spelling mistakes or change the non-existing column to an existing column

The only thing I can think of is somehow making the Name field unhidden - but this feels a very dangerous thing to do fiddling around with system columns. Does anyone know of another way to achieve this?

Thanks

Was it helpful?

Solution

Name isn't Hidden and even if it was, tinkering with OOB fields is not advisable.

It's not allowing it because it's type is File.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top