<?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: Getting &amp;quot; com.adobe.granite.asset.api.AssetException: javax.jcr.ItemExistsException &amp;quot; when trying to move the asset using assetmanager with the help of workflow.. in Adobe Experience Manager Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/getting-quot-com-adobe-granite-asset-api-assetexception-javax/m-p/452959#M129996</link>
    <description>&lt;P&gt;One hack would be to check for that asset path before doing the move operation, if it exists, you can delete it and do session save, then move the new one on that path.&lt;/P&gt;</description>
    <pubDate>Sat, 21 May 2022 14:59:24 GMT</pubDate>
    <dc:creator>ashish_mishra1</dc:creator>
    <dc:date>2022-05-21T14:59:24Z</dc:date>
    <item>
      <title>Getting " com.adobe.granite.asset.api.AssetException: javax.jcr.ItemExistsException " when trying to move the asset using assetmanager with the help of workflow..</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/getting-quot-com-adobe-granite-asset-api-assetexception-javax/m-p/452939#M129984</link>
      <description>&lt;P&gt;Hi, I tried to automate the process and move the asset from one folder to another using workflow in which i moved the asset using assetmanager. However if the same asset is present in the destination folder it is supposed to replace the exiting one but it is not, and i m getting itemExistException when check in to the logs. Please provide any pointers how to replace the existing asset if there is any OOTB functionality need to be enabled for this.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2022 11:08:59 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/getting-quot-com-adobe-granite-asset-api-assetexception-javax/m-p/452939#M129984</guid>
      <dc:creator>ssawaikar</dc:creator>
      <dc:date>2022-05-21T11:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Getting " com.adobe.granite.asset.api.AssetException: javax.jcr.ItemExistsException " when trying to move the asset using assetmanager with the help of workflow..</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/getting-quot-com-adobe-granite-asset-api-assetexception-javax/m-p/452944#M129987</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Which method are you trying?&lt;/P&gt;&lt;P&gt;Please check -&amp;nbsp;&lt;A href="https://developer.adobe.com/experience-manager/reference-materials/6-5/javadoc/com/day/cq/dam/api/AssetManager.html#createOrUpdateAsset-java.lang.String-javax.jcr.Binary-java.lang.String-boolean-" target="_blank"&gt;https://developer.adobe.com/experience-manager/reference-materials/6-5/javadoc/com/day/cq/dam/api/AssetManager.html#createOrUpdateAsset-java.lang.String-javax.jcr.Binary-java.lang.String-boolean-&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2022 11:38:57 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/getting-quot-com-adobe-granite-asset-api-assetexception-javax/m-p/452944#M129987</guid>
      <dc:creator>arunpatidar</dc:creator>
      <dc:date>2022-05-21T11:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting " com.adobe.granite.asset.api.AssetException: javax.jcr.ItemExistsException " when trying to move the asset using assetmanager with the help of workflow..</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/getting-quot-com-adobe-granite-asset-api-assetexception-javax/m-p/452946#M129989</link>
      <description>&lt;P&gt;Let me share my observations during authoring activity associated with create and move operation.&lt;/P&gt;&lt;P&gt;Let's assume that under this&amp;nbsp;&lt;STRONG&gt;/content/dam/we-retail/en/people&amp;nbsp;&lt;/STRONG&gt;path one asset named: &lt;STRONG&gt;we-retail.pdf&amp;nbsp;&lt;/STRONG&gt;is already available and now you want to upload same file (similar name) from your system.&lt;/P&gt;&lt;P&gt;Here you are doing create operation and this time AEM will give you options like: replace, create versions etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;During move operation (authoring activity) , we will be able to move same file but after moved file will be renamed as &lt;STRONG&gt;we-retail1.pdf&amp;nbsp;&lt;/STRONG&gt;as we already have file named:&amp;nbsp;&lt;STRONG&gt;we-retail.pdf &lt;/STRONG&gt;in the same place.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note that in AEM , node name represents 'ID' and ID should be unique.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could validate at your end also.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now you need to modify the business logic&amp;nbsp; during move operation considering all these points.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2022 11:47:08 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/getting-quot-com-adobe-granite-asset-api-assetexception-javax/m-p/452946#M129989</guid>
      <dc:creator>DEBAL_DAS</dc:creator>
      <dc:date>2022-05-21T11:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Getting " com.adobe.granite.asset.api.AssetException: javax.jcr.ItemExistsException " when trying to move the asset using assetmanager with the help of workflow..</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/getting-quot-com-adobe-granite-asset-api-assetexception-javax/m-p/452959#M129996</link>
      <description>&lt;P&gt;One hack would be to check for that asset path before doing the move operation, if it exists, you can delete it and do session save, then move the new one on that path.&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2022 14:59:24 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/getting-quot-com-adobe-granite-asset-api-assetexception-javax/m-p/452959#M129996</guid>
      <dc:creator>ashish_mishra1</dc:creator>
      <dc:date>2022-05-21T14:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Getting " com.adobe.granite.asset.api.AssetException: javax.jcr.ItemExistsException " when trying to move the asset using assetmanager with the help of workflow..</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/getting-quot-com-adobe-granite-asset-api-assetexception-javax/m-p/452974#M130003</link>
      <description>&lt;P&gt;Unfortunately the assetManager API does not offer a "move" operation, thus you have to build it yourself using the Sling Resource API (or JCR). In that you have to implement the logic to avoid collisions yourself.&lt;/P&gt;</description>
      <pubDate>Sun, 22 May 2022 11:05:51 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/getting-quot-com-adobe-granite-asset-api-assetexception-javax/m-p/452974#M130003</guid>
      <dc:creator>Jörg_Hoh</dc:creator>
      <dc:date>2022-05-22T11:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Getting " com.adobe.granite.asset.api.AssetException: javax.jcr.ItemExistsException " when trying to move the asset using assetmanager with the help of workflow..</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/getting-quot-com-adobe-granite-asset-api-assetexception-javax/m-p/453442#M130157</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="9372713"&gt;&lt;/LI-USER&gt;&amp;nbsp; could you please elaborate what you are trying to say here.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 11:49:02 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/getting-quot-com-adobe-granite-asset-api-assetexception-javax/m-p/453442#M130157</guid>
      <dc:creator>ssawaikar</dc:creator>
      <dc:date>2022-05-26T11:49:02Z</dc:date>
    </item>
  </channel>
</rss>

