<config evaluator="node-type" condition="csf:customFolderType">
<navigation>
<override from-view-id="/jsp/browse/browse.jsp" to-view-id="/jsp/browse/custombrowse.jsp" />
</navigation>
</config>
Ce que je veux, c'est afficher le doclist selon le traitement suivant:
Si le dossier est de type customFolder:
Ne pas utiliser le "widgets.dataSource" et le "widgets.dataTable"
mais créer une iframe dans la zone doclist du WS documentlist.get.html.ftl
et cette iframe fera appel à un WS que j’ai développé.
Sinon:
Utiliser le "widgets.dataSource" et le "widgets.dataTable"
Ma question maintenant, comment pourrais je récupérer le nodeRef du nœud courant ou parent dans le fichier documentlist.js :?:
var recordFound = this._findRecordByParameter(pathName, "fileName");
var nodeRef = recordFound.getData("nodeRef");
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
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.