Open pvgenuchten opened 6 years ago
Great idea, this would help our users enormously and prevent mistakes about which record is the one just saved
[image: Logo Gissupport] Gissupport Webbased Geografische Informatievoorziening Cor Melse Diederichslaan 19, 3971PA Driebergen-Rijsenburg Website Gissupport http://www.gissupport.nl | M: 0655736842
2018-01-25 15:19 GMT+01:00 paul van genuchten notifications@github.com:
Sometimes records are created, some fields modified and then validates correctly, but the title still has the default title from the template. To prevent this, users would like to start with a template with a blank title. However in that case the template can not be selected (by title) on the create metadata page.
Suggestion to allow to store a template without title, but in that case display 'no title' or similar in the create metadata screen
Alternatively, add a schematron rule to verify if the user has changed the default title.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/geonetwork/core-geonetwork/issues/2503, or mute the thread https://github.com/notifications/unsubscribe-auth/AT2YI3dTyPHNE5S0NcDXaSFqsd2MqVnvks5tOI1tgaJpZM4Rs6pf .
@josegar74 suggested to introduce an inflate process before opening the editor, which empties the title, but how can you differentiate on that when opening the first time versus opening other times?
On the client side, there is a "justCreated" location parameter. this could trigger title removal on client side ? Maybe better to do on server side as it may be hard to catch the input with the title on client side....
You can differentiate this, we're using such approach in a project. So the template has a meaningful name and when creating a new metadata the title is emptied using in the server a xslt.
I'll check to make a PR asap with this feature.
@josegar74, this approach only works for templates having a title hardcoded in some xslt? So not for any template a user may add?
Sometimes records are created, some fields modified and then validates correctly, but the title still has the default title from the template. To prevent this, users would like to start with a template with a blank title. However in that case the template can not be selected (by title) on the create metadata page.
Suggestion to allow to store a template without title, but in that case display 'no title' or similar in the create metadata screen
Alternatively, add a schematron rule to verify if the user has changed the default title.