Hello,
I want that each time a user open a text file (only file with the extension '.txt'), he automaticly enter inline edit mode instead of landing on the file default details page.
Any ideas or tips ?
You can customise the title line renderer via Share configuration + custom client-side JS, and generate a link to the inline-edit page instead of the document details page. Configuring metadata templates and registering custom renderers is documented in https://docs.alfresco.com/6.2/tasks/dev-extensions-share-tutorials-add-metadata-template-doclib.html - what is NOT documented unfortunately is the support of the <title> renderer, but this can be seen in the relevant source code, e.g. surf-doclist.lib.js (https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-webscripts/org/...) and documentlist-view-details.js (https://github.com/Alfresco/share/blob/master/share/src/main/webapp/components/documentlibrary/docum...). Be aware though that by providing a custom title renderer, you will lose the ability to rename the file in-situ, and there might be minor styling differences.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.