Element-FML ändern

Navigieren Sie zur Datei „[CorrespondenceManagementSolutionTemplate]\package-resources\apps\solutions\cm*assetDefinitionsLayout.fml“*und öffnen Sie diese. Fügen Sie eine neue Aktion Download mit dem relevanten Gruppennamen hinzu.
<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> 
    ..........
Wichtig: * loc.layout.tooltip.download ist ein Ressourcenschlüssel für eine lokalisierte Zeichenfolge, dessen Wert im Ressourcenpaket DataDictionaryMessages definiert ist und das sich unter [CorrespondenceManagementSolutionTemplate]/package-resources/etc/aep/config/datadictionary/apps/cm/DataDictionaryMessages.properties befindet. Zum Beispiel loc.layout.tooltip.download=Download.
Hinweis: LC_Download_Md_D.png und LC_Download_Md_N.png müssen im Projekt [ManageAssets]/src/assets/icon vorhanden sein.