I have noted that there are 2 things in a DocType “Name” & “Title” which seem to be different things. Can anyone explain what the difference actually is? It would help to understand the mechanics in general to understand that
If you want a fixed title, you can set the rule in the Options property. In this way, the title will be automatically updated everytime the document is updated.
there is not example of such a rule in the Options. Do you happen to know what exactly you have to put in the Options.
Also, I don’t see any Options in the DocType Form itself so this addresses the Options property in each field, right?
@shraddha, the second link is not working.
And the first link just indicate how title works. But not really how to get a title that is different than the name.
@vrms, did you manage to better understand both and make it work for you?
I have posted here my problem for something similar.
@vrms I am creating my own app, basically an extension of the library tutorial as I want to better understand the frappe framework.
I am slowly figuring it out as I dig into the other doctype and see how they have done it. Soon I will repost it here to show how I have made it work.
name acts as the unique ID of the document’s items.
title is like the label that headlines the document on the screen (the Big Bold Title on top).
name should be unique. title can be duplicated.
you can set title to be assigned the name value (or you can set it to something else).