<?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>Selectable Editable Grid</title><link>https://community.appian.com/discussions/f/user-interface/38965/selectable-editable-grid</link><description>I have(had) an issue with a Selectable Editable Grid and I don&amp;#39;t know if this is a bug or not. 
 BUSINESS USE CASE 
 I actually have two grids. The Use Case here is to have the user assign a speaker to a parish for a parish event. 
 One grid shows unassigned</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Selectable Editable Grid</title><link>https://community.appian.com/thread/147466?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 15:17:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f7bf2334-35c8-4bbb-9925-abe675645d5f</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="46209" url="~/discussions/f/user-interface/38965/selectable-editable-grid/147465"]Now I can just type it in or select it without the error popup.&amp;nbsp; PFM!![/quote]
&lt;p&gt;that&amp;#39;s computers for ya, lol.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Selectable Editable Grid</title><link>https://community.appian.com/thread/147465?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 15:14:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:81e336b5-9332-4047-a6b8-8e731308f915</guid><dc:creator>Chris.Gillespie</dc:creator><description>&lt;p&gt;No.&amp;nbsp; It was really weird.&amp;nbsp; Anytime I would start to type fv!item, the error code would pop up.&amp;nbsp; In fact, sometimes it would popup before I finished typing &amp;quot;item&amp;quot;.&amp;nbsp; I would also try to select item rather than type it in, but still got the error message.&amp;nbsp; The only way to get the error to stop, but was replace &amp;quot;item&amp;quot; with either &amp;quot;index&amp;quot; or &amp;quot;identifier&amp;quot;.&lt;/p&gt;
&lt;p&gt;Now I can just type it in or select it without the error popup.&amp;nbsp; PFM!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Selectable Editable Grid</title><link>https://community.appian.com/thread/147464?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 15:02:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e2128dc1-d7d1-4c42-9be5-cefd54bebaf0</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Cool, thanks for confirming.&amp;nbsp; Just out of curiosity, was there something in particular different/wrong with the previous way you were trying to set the &amp;quot;id&amp;quot; parameter, as far as you can tell?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Selectable Editable Grid</title><link>https://community.appian.com/thread/147463?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 15:00:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c81e570f-6eb3-4b27-bd9e-3bab0aae0eca</guid><dc:creator>Chris.Gillespie</dc:creator><description>&lt;p&gt;I was trying to get a video of the issue and error popup but eventually was able to get the record type and field reference into the id.&amp;nbsp; Now it looks like what you have.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Selectable Editable Grid</title><link>https://community.appian.com/thread/147462?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 14:50:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a68d2bd9-842a-4a1a-9d52-24efe35cfb58</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;FWIW, it seems to work fine for me when I try it on a quick example I threw together which queries a generic testing record type populated with a few thousand rows of data for instance.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1745333365661v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Selectable Editable Grid</title><link>https://community.appian.com/thread/147461?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 14:39:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f0562fe9-45b8-4a15-9fcf-0a27852ee08d</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="46209" url="~/discussions/f/user-interface/38965/selectable-editable-grid/147460"]However, any time I tried to use the fv!item.speakerEventId as the id, i would get a HTML 500 error (please see my original post).&amp;nbsp;[/quote]
&lt;p&gt;I don&amp;#39;t understand the error message contained in the top post.&amp;nbsp; What code did you use to try to use the primary key to set the row&amp;#39;s ID parameter?&amp;nbsp; Did you, by any chance, try wrapping it in &lt;em&gt;&lt;strong&gt;toInteger()&lt;/strong&gt;&lt;/em&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Selectable Editable Grid</title><link>https://community.appian.com/thread/147460?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 14:35:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5d5aa565-8fa1-4a4f-9f9c-7478a87f24d6</guid><dc:creator>Chris.Gillespie</dc:creator><description>&lt;p&gt;I saw that in many of the discussion posts as well as in the SAIL design documentation.&amp;nbsp; However, any time I tried to use the fv!item.speakerEventId as the id, i would get a HTML 500 error (please see my original post).&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So it seems that the only thing to do is to use the fv!index as the id, then use the index function in a saveinto.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Selectable Editable Grid</title><link>https://community.appian.com/thread/147457?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 14:11:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:58d50cd6-bcaa-4273-a577-6c89408d8876</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="46209" url="~/discussions/f/user-interface/38965/selectable-editable-grid/147455"]This expression rule returns a list of the record type, PMSO Speaker Event and it includes the id, speakerEventId.[/quote]
&lt;p&gt;That means the variable does not contain a dataSubset value, meaning &amp;quot;fv!identifier&amp;quot; will not do anything.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should probably just be setting the &amp;quot;id&amp;quot; parameter for each row to fv!item.speakerEventId (or whatever the code is for doing this in recordtype data).&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1745331080260v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Selectable Editable Grid</title><link>https://community.appian.com/thread/147455?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 12:32:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2c7bd7f4-d9cf-4f31-a3d0-9003bc69c138</guid><dc:creator>Chris.Gillespie</dc:creator><description>&lt;p&gt;The local variable,&amp;nbsp;speakerEvents is loaded via an expression rule,&amp;nbsp;PMSO_GetUnassignedApprovedSpeakerEventsbyEventID().&amp;nbsp; This expression rule returns a list of the record type, PMSO Speaker Event and it includes the id, speakerEventId.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:282px;max-width:389px;" height="282" src="/resized-image/__size/778x564/__key/communityserver-discussions-components-files/13/pastedimage1745324984127v1.png" width="389" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I hope this answers you question.&lt;/p&gt;
&lt;p&gt;Thank you for the clarification on JSON and SAIL.&amp;nbsp; It is OK to be pedantic with us newbies.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Selectable Editable Grid</title><link>https://community.appian.com/thread/147437?ContentTypeID=1</link><pubDate>Mon, 21 Apr 2025 20:37:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ba52b347-7689-4aee-a4ca-a016127c56ac</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I suspect you need to understand a bit more about what you&amp;#39;re doing with your row selection and how it works.&amp;nbsp; It depends on the finer details of what the value (and data type) of &lt;em&gt;&lt;strong&gt;local!speakerEvents&lt;/strong&gt;&lt;/em&gt; is, which you haven&amp;#39;t specified - but either way, you need to know what a!forEach() actually does in order to allow use of &amp;quot;fv!identifier&amp;quot; --&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1745267265682v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This means that fv!identifier will only pick up the value of the primary key ID when it&amp;#39;s passed a set of dataSubset data (specifically); other times it will behave in ways I hesitate to even guess at without checking myself, including setting the identifier value to null, setting it to a static value, or not even resolving a value for it. (my initial try suggests the &amp;#39;all nulls&amp;#39; hypothesis might be the most correct, see below)&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1745267684708v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;So to help further, we&amp;#39;ll need to know what value you&amp;#39;re working with there, and why it&amp;#39;s not sufficient for you to set each row&amp;#39;s &amp;quot;id&amp;quot; parameter to that row&amp;#39;s primary key ID instead of fv!index (which will always just be its relative position within the a!forEach() iteration).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Also -- as an aside, and at the risk of being a bit pedantic:&lt;/em&gt;&lt;/p&gt;
[quote userid="46209" url="~/discussions/f/user-interface/38965/selectable-editable-grid"]Here is the JSON for one of the grids.[/quote]
&lt;p&gt;I need to stop you right there - JSON is the name of a very specific format, one in which some set of ordered data (dictionary, array, or combo of both) has been flattened into a single text string, with predefined parsing parameters, to take the guesswork out of unpacking it on the other end.&amp;nbsp; See the output of when you pass something through the &amp;quot;a!toJson()&amp;quot; function for a working example of what JSON will look like.&amp;nbsp; What you&amp;#39;ve shared here is simply SAIL code (which is just fine), but it has nothing to do with JSON.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>