
When you make a search in SharePoint, the title hits are displayed on top. In SharePoint lists, the title is mandatory to fill out and is therefore never overlooked. In document libraries, however, the title is rather hidden, and it is a common problem that files are not given a title at all, or have non-descriptive, automatically set titles like "Document" that does not help the search at all.

An easy way to solve the title problem is to let a flow set the value in the Title column to the same as in the Name column. The name is hopefully relevant, so this flow solves the problems with non-existing as well as irrelevant titles.
In the demo above, I have used the trigger "when an item is created or modified". This trigger is suitable to use in a library that already contains a lot of files that need to have a better title. In Edit mode, you can just add a dummy title and then drag it down the Title column of all files. They are then modified, and the flow will update the column and replace each dummy title with the value in the file's Name column.

If you prefer to use a workflow, I have a Tips article with demos on both a list workflow and a reusable workflow that set the title to the same as the file name in SharePoint document libraries.
By Peter Kalmström
CEO and Systems Designer
kalmstrom.com Business Solutions
No comments:
Post a Comment