<?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: Update DATE and BOOLEAN properties using JavaScript? in InfraWorks Forum</title>
    <link>https://forums.autodesk.com/t5/infraworks-forum/update-date-and-boolean-properties-using-javascript/m-p/9094352#M7678</link>
    <description>&lt;P&gt;Just wanted to follow-up and say I figured out what was wrong with the code. I was having a brain fade and had forgot to convert the data (which is text because it's in a CSV file) to DateTime and Boolean objects so InfraWorks can read it properly.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Oct 2019 10:22:34 GMT</pubDate>
    <dc:creator>Matt__W</dc:creator>
    <dc:date>2019-10-18T10:22:34Z</dc:date>
    <item>
      <title>Update DATE and BOOLEAN properties using JavaScript?</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/update-date-and-boolean-properties-using-javascript/m-p/9074399#M7677</link>
      <description>&lt;P&gt;How does one go about updating properties such as DATE and BOOLEAN using JavaScript? I'm using a script similar to the one in &lt;A href="https://knowledge.autodesk.com/search-result/caas/simplecontent/content/update-infraworks-360-data-using-javascript-and-csv-file.html" target="_blank" rel="noopener"&gt;this AKN I wrote a few years ago&lt;/A&gt; but I can't seem to get any properties that are either a date or boolean to update. I'm not sure if it's a formatting issue in the CSV file or if it's just not possible. I exported all building data from my model using the DATA TABLE &amp;gt; CSV EXPORT ALL function. I then made some edits to that file hoping I could update the model. I would assume the formatting for dates and booleans could be pushed back into InfraWorks as-is since the formatting in the CSV came directly from InfraWorks. Is it not possible with those two data types? Integer, double and string all update successfully.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2019 19:44:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/update-date-and-boolean-properties-using-javascript/m-p/9074399#M7677</guid>
      <dc:creator>Matt__W</dc:creator>
      <dc:date>2019-10-08T19:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Update DATE and BOOLEAN properties using JavaScript?</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/update-date-and-boolean-properties-using-javascript/m-p/9094352#M7678</link>
      <description>&lt;P&gt;Just wanted to follow-up and say I figured out what was wrong with the code. I was having a brain fade and had forgot to convert the data (which is text because it's in a CSV file) to DateTime and Boolean objects so InfraWorks can read it properly.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 10:22:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/update-date-and-boolean-properties-using-javascript/m-p/9094352#M7678</guid>
      <dc:creator>Matt__W</dc:creator>
      <dc:date>2019-10-18T10:22:34Z</dc:date>
    </item>
  </channel>
</rss>

