<?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 set the conflict description message for implementing rename using custom listener in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/955938#M8194</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/621528"&gt;@Vishwa_RADDI&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is more complicated then just throw WTException.&lt;/P&gt;
&lt;P&gt;You should create object a ConflictException with a&amp;nbsp;ConflictElement that contains a ResolutionType and a ConflictType with your message to a user.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did similar exception for deleting WTPart that is linked to a process plan. User has a option to repeat and finish deletion or nothing else.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2024 15:47:07 GMT</pubDate>
    <dc:creator>HelesicPetr</dc:creator>
    <dc:date>2024-06-12T15:47:07Z</dc:date>
    <item>
      <title>How to set the conflict description message for implementing rename using custom listener</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/955539#M8170</link>
      <description>&lt;P&gt;Version: Windchill 12.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use Case: I have written custom listener will use the event "IdentityServiceEvent.PRE_CHANGE_IDENTITY" for if WTPart New Number is NOT 10-digit validation and not able to dispay the conflict description message in Event Console&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Description: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have written custom listener will use the event "IdentityServiceEvent.PRE_CHANGE_IDENTITY" for if WTPart New Number is NOT 10-digit validation and not able to dispay the conflict description message in Event Console&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 16:59:16 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/955539#M8170</guid>
      <dc:creator>Vishwa_RADDI</dc:creator>
      <dc:date>2024-06-10T16:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the conflict description message for implementing rename using custom listener</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/955686#M8173</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/621528"&gt;@Vishwa_RADDI&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I saw your post and it seemed very doable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I renumbered a WTPart to be 6 characters long.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="d_graham_0-1718105112771.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/106154i4CA8393CB448A495/image-size/medium?v=v2&amp;amp;px=400" role="button" title="d_graham_0-1718105112771.png" alt="d_graham_0-1718105112771.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As expected, I get a failure and the error description is exactly what I coded.&lt;/P&gt;
&lt;P&gt;Seems to work to your spec, unless I'm misunderstand your post.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="d_graham_2-1718105332093.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/106159iF570B365FDEF1CF6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="d_graham_2-1718105332093.png" alt="d_graham_2-1718105332093.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;
&lt;P&gt;&lt;A href="mailto:windchill.developer@yahoo.com" target="_blank" rel="noopener"&gt;windchill.developer@yahoo.com&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 11:49:10 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/955686#M8173</guid>
      <dc:creator>d_graham</dc:creator>
      <dc:date>2024-06-11T11:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the conflict description message for implementing rename using custom listener</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/955707#M8177</link>
      <description>&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how do you set this custom message on Conflict event console? I have tried using WTException(new WTMessage); and just throwing an exception its not working. let me know how do we set?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vishvanatha&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 12:19:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/955707#M8177</guid>
      <dc:creator>Vishwa_RADDI</dc:creator>
      <dc:date>2024-06-11T12:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the conflict description message for implementing rename using custom listener</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/955938#M8194</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/621528"&gt;@Vishwa_RADDI&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is more complicated then just throw WTException.&lt;/P&gt;
&lt;P&gt;You should create object a ConflictException with a&amp;nbsp;ConflictElement that contains a ResolutionType and a ConflictType with your message to a user.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did similar exception for deleting WTPart that is linked to a process plan. User has a option to repeat and finish deletion or nothing else.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 15:47:07 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/955938#M8194</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2024-06-12T15:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the conflict description message for implementing rename using custom listener</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/956186#M8207</link>
      <description>&lt;P&gt;Hi Pert,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for suggestion, could you please add snipet of source code so I will try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vishvanath&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 19:22:08 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/956186#M8207</guid>
      <dc:creator>Vishwa_RADDI</dc:creator>
      <dc:date>2024-06-13T19:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the conflict description message for implementing rename using custom listener</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/956242#M8208</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/621528"&gt;@Vishwa_RADDI&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Knowledge base contains some information&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article/CS104731" target="_blank" rel="noopener"&gt;CS104731 - API to override conflict on EPMWorkspaceHelper&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 06:32:05 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/956242#M8208</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2024-06-14T06:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the conflict description message for implementing rename using custom listener</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/956283#M8211</link>
      <description>&lt;P&gt;Hi PetrH,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes I have already tried with this examples as&amp;nbsp; you mentioned, still not printing any ERROR.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vishvanatha&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 09:07:30 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/956283#M8211</guid>
      <dc:creator>Vishwa_RADDI</dc:creator>
      <dc:date>2024-06-14T09:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the conflict description message for implementing rename using custom listener</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/956311#M8213</link>
      <description>&lt;P&gt;Yes, because the example just shows one part of the solution.&lt;/P&gt;
&lt;P&gt;You have to throw the correct error&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;ConflictException conflict = new ConflictException(new ConflictElement[]{conflictElement});
throw conflict;&lt;/LI-CODE&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 10:14:47 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/956311#M8213</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2024-06-14T10:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the conflict description message for implementing rename using custom listener</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/956381#M8220</link>
      <description>&lt;P&gt;Yes I have tried as below snippet code, still not working&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ConflictElement[] conflictElements = new ConflictElement[setConflictElements.size()];&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;conflictElements = setConflictElements.toArray(conflictElements);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;throw new ConflictException(conflictElements);&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 13:10:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/956381#M8220</guid>
      <dc:creator>Vishwa_RADDI</dc:creator>
      <dc:date>2024-06-14T13:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the conflict description message for implementing rename using custom listener</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/956403#M8221</link>
      <description>&lt;P&gt;So it works&lt;/P&gt;
&lt;P&gt;You just do not see any message that the user could read &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you have to write the message to the user.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 13:40:34 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/956403#M8221</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2024-06-14T13:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the conflict description message for implementing rename using custom listener</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/956424#M8222</link>
      <description>&lt;P&gt;we dont have any user level settings in this API's it should work or could you provide snipnet so I will check?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 14:30:59 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/956424#M8222</guid>
      <dc:creator>Vishwa_RADDI</dc:creator>
      <dc:date>2024-06-14T14:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the conflict description message for implementing rename using custom listener</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/1031316#M10355</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/621528"&gt;@Vishwa_RADDI&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Were you ever able to accomplish this? I would like to do something similar but the responses you got here seem to be deliberately obscure for some reason. I posted about it &lt;A href="https://community.ptc.com/t5/Windchill-Customization/Throw-Warning-Message-in-Custom-Listener/m-p/1031171#M10347" target="_blank"&gt;here&lt;/A&gt;&amp;nbsp;in hopes of finding a solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Marshall&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 17:12:39 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-set-the-conflict-description-message-for-implementing/m-p/1031316#M10355</guid>
      <dc:creator>marshall_brock</dc:creator>
      <dc:date>2025-08-27T17:12:39Z</dc:date>
    </item>
  </channel>
</rss>

