cancel
Showing results for 
Search instead for 
Did you mean: 

Display WebDAV URL in Share 5.1 Community

hsahmed
Champ in-the-making
Champ in-the-making
I can't seem to find where to enable WebDAV URL display in share document properties. I have tried enabling repository-url in $ALFRESCO/tomcat/webapps/share/WEB-INF/classes/alfresco/share-documentlibrary-config.xml but didn't work. I do remember WebDAV URL being visible by default in some previous versions.
1 REPLY 1

sujaypillai
Confirmed Champ
Confirmed Champ
You may add below code snippet to display the webdav url -


     <config evaluator="string-compare" condition="DocLibActions">
        <actions>
            <action id="document-download-webdav" type="link" label="Download by WebDAV">
               <param name="href">{webdavUrl}</param>
            </action>
       </actions>
       <actionGroups>
          <actionGroup id="document-browse">
             <action index="111" id="document-download-webdav" />
          </actionGroup>
          <actionGroup id="document-details">
             <action index="111" id="document-download-webdav" />
          </actionGroup>
       </actionGroups>
      </config>


Refer the ScriptNode API for more information.