<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to prevent entering duplicate</title><link>https://community.appian.com/discussions/f/new-to-appian/25056/how-to-prevent-entering-duplicate</link><description>Hi All, I have a grid and it that grid edit functionality is provided. I need to make sure that when user click on edit, the duplicate values should not be entered. Can anyone please help me out.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to prevent entering duplicate</title><link>https://community.appian.com/thread/97089?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2022 15:03:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a9ba8b36-9ff0-463e-9201-232a4caebdc7</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="59361" url="~/discussions/f/new-to-appian/25056/how-to-prevent-entering-duplicate/97088#97088"]that would require some state management in the interface[/quote]
&lt;p&gt;If the row-click action just records the index of that row, and the subsequent edit field writes directly into that row (for example), then not necessarily.&amp;nbsp; But it depends so much on the particulars of the current attempted implementaiton that I find it useless to even try guessing at it until more details are provided.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to prevent entering duplicate</title><link>https://community.appian.com/thread/97088?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2022 14:58:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8c60cfad-fe3d-4777-b8f8-03fda0db7782</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Hm ... that would require some state management in the interface. An idea might be to have a local variable which tracks whether you modified the value. Then you could display the validation message only as the value has been modified.&lt;/p&gt;
&lt;p&gt;Is this what you are looking for?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to prevent entering duplicate</title><link>https://community.appian.com/thread/97087?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2022 14:45:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e91d85cf-dfc0-4dad-9d59-599cfdf6f6c8</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Please share the code underlying at least that validation message (but preferably the entire field).&amp;nbsp; Be sure to use a Code Box for readability here.&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1656600395842v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to prevent entering duplicate</title><link>https://community.appian.com/thread/97086?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2022 14:36:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3c0d0dd3-cafc-4f66-b0a9-b95aa0690a4d</guid><dc:creator>shubhamy0001</dc:creator><description>&lt;p&gt;Ok, so here is the case,when a user click on edit button for a row in non editable grid, a new page layout appears as shown below:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1656599734721v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;There we have applied validation for warning message for duplicate values. But the current edited value&lt;/p&gt;
&lt;p&gt;is also showing the warning message as it already exists and I do not want the message to be displayed for current edited value. Please let me know if I am able to make the requirement clear.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to prevent entering duplicate</title><link>https://community.appian.com/thread/97080?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2022 13:43:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9cd5f03e-7a87-4bac-b3a4-f1210fff89ee</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I think both Stefan and I are pretty unclear what your actual use case is.&amp;nbsp; I suggest starting at the beginning and giving us a step-by-step description of what you would expect the user experience to be, including which of those expectations you&amp;#39;re currently unable to meet.&amp;nbsp; By that I mean you should write it out step-by-step giving details, instead of a vague overview that requires us to just guess at what you&amp;#39;re really after.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to prevent entering duplicate</title><link>https://community.appian.com/thread/97079?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2022 13:42:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:390c4899-bdcf-4c86-b997-2cc99d04eecd</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I think I am missing something here ?!?!?&lt;/p&gt;
&lt;p&gt;Can you explain in more detail and post some screenshots?&lt;/p&gt;
&lt;p&gt;You seem to have some logic which works in one case, but not in another. Without more details I will not be able to support you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to prevent entering duplicate</title><link>https://community.appian.com/thread/97078?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2022 13:37:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a2a56db3-9293-46d6-b391-7f3048477cd0</guid><dc:creator>shubhamy0001</dc:creator><description>&lt;p&gt;Yes, when we click on edit then for duplicates we are displaying message and disables the submit button. But the same functionality working for current edited value and it dies not allow the user to approve through the button as it gets disabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to prevent entering duplicate</title><link>https://community.appian.com/thread/97077?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2022 13:29:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:74e6e0b1-7dd2-4ecf-ac1d-26d2bdc7908e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;So you do NOT edit the data directly in the grid?&lt;/p&gt;
&lt;p&gt;Then, validations are still the way to go. You just need to implement the logic to detect duplicates and use that on the input fields.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to prevent entering duplicate</title><link>https://community.appian.com/thread/97076?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2022 13:26:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:134e55fc-7618-477b-a398-fb797783121b</guid><dc:creator>shubhamy0001</dc:creator><description>&lt;p&gt;Thanks Stefan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But we have non editable grid aready implement and need to to apply such validation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to prevent entering duplicate</title><link>https://community.appian.com/thread/97074?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2022 13:21:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:231f010b-67c5-4d3e-98fc-1f2842690133</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;This is what validations are made for.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/22.2/recipe-add-validations-to-an-inline-editable-grid.html"&gt;docs.appian.com/.../recipe-add-validations-to-an-inline-editable-grid.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>