<?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>editable grid missing ids</title><link>https://community.appian.com/discussions/f/user-interface/23568/editable-grid-missing-ids</link><description>Hi, 
 Please can any one help me regarding missing id-s. 
 I am using editable grid and after select a value from component pickerFieldRecords the id is not saved into local variable. What I am doing wrong? 
 Here is a code: 
 Thank you. 
 
 
 
 
 Local</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: editable grid missing ids</title><link>https://community.appian.com/thread/90381?ContentTypeID=1</link><pubDate>Mon, 31 Jan 2022 13:28:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c5095629-4390-4aae-a8b0-66f6367bd318</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Do you actually need the fields on your interface other than the ID? When you write to the database, as long as the ID is included the reference will be inserted correctly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: editable grid missing ids</title><link>https://community.appian.com/thread/90380?ContentTypeID=1</link><pubDate>Mon, 31 Jan 2022 13:03:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ca6494dd-d15d-4ad9-92a6-1239884cc949</guid><dc:creator>Robert Gracner</dc:creator><description>&lt;p&gt;The same issue&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1643634222700v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: editable grid missing ids</title><link>https://community.appian.com/thread/90379?ContentTypeID=1</link><pubDate>Mon, 31 Jan 2022 12:49:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:084b5eac-4a99-400d-8dfc-b1f9f869f386</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;did you try to change &amp;quot;value&amp;quot; as well into &amp;quot;without .id&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: editable grid missing ids</title><link>https://community.appian.com/thread/90378?ContentTypeID=1</link><pubDate>Mon, 31 Jan 2022 10:45:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aaf5007d-9ab4-4855-ac18-9e9106196b29</guid><dc:creator>Robert Gracner</dc:creator><description>&lt;p&gt;If I set saveinto without id I get an exception&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1643625942964v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: editable grid missing ids</title><link>https://community.appian.com/thread/90376?ContentTypeID=1</link><pubDate>Mon, 31 Jan 2022 10:03:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1b2c0698-5fb9-49b7-9152-1fb9e7717c15</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;Hi robert,&lt;br /&gt;on the first qucik check,&lt;br /&gt;in your pickerfield you are just adressing travelmode.id which means you are just saving a value into theID fied.&lt;br /&gt;so you have to change or adjust your saveInto accordingly.&lt;br /&gt;First shot should be: try to store without the &amp;quot;.id in your saveinto and (your value parameter as well without &amp;quot;.id&amp;quot;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;perhaps this article can support you&lt;br /&gt;&lt;a href="https://docs.appian.com/suite/help/21.4/Record_Picker_Component.html"&gt;Record Picker Component - Appian 21.4&lt;/a&gt;&lt;br /&gt;&lt;a href="https://docs.appian.com/suite/help/21.4/Custom_Picker_Component.html"&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: editable grid missing ids</title><link>https://community.appian.com/thread/90375?ContentTypeID=1</link><pubDate>Mon, 31 Jan 2022 09:43:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:124328a2-5af2-4220-a470-e9bb538902da</guid><dc:creator>Robert Gracner</dc:creator><description>&lt;p&gt;Hi Peter I&amp;nbsp;had to refactor database and changed primary key from text to integer.&lt;/p&gt;
&lt;p&gt;Now it seem that also does not populate rest of the values from CDT except primary key. I am new at Appian and maybe I do something wrong.&lt;/p&gt;
&lt;p&gt;Please could you give me some advice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1643621863103v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1643621883285v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1643622158695v6.png" /&gt;&lt;/p&gt;
&lt;p&gt;Record type&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1643622055034v4.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1643622071500v5.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1643622317552v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: editable grid missing ids</title><link>https://community.appian.com/thread/90342?ContentTypeID=1</link><pubDate>Fri, 28 Jan 2022 22:15:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:608a80cc-a8fd-4753-9158-9347555441c7</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Yeah unfortunately this is fairly extensive change - what error are you having now?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: editable grid missing ids</title><link>https://community.appian.com/thread/90339?ContentTypeID=1</link><pubDate>Fri, 28 Jan 2022 14:58:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5df48746-0ac6-4346-841d-21028d14c15d</guid><dc:creator>Robert Gracner</dc:creator><description>&lt;p&gt;I think that I broke every thing what I have done. I had to refactoring database, CDT and record type, but now is not even working &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: editable grid missing ids</title><link>https://community.appian.com/thread/90336?ContentTypeID=1</link><pubDate>Fri, 28 Jan 2022 11:09:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6849046d-1223-43f7-b163-e99543224137</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Ah. There is the issue. Because your Id column has text values that is why you are not getting the Ids while trying to save. Please change the source of id column in your record to point to the ID column of your data store entity. And then try to re-run the component. You should have the correct results.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You will also have to change the saveInto variable from&amp;nbsp;&lt;span&gt;fv!item.travelMode.display to&amp;nbsp;fv!item.travelMode.id so that ids can be saved in the dedicated column.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: editable grid missing ids</title><link>https://community.appian.com/thread/90334?ContentTypeID=1</link><pubDate>Fri, 28 Jan 2022 10:59:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3abf9022-4996-4d1a-8056-8ea537936719</guid><dc:creator>Robert Gracner</dc:creator><description>&lt;p&gt;Thank you for helping me.&lt;/p&gt;
&lt;p&gt;Both are text should I changed id to int because of pk?&lt;/p&gt;
&lt;p&gt;Here is adata preview on record type&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1643367873321v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: editable grid missing ids</title><link>https://community.appian.com/thread/90333?ContentTypeID=1</link><pubDate>Fri, 28 Jan 2022 10:56:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e293f8ca-459c-473c-a8e2-1d60d34949a3</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;The Id column is set to text. Are the values in &amp;#39;id&amp;#39; and &amp;#39;display&amp;#39; columns the same?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: editable grid missing ids</title><link>https://community.appian.com/thread/90332?ContentTypeID=1</link><pubDate>Fri, 28 Jan 2022 10:52:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e49e5dc5-bc1a-469d-b15c-836898724623</guid><dc:creator>Robert Gracner</dc:creator><description>&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1643367159038v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: editable grid missing ids</title><link>https://community.appian.com/thread/90331?ContentTypeID=1</link><pubDate>Fri, 28 Jan 2022 10:49:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:108d2db9-17ae-4ef2-93a7-c1ecb3178e70</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;It looks like you are trying to save the value in fv!item.travelMode.display, because of which the&amp;nbsp;&lt;span&gt;fv!item.travelMode.id&lt;/span&gt; is not getting updated. But when I tried the same implementation on my Appian environment, the component is saving the primary key of the record selected, unlike your case where the label is getting saved.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you please add a screenshot of the &amp;#39;Travel Mode&amp;#39; record for me to see if you have a primary key there?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: editable grid missing ids</title><link>https://community.appian.com/thread/90330?ContentTypeID=1</link><pubDate>Fri, 28 Jan 2022 10:16:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:61b16828-b3a9-44a6-acdd-dc9e093708da</guid><dc:creator>Robert Gracner</dc:creator><description>&lt;p&gt;Data type&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1643364941000v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1643364957253v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>