<?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: Ways to share published page data to an API in Adobe Experience Manager Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ways-to-share-published-page-data-to-an-api/m-p/540431#M134224</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Create your own page where you can select the source and do activation/feeding to api in a schedule job way and use threading to achieve it , similar to&amp;nbsp;&lt;A href="https://adobe-consulting-services.github.io/acs-aem-commons/features/bulk-workflow-manager/index.html" target="_blank"&gt;https://adobe-consulting-services.github.io/acs-aem-commons/features/bulk-workflow-manager/index.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2022 08:03:20 GMT</pubDate>
    <dc:creator>arunpatidar</dc:creator>
    <dc:date>2022-08-11T08:03:20Z</dc:date>
    <item>
      <title>Ways to share published page data to an API</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ways-to-share-published-page-data-to-an-api/m-p/540324#M134203</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have an use-case, where we need to share the Page data to an API once its published.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently, By using Replication Event Handler we are sharing data to an API. But sometime we are facing an issue similar like this&amp;nbsp;&lt;A title="Issue" href="https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/custom-replication-event-handler-not-triggering-intermittently/m-p/279325" target="_blank" rel="noopener"&gt;https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/custom-replication-event-handler-not-triggering-intermittently/m-p/279325&lt;/A&gt;&amp;nbsp;, On bulk Activation event handler is triggering intermittently and sometimes throwing errors in logs. In this situation, we are restarting our bundle and doing Page Activation again in order to share data to an API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additionally, we have some more requirements,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Need to log pages which are not shared to API when ever there is an issue and data is not shared to API.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Support Bulk Page Activations.&lt;/P&gt;
&lt;P&gt;3. Best ways to implement this use-case(Sharing Page Data) when a Page is Replicated apart from Replication Event Handling.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 16:57:59 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ways-to-share-published-page-data-to-an-api/m-p/540324#M134203</guid>
      <dc:creator>Leela-Pavan-Kumar</dc:creator>
      <dc:date>2022-08-10T16:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to share published page data to an API</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ways-to-share-published-page-data-to-an-api/m-p/540431#M134224</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Create your own page where you can select the source and do activation/feeding to api in a schedule job way and use threading to achieve it , similar to&amp;nbsp;&lt;A href="https://adobe-consulting-services.github.io/acs-aem-commons/features/bulk-workflow-manager/index.html" target="_blank"&gt;https://adobe-consulting-services.github.io/acs-aem-commons/features/bulk-workflow-manager/index.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 08:03:20 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ways-to-share-published-page-data-to-an-api/m-p/540431#M134224</guid>
      <dc:creator>arunpatidar</dc:creator>
      <dc:date>2022-08-11T08:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to share published page data to an API</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ways-to-share-published-page-data-to-an-api/m-p/540437#M134226</link>
      <description>&lt;P&gt;Thanks for the suggestion&amp;nbsp;&lt;LI-USER uid="6786635"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That suits for Bulk Activation but in the case of a Single page every time author needs to come to this page and select the page for passing the data to API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any way to handle this without author's Intervention?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 08:26:22 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ways-to-share-published-page-data-to-an-api/m-p/540437#M134226</guid>
      <dc:creator>Leela-Pavan-Kumar</dc:creator>
      <dc:date>2022-08-11T08:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to share published page data to an API</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ways-to-share-published-page-data-to-an-api/m-p/540443#M134227</link>
      <description>&lt;P&gt;For single page you can stick with replication event listener. but when you have to do bulk publish then use bulk workflow manager&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 09:32:46 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ways-to-share-published-page-data-to-an-api/m-p/540443#M134227</guid>
      <dc:creator>arunpatidar</dc:creator>
      <dc:date>2022-08-11T09:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to share published page data to an API</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ways-to-share-published-page-data-to-an-api/m-p/540445#M134229</link>
      <description>&lt;P&gt;Is there any way to handle this other than Replication Event Listener to capture the Page Data when its published?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 10:00:01 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ways-to-share-published-page-data-to-an-api/m-p/540445#M134229</guid>
      <dc:creator>Leela-Pavan-Kumar</dc:creator>
      <dc:date>2022-08-11T10:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to share published page data to an API</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ways-to-share-published-page-data-to-an-api/m-p/540558#M134244</link>
      <description>&lt;P&gt;Hi &lt;LI-USER uid="17500095"&gt;&lt;/LI-USER&gt;,&lt;/P&gt;
&lt;P&gt;In my opinion you should consider to use &lt;A href="https://developer.adobe.com/experience-manager/reference-materials/6-5/javadoc/com/day/cq/replication/Preprocessor.html" target="_self"&gt;Preprocessor&lt;/A&gt; in combination with &lt;A href="https://sling.apache.org/documentation/bundles/apache-sling-eventing-and-job-handling.html" target="_self"&gt;Sling Job&lt;/A&gt; and dedicated &lt;EM&gt;Sling Job&lt;/EM&gt; Queue.&lt;/P&gt;
&lt;P&gt;The entire solution will cover all cases, single page publication bulk publication failure logging, and also as an extra feature retry option.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Preprocessor&lt;/EM&gt; will be triggered by replication, and should offload work related to pushing data to external/shared API to Sling Jobs. If there will be lot of pages published at once (bulk publication), Sling Jobs will be stacked in dedicated queue. Sling Job also provides you OOTB retry mechanism - so in case of failure, it can be implemented in the way that there will be few retries - and if it fails you can simply log detailed information about failure.&lt;/P&gt;
&lt;P&gt;Please have a look into following documents:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://labs.tadigital.com/index.php/2019/06/25/aem-preprocessor/" target="_blank"&gt;https://labs.tadigital.com/index.php/2019/06/25/aem-preprocessor/&lt;/A&gt; - nice article that compares &lt;EM&gt;Workflows&lt;/EM&gt;, &lt;EM&gt;Event Listeners&lt;/EM&gt; and &lt;EM&gt;Preprocessor&lt;/EM&gt;, with sample &lt;EM&gt;Preprocessor&lt;/EM&gt; implementation&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://dileepakv.blogspot.com/2018/01/aem-replication-preprocessor.html" target="_blank"&gt;https://dileepakv.blogspot.com/2018/01/aem-replication-preprocessor.html&lt;/A&gt; another example of &lt;EM&gt;Preporcessor&lt;/EM&gt; implementation and comparison of &lt;EM&gt;Workflows&lt;/EM&gt;, &lt;EM&gt;Event Listeners&lt;/EM&gt;, and &lt;EM&gt;Preprocessor&lt;/EM&gt; - I think it describes very similar use case to yours&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 11 Aug 2022 19:37:43 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ways-to-share-published-page-data-to-an-api/m-p/540558#M134244</guid>
      <dc:creator>lukasz-m</dc:creator>
      <dc:date>2022-08-11T19:37:43Z</dc:date>
    </item>
  </channel>
</rss>

