<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/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 can I set a NULL value with window.handleItemChange?</title><link>https://www.aras.com/community/f/development/5711/how-can-i-set-a-null-value-with-window-handleitemchange</link><description>Hi, 
 I am pretty sure this one is easy to solve, but I weren&amp;#180;t able to find a solution yet. 
 I have a Form with a regular standard button. When I click the button, Field values from a previous Item generation shall be mirrored into the current Form</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: How can I set a NULL value with window.handleItemChange?</title><link>https://www.aras.com/community/thread/2483?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 15:16:25 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:217ebe2e-97c0-4a34-b7fd-ef8a58dc77fb</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Good to know! Thanks for&amp;nbsp;checking!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I set a NULL value with window.handleItemChange?</title><link>https://www.aras.com/community/thread/2480?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 14:55:27 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:65e10481-dd09-4934-9b48-0d813a89b0d1</guid><dc:creator>Christopher Gillis</dc:creator><description>&lt;p&gt;Ah! I was testing with an item field yesterday. I can confirm that in my 11.0 SP15 environment, using handleItemChange on a text field did not set the value back to null in the database. I checked our records, and it seems like this is filed to be changed but is not yet scheduled for a specific release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I set a NULL value with window.handleItemChange?</title><link>https://www.aras.com/community/thread/2479?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 14:42:37 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:cac0fcef-fbd9-4965-9f71-05c243da671e</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;I didn&amp;acute;t assue that this little issue would become so interesting. &lt;br /&gt;There is nothing wrong with window.handleItemChange.&lt;/p&gt;
&lt;p&gt;What I have seen yesterday seems to be some kind of regular text field behaviour, at least in my Innovator 11SP11.&lt;br /&gt;Once a text field contains a value, it can never be reset to zero. It can only be reset to an empty string.&lt;/p&gt;
&lt;p&gt;Steps to reproduce:&lt;br /&gt;1. Open an Item that contains a Form with regular fields&lt;br /&gt;2. Add a value into one of the string fields (e.g. name) and save the item &lt;br /&gt;3. Now delete the value from the text field and save again -&amp;gt; empty string instead of NULL will be set!&lt;/p&gt;
&lt;p&gt;This is no problem for my current use case, just was suprised about this behaviour.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I set a NULL value with window.handleItemChange?</title><link>https://www.aras.com/community/thread/2476?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 13:50:02 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:1bd4d455-4d03-47c3-a840-e2615da73ac5</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Hi Chris,&lt;/p&gt;
&lt;p&gt;Thanks for testing! I was pretty sure it did not work yesterday. Absolutly sure. But now it suddenly works also with my Innovator 11 SP11. The problem was probably my overengineered &amp;#39;if&amp;#39; query, that I do not need at all. I like these mysterious problems that resolve themselves overnight.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I set a NULL value with window.handleItemChange?</title><link>https://www.aras.com/community/thread/2472?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 15:24:51 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:90507d78-9a26-4124-b523-c962851da4ed</guid><dc:creator>Christopher Gillis</dc:creator><description>&lt;p&gt;Hi Angela,&lt;/p&gt;
&lt;p&gt;Could you confirm which version of Innovator you are using? I just ran a quick test in an 11.0 SP15 instance I have set up, and it seems that using&amp;nbsp;&lt;strong&gt;handleItemChange&lt;/strong&gt; with an empty string will set the value in the database to null in this version.&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>