<?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 Re: How to create doclib with custom T-Engine in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-doclib-with-custom-t-engine/m-p/484067#M39514</link>
    <description>&lt;P&gt;Thanks Angel!&lt;/P&gt;&lt;P&gt;I removed png from my transformer and made two new pipelines for png and jpeg thumbnails.&lt;/P&gt;</description>
    <pubDate>Sat, 02 Nov 2024 13:42:41 GMT</pubDate>
    <dc:creator>fedorow</dc:creator>
    <dc:date>2024-11-02T13:42:41Z</dc:date>
    <item>
      <title>How to create doclib with custom T-Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-doclib-with-custom-t-engine/m-p/483911#M39500</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I've&amp;nbsp; created a custom transformer for a new xmind mimetype. It does three transformation: xmind to txt for the solr6 search engine, xmind to pdf for document preview in Share and png for thumbnails in Share. It works fine in tests and alfresco successfully use it for text and pdf transformation. But the repo do not initializes thumbnail generation:&lt;/P&gt;&lt;P&gt;Here is the transformer config:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "transformOptions": {
    "xmindOptions": [
      { "value": { "name": "thumbnail" } },
      { "value": { "name": "resizeHeight" } },
      { "value": { "name": "resizeWidth" } },
      { "value": { "name": "resizePercentage" } },
      { "value": { "name": "allowEnlargement" } },
      { "value": { "name": "maintainAspectRatio" } }
    ]
  },
  "transformers": [
    {
      "transformerName": "xmind",
      "supportedSourceAndTargetList": [
        {
          "sourceMediaType": "application/x-xmind",
          "targetMediaType": "text/plain"
        },
        {
          "sourceMediaType": "application/x-xmind",
          "targetMediaType": "application/pdf"
        },
        {
          "sourceMediaType": "application/x-xmind",
          "targetMediaType": "image/png"
        }
      ],
      "transformOptions": ["xmindOptions"]
    }
  ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The javascript does not create doclib. There is no errors, just do nothing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;document.createThumbnail("doclib");&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to configure Alfresco or transformer to create the doclib thumbnail?&lt;/P&gt;&lt;P&gt;Thanks, Serge&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;Alfresco community 23.3, D&lt;/FONT&gt;&lt;FONT size="2"&gt;ocker Compose deployment&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 16:42:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-doclib-with-custom-t-engine/m-p/483911#M39500</guid>
      <dc:creator>fedorow</dc:creator>
      <dc:date>2024-11-04T16:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to create doclib with custom T-Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-doclib-with-custom-t-engine/m-p/483917#M39501</link>
      <description>&lt;P&gt;I guess that you need to extend the "pdfrenderer" transformer, to add the x-xmind to png pipeline:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-transform-core/blob/master/engines/pdfrenderer/src/main/resources/pdfrenderer_engine_config.json#L13" target="_blank"&gt;https://github.com/Alfresco/alfresco-transform-core/blob/master/engines/pdfrenderer/src/main/resources/pdfrenderer_engine_config.json#L13&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 08:26:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-doclib-with-custom-t-engine/m-p/483917#M39501</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2024-10-29T08:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to create doclib with custom T-Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-doclib-with-custom-t-engine/m-p/484067#M39514</link>
      <description>&lt;P&gt;Thanks Angel!&lt;/P&gt;&lt;P&gt;I removed png from my transformer and made two new pipelines for png and jpeg thumbnails.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2024 13:42:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-doclib-with-custom-t-engine/m-p/484067#M39514</guid>
      <dc:creator>fedorow</dc:creator>
      <dc:date>2024-11-02T13:42:41Z</dc:date>
    </item>
  </channel>
</rss>

