Difference between title and title of Sharepoint document

My colleague has developed a workflow that automatically sets the title of a document. With this workflow, as he put it, he can optimize research and look for such things. However, I think this can only be done by the name of the document. There must be some kind of story behind this. Can someone help me here? Thank you

+3
source share
2 answers

The "title" is the field of the object in the database. A "name" is what uniquely identifies the SPFile underlying the document. So you can think of Title as quite arbitrary; you can change it the same way you would change any other property (description, etc.), but if you change the name, it is akin to moving the file. Names must be unique in folders / websites.

+8
source

From the properties of the SPFile on MSDN :

  • Name: Gets the name of the file, including the extension.
  • Title: Gets the display name of the file.

"" . , MyDocument.docx, 'Name' MyDocument.docx. name , , http://myserver.com/MyWeb/default.aspx, "MyDocuments", http://myserver.com/MyWeb/MyDocuments/MyDocument.docx. NewDocument.docx, http://myserver.com/MyWeb/MyDocuments/NewDocument.docx.

"" - , . - , . - .

- - (), .

+5

Source: https://habr.com/ru/post/1702794/


All Articles