<?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: Handle DuplicateChildNodeNameException.  in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/handle-duplicatechildnodenameexception/m-p/73048#M23590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Krutik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error I am getting while saving the document with same name. This error I am getting from form.post.json.js. Calling it from&amp;nbsp;formSubmissionPayloadMixin by passing "api/{itemType}/{itemKind}/formprocessor in the url property. So when there is an Duplicate.. exception , Notification pop displays with "operation Failed" message. Instead of default notification pop up , I need to show the custom pop up with the message described above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This all I need to do on faceted-search.get.js page.I am trying to call my custom popup on "failureCallback" and also tried "onFailedSubmission" property of&amp;nbsp;&lt;SPAN&gt;formSubmissionPayloadMixin. But these methods are not getting called.Whereas able to customize the message displaying on default Notification pop up by "failureMessage" property.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My main concern is I am not able to show the pop up on content creation failure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you please suggest me how to achieve the same&amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Apr 2019 10:43:41 GMT</pubDate>
    <dc:creator>supriya_verma</dc:creator>
    <dc:date>2019-04-11T10:43:41Z</dc:date>
    <item>
      <title>Handle DuplicateChildNodeNameException.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/handle-duplicatechildnodenameexception/m-p/73046#M23588</link>
      <description>Requirement is to handle DuplicateChildNodeNameException. In case of this scenario, we need to give an option to the user whether s/he wants to Override the existing document or want to specify a new name. A pop up should display with errormessage as "Node with same name already exist. Select Yes if</description>
      <pubDate>Thu, 11 Apr 2019 03:43:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/handle-duplicatechildnodenameexception/m-p/73046#M23588</guid>
      <dc:creator>supriya_verma</dc:creator>
      <dc:date>2019-04-11T03:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Handle DuplicateChildNodeNameException.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/handle-duplicatechildnodenameexception/m-p/73047#M23589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;DuplicateChildNodeNameException will occur in case of new node, move node or copy node and there can be other scenarios as well, you need to add in your requirement exactly where you would like to ad this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;You need to create 2 webscript,first one will identify whether there is any node with same name exist or not, if yes than you need to give pop to user and based on response of user you can perform the operation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;For more details on webscript you can use below links.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;A href="https://ecmarchitect.com/alfresco-developer-series-tutorials/webscripts/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;https://ecmarchitect.com/alfresco-developer-series-tutorials/webscripts/tutorial/tutorial.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;A href="http://www.krutikjayswal.com/2016/10/alfresco-webscript-spring-webscript.html" rel="nofollow noopener noreferrer"&gt;http://www.krutikjayswal.com/2016/10/alfresco-webscript-spring-webscript.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2019 09:44:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/handle-duplicatechildnodenameexception/m-p/73047#M23589</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2019-04-11T09:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Handle DuplicateChildNodeNameException.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/handle-duplicatechildnodenameexception/m-p/73048#M23590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Krutik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error I am getting while saving the document with same name. This error I am getting from form.post.json.js. Calling it from&amp;nbsp;formSubmissionPayloadMixin by passing "api/{itemType}/{itemKind}/formprocessor in the url property. So when there is an Duplicate.. exception , Notification pop displays with "operation Failed" message. Instead of default notification pop up , I need to show the custom pop up with the message described above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This all I need to do on faceted-search.get.js page.I am trying to call my custom popup on "failureCallback" and also tried "onFailedSubmission" property of&amp;nbsp;&lt;SPAN&gt;formSubmissionPayloadMixin. But these methods are not getting called.Whereas able to customize the message displaying on default Notification pop up by "failureMessage" property.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My main concern is I am not able to show the pop up on content creation failure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you please suggest me how to achieve the same&amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2019 10:43:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/handle-duplicatechildnodenameexception/m-p/73048#M23590</guid>
      <dc:creator>supriya_verma</dc:creator>
      <dc:date>2019-04-11T10:43:41Z</dc:date>
    </item>
  </channel>
</rss>

