<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Custom Doclib extension button for certain file extensions in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/custom-doclib-extension-button-for-certain-file-extensions/m-p/140106#M37453</link>
    <description>&lt;P&gt;i have the following extension configuration on my AIO sdk 4.1&lt;/P&gt;&lt;PRE&gt;&amp;lt;extension&amp;gt;
  &amp;lt;modules&amp;gt;
    &amp;lt;module&amp;gt;
      &amp;lt;id&amp;gt;Signature Action&amp;lt;/id&amp;gt;
      &amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;
      &amp;lt;auto-deploy&amp;gt;true&amp;lt;/auto-deploy&amp;gt;
      &amp;lt;configurations&amp;gt;
        &amp;lt;config evaluator="string-compare" condition="DocLibActions"&amp;gt;
          &amp;lt;actions&amp;gt;
            &amp;lt;action id="signature.action"
                   icon="document-signature"
                   type="javascript"
                   label="Add Signature"&amp;gt;
              &amp;lt;param name="function"&amp;gt;onActionAddSignature&amp;lt;/param&amp;gt;
              &amp;lt;param name="failureMessage"&amp;gt;Failed to add signature to document.&amp;lt;/param&amp;gt;
            &amp;lt;/action&amp;gt;
          &amp;lt;/actions&amp;gt;
          &amp;lt;actionGroups&amp;gt;
            &amp;lt;actionGroup id="document-details"&amp;gt;
              &amp;lt;action index="401" id="signature.action" /&amp;gt;
            &amp;lt;/actionGroup&amp;gt;
            &amp;lt;actionGroup id="document-browse"&amp;gt;
              &amp;lt;action index="401" id="signature.action" /&amp;gt;
            &amp;lt;/actionGroup&amp;gt;
          &amp;lt;/actionGroups&amp;gt;
        &amp;lt;/config&amp;gt;
        &amp;lt;config evaluator="string-compare" condition="DocLibCustom"&amp;gt;
          &amp;lt;dependencies&amp;gt;
            
          &amp;lt;/dependencies&amp;gt;
        &amp;lt;/config&amp;gt;
      &amp;lt;/configurations&amp;gt;
    &amp;lt;/module&amp;gt;
  &amp;lt;/modules&amp;gt;
&amp;lt;/extension&amp;gt;&lt;/PRE&gt;&lt;P&gt;,the button is showing all fine, but i want it to only show on pdf files and not all files !&lt;/P&gt;</description>
    <pubDate>Fri, 09 Feb 2024 19:13:22 GMT</pubDate>
    <dc:creator>dddrhal123</dc:creator>
    <dc:date>2024-02-09T19:13:22Z</dc:date>
    <item>
      <title>Custom Doclib extension button for certain file extensions</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-doclib-extension-button-for-certain-file-extensions/m-p/140106#M37453</link>
      <description>&lt;P&gt;i have the following extension configuration on my AIO sdk 4.1&lt;/P&gt;&lt;PRE&gt;&amp;lt;extension&amp;gt;
  &amp;lt;modules&amp;gt;
    &amp;lt;module&amp;gt;
      &amp;lt;id&amp;gt;Signature Action&amp;lt;/id&amp;gt;
      &amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;
      &amp;lt;auto-deploy&amp;gt;true&amp;lt;/auto-deploy&amp;gt;
      &amp;lt;configurations&amp;gt;
        &amp;lt;config evaluator="string-compare" condition="DocLibActions"&amp;gt;
          &amp;lt;actions&amp;gt;
            &amp;lt;action id="signature.action"
                   icon="document-signature"
                   type="javascript"
                   label="Add Signature"&amp;gt;
              &amp;lt;param name="function"&amp;gt;onActionAddSignature&amp;lt;/param&amp;gt;
              &amp;lt;param name="failureMessage"&amp;gt;Failed to add signature to document.&amp;lt;/param&amp;gt;
            &amp;lt;/action&amp;gt;
          &amp;lt;/actions&amp;gt;
          &amp;lt;actionGroups&amp;gt;
            &amp;lt;actionGroup id="document-details"&amp;gt;
              &amp;lt;action index="401" id="signature.action" /&amp;gt;
            &amp;lt;/actionGroup&amp;gt;
            &amp;lt;actionGroup id="document-browse"&amp;gt;
              &amp;lt;action index="401" id="signature.action" /&amp;gt;
            &amp;lt;/actionGroup&amp;gt;
          &amp;lt;/actionGroups&amp;gt;
        &amp;lt;/config&amp;gt;
        &amp;lt;config evaluator="string-compare" condition="DocLibCustom"&amp;gt;
          &amp;lt;dependencies&amp;gt;
            
          &amp;lt;/dependencies&amp;gt;
        &amp;lt;/config&amp;gt;
      &amp;lt;/configurations&amp;gt;
    &amp;lt;/module&amp;gt;
  &amp;lt;/modules&amp;gt;
&amp;lt;/extension&amp;gt;&lt;/PRE&gt;&lt;P&gt;,the button is showing all fine, but i want it to only show on pdf files and not all files !&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 19:13:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-doclib-extension-button-for-certain-file-extensions/m-p/140106#M37453</guid>
      <dc:creator>dddrhal123</dc:creator>
      <dc:date>2024-02-09T19:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Doclib extension button for certain file extensions</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-doclib-extension-button-for-certain-file-extensions/m-p/140107#M37454</link>
      <description>&lt;P&gt;I can direct you to an example.&lt;/P&gt;&lt;P&gt;You will find evaluator 'zk.evaluator.doclib.action.onlineEditMimetype' here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/zylklab/alfresco-share-online-edition-addon/blob/master/src/main/amp/config/alfresco/web-extension/site-data/extensions/zk-libreoffice-addon-share-extension.xml" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/zylklab/alfresco-share-online-edition-addon/blob/master/src/main/amp/config/alfresco/web-extension/site-data/extensions/zk-libreoffice-addon-share-extension.xml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and the bean 'zk.evaluator.doclib.action.onlineEditMimetype' here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/zylklab/alfresco-share-online-edition-addon/blob/master/src/main/amp/config/alfresco/web-extension/zk-libreoffice-addon-share-slingshot-application-context.xml" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/zylklab/alfresco-share-online-edition-addon/blob/master/src/main/amp/config/alfresco/web-extension/zk-libreoffice-addon-share-slingshot-application-context.xml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Follow the similar way for your myme type.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 20:23:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-doclib-extension-button-for-certain-file-extensions/m-p/140107#M37454</guid>
      <dc:creator>fedorow</dc:creator>
      <dc:date>2024-02-13T20:23:30Z</dc:date>
    </item>
  </channel>
</rss>

