Accédez au fichier [CorrespondenceManagementSolutionTemplate]\package-resources\apps\solutions\cm* assetDefinitionsLayout.fml* et ouvrez-le. Ajoutez une nouvelle action Download avec un nom de groupe (GroupName) adéquat. <model xmlns="http://ns.adobe.com/Fiber/1.0">
<annotation name="DDS">
.....
<item name="assetActions">
<![CDATA[
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<actions>
<action name="Create" groupName="CM Layout Write" enabledIcon="assets/icons/LC_New_Md_N.png" disabledIcon="assets/icons/LC_New_Md_D.png" toolTip="loc.layout.tooltip.create" label="loc.layout.tooltip.create" defaultEnabled="true"/>
<action name="Edit" groupName="CM Layout Write" enabledIcon="assets/icons/MP_Edit_Md_N.png" disabledIcon="assets/icons/MP_Edit_Md_N.png" toolTip="loc.layout.tooltip.edit" label="loc.layout.tooltip.edit" uiGroupIndex="1" actionIndex="0" seperator="false"/>
<action name="View" groupName="CM Layout Read" enabledIcon="assets/icons/MP_ReadOnly_Md_N.png" disabledIcon="assets/icons/MP_ReadOnly_Md_N.png" toolTip="loc.layout.tooltip.view" label="loc.layout.tooltip.view" uiGroupIndex="1" actionIndex="1" seperator="false"/>
<action name="VersionHistory" groupName="CM Layout Write" enabledIcon="assets/icons/MP_PreviousVersion_Md_N.png" disabledIcon="assets/icons/MP_PreviousVersion_Md_N.png" toolTip="loc.layout.tooltip.versionhistory" label="loc.layout.tooltip.versionhistory" uiGroupIndex="1" actionIndex="2" seperator="false"/>
<action name="Copy" groupName="CM Layout Write" enabledIcon="assets/icons/MP_Copy_Md_N.png" disabledIcon="assets/icons/MP_Copy_Md_N.png" toolTip="loc.layout.tooltip.copy" label="loc.layout.tooltip.copy" uiGroupIndex="1" actionIndex="3" seperator="true"/>
<action name="RevertToLastPublish" groupName="CM Layout Write" enabledIcon="assets/icons/MP_Revert_Md_N.png" disabledIcon="assets/icons/MP_Revert_Md_N.png" toolTip="loc.layout.tooltip.reverttolastpublish" label="loc.layout.tooltip.reverttolastpublish" uiGroupIndex="2" actionIndex="0" seperator="false"/>
<action name="MarkForPublish" groupName="CM Layout Write" enabledIcon="assets/icons/MP_ReadyForPublishing_Md_N.png" disabledIcon="assets/icons/MP_ReadyForPublishing_Md_N.png" toolTip="loc.layout.tooltip.markforpublish" label="loc.layout.tooltip.markforpublish" uiGroupIndex="2" actionIndex="1" seperator="false"/>
<action name="Publish" groupName="CM Layout Publish" enabledIcon="assets/icons/MP_Published_Md_N.png" disabledIcon="assets/icons/MP_Published_Md_N.png" toolTip="loc.layout.tooltip.publish" label="loc.list.tooltip.publish" uiGroupIndex="2" actionIndex="2" seperator="false"/>
<action name="ViewDependency" groupName="CM Layout Read" enabledIcon="assets/icons/MP_ViewDependencies_Md_N.png" disabledIcon="assets/icons/MP_ViewDependencies_Md_N.png" toolTip="loc.layout.tooltip.viewdependency" label="loc.layout.tooltip.viewdependency" uiGroupIndex="2" actionIndex="3" seperator="true"/>
<action name="ImportPackage" groupName="CM Asset Import" enabledIcon="assets/icons/MP_PackageImport_Md_N.png" disabledIcon="assets/icons/MP_PackageImport_Md_N.png" toolTip="loc.layout.tooltip.ImportPackage" label="loc.layout.tooltip.ImportPackage" uiGroupIndex="3" actionIndex="0" seperator="false" defaultEnabled="true" />
<action name="ExportPackage" groupName="CM Layout Read" enabledIcon="assets/icons/MP_PackageExport_Md_N.png" disabledIcon="assets/icons/MP_PackageExport_Md_N.png" toolTip="loc.layout.tooltip.ExportDependencies" label="loc.layout.tooltip.ExportPackage" uiGroupIndex="3" actionIndex="1" seperator="false"/>
<action name="Download" groupName="CM Layout Read" enabledIcon="assets/icons/LC_Download_Md_N.png" disabledIcon="assets/icons/LC_Download_Md_D.png" toolTip="loc.layout.tooltip.download" label="loc.layout.tooltip.download" uiGroupIndex="3" actionIndex="2" seperator="false"/>
</actions>
]]>
</item>
..........
Important : * loc.layout.tooltip.download est une clé de ressource correspondant à une chaîne localisée dont la valeur est définie dans le lot de ressources DataDictionaryMessages situé à l’emplacement [CorrespondenceManagementSolutionTemplate]/package-resources/etc/aep/config/datadictionary/apps/cm/DataDictionaryMessages.properties. Par exemple, loc.layout.tooltip.download=Download.
Remarque : LC_Download_Md_D.png et LC_Download_Md_N.png doivent être présents dans le projet [ManageAssets]/src/assets/icon.
|
|
|