cancel
Showing results for 
Search instead for 
Did you mean: 

configure share document library action order

lessrandom
Champ in-the-making
Champ in-the-making
Hello,

i tried to change the order of the document library actions by modifying
share-config-custom.xml (see below)
but it seems the changes are ignored.
exluding actions wordk but ordering does not.

i am using Alf. 4.2c community edition

do you have any hints what's wrong?


….
   <config evaluator="string-compare" condition="DocLibActions">
   <actions>
   <action id="document-publish">
   <evaluator>evaluator.doclib.action.disableAction</evaluator></action>
   <action id="document-view-content">
   <evaluator>evaluator.doclib.action.disableAction</evaluator></action>
      <action id="document-move-to">
   <evaluator>evaluator.doclib.action.disableAction</evaluator></action>
   
   </actions>
            <actionGroup id="document-browse">
            <action index="100" id="document-download" />
            <action index="110" id="document-upload-new-version" />
            <action index="120" id="document-view-content" />
            <action index="130" id="document-locate" />
            <action index="140" id="document-edit-properties" />
            <action index="150" id="document-view-original" />
            <action index="160" id="document-view-working-copy" />
            <action index="170" id="document-approve" />
            <action index="180" id="document-reject" />
            <action index="190" id="document-inline-edit" />
            <action index="200" id="document-edit-online" />
            <action index="210" id="document-edit-offline" />
            <action index="220" id="document-view-googledoc" />
            <action index="230" id="document-checkout-to-googledocs" />
            <action index="240" id="document-checkin-from-googledocs" />
            <action index="250" id="document-copy-to" />
            <action index="260" id="document-move-to" />
            <action index="270" id="document-delete" />
            <action index="280" id="document-assign-workflow" />
            <action index="290" id="document-cancel-editing" />
            <action index="300" id="document-publish" />
            <action index="310" id="document-view-googlemaps" />
            <action index="320" id="document-view-in-source-repository" />
            <action index="330" id="document-cloud-sync" />
            <action index="340" id="document-cloud-unsync" />
            <action index="350" id="document-view-in-cloud" />
            <action index="360" id="document-request-sync"/>
         </actionGroup>

         <actionGroup id="document-details">
            <action index="100" id="document-download" />
            <action index="110" id="document-upload-new-version" />
            <action index="120" id="document-view-content" />
            <action index="130" id="document-edit-metadata" />
            <action index="140" id="document-view-original" />
            <action index="150" id="document-view-working-copy" />
            <action index="160" id="document-approve" />
            <action index="170" id="document-reject" />
            <action index="180" id="document-inline-edit" />
            <action index="190" id="document-edit-online" />
            <action index="200" id="document-edit-offline" />
            <action index="210" id="document-view-googledoc" />
            <action index="220" id="document-checkout-to-googledocs" />
            <action index="230" id="document-checkin-from-googledocs" />
            <action index="240" id="document-copy-to" />
            <action index="250" id="document-move-to" />
            <action index="260" id="document-delete" />
            <action index="270" id="document-assign-workflow" />
            <action index="280" id="document-cancel-editing" />
            <action index="290" id="document-manage-site-permissions" />
            <action index="300" id="document-manage-repo-permissions" />
            <action index="310" id="document-manage-aspects" />
            <action index="320" id="document-change-type" />
            <action index="330" id="document-view-in-source-repository" />
            <action index="340" id="document-publish" />
            <action index="350" id="document-view-googlemaps" />
            <action index="360" id="document-cloud-sync" />
            <action index="370" id="document-cloud-unsync" />
            <action index="380" id="document-view-in-cloud" />
            <action index="390" id="document-request-sync"/>
         </actionGroup>
   
   </config>
….
2 REPLIES 2

rajeshavatani
Champ in-the-making
Champ in-the-making
<strong>actionGroups</strong> element is missing in your file.



<actionGroups>
<actionGroup id="document-browse">
            <action index="100" id="document-download" />
            <action index="110" id="document-upload-new-version" />
            <action index="120" id="document-view-content" />
            <action index="130" id="document-locate" />
            <action index="140" id="document-edit-properties" />
            <action index="150" id="document-view-original" />
            <action index="160" id="document-view-working-copy" />
            <action index="170" id="document-approve" />
            <action index="180" id="document-reject" />
            <action index="190" id="document-inline-edit" />
            <action index="200" id="document-edit-online" />
            <action index="210" id="document-edit-offline" />
            <action index="220" id="document-view-googledoc" />
            <action index="230" id="document-checkout-to-googledocs" />
            <action index="240" id="document-checkin-from-googledocs" />
            <action index="250" id="document-copy-to" />
            <action index="260" id="document-move-to" />
            <action index="270" id="document-delete" />
            <action index="280" id="document-assign-workflow" />
            <action index="290" id="document-cancel-editing" />
            <action index="300" id="document-publish" />
            <action index="310" id="document-view-googlemaps" />
            <action index="320" id="document-view-in-source-repository" />
            <action index="330" id="document-cloud-sync" />
            <action index="340" id="document-cloud-unsync" />
            <action index="350" id="document-view-in-cloud" />
            <action index="360" id="document-request-sync"/>
         </actionGroup>

         <actionGroup id="document-details">
            <action index="100" id="document-download" />
            <action index="110" id="document-upload-new-version" />
            <action index="120" id="document-view-content" />
            <action index="130" id="document-edit-metadata" />
            <action index="140" id="document-view-original" />
            <action index="150" id="document-view-working-copy" />
            <action index="160" id="document-approve" />
            <action index="170" id="document-reject" />
            <action index="180" id="document-inline-edit" />
            <action index="190" id="document-edit-online" />
            <action index="200" id="document-edit-offline" />
            <action index="210" id="document-view-googledoc" />
            <action index="220" id="document-checkout-to-googledocs" />
            <action index="230" id="document-checkin-from-googledocs" />
            <action index="240" id="document-copy-to" />
            <action index="250" id="document-move-to" />
            <action index="260" id="document-delete" />
            <action index="270" id="document-assign-workflow" />
            <action index="280" id="document-cancel-editing" />
            <action index="290" id="document-manage-site-permissions" />
            <action index="300" id="document-manage-repo-permissions" />
            <action index="310" id="document-manage-aspects" />
            <action index="320" id="document-change-type" />
            <action index="330" id="document-view-in-source-repository" />
            <action index="340" id="document-publish" />
            <action index="350" id="document-view-googlemaps" />
            <action index="360" id="document-cloud-sync" />
            <action index="370" id="document-cloud-unsync" />
            <action index="380" id="document-view-in-cloud" />
            <action index="390" id="document-request-sync"/>
         </actionGroup>
</actionGroups>


that was the problem!
great - thank you!