<?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 a boolean property using API in Vault Forum</title>
    <link>https://forums.autodesk.com/t5/vault-forum/update-a-boolean-property-using-api/m-p/2769718#M50337</link>
    <description>&lt;P&gt;Error 0 can mean many things, it might not be the property value.&amp;nbsp; Have a look a &lt;A href="http://justonesandzeros.typepad.com/blog/2010/01/error-code-0.html" target="_self" rel="nofollow"&gt;this blog article&lt;/A&gt; for tips on how to handle the error.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Sep 2010 23:44:40 GMT</pubDate>
    <dc:creator>Redmond.D</dc:creator>
    <dc:date>2010-09-13T23:44:40Z</dc:date>
    <item>
      <title>Update a boolean property using API</title>
      <link>https://forums.autodesk.com/t5/vault-forum/update-a-boolean-property-using-api/m-p/2769084#M50336</link>
      <description>&lt;P&gt;How do I update a boolean property using API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mDocSvc.UpdateFileProperties(new long[] { file.MasterId }, new long[] { propDefId }, new object[] { true });&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"new object[] { true }" does not work. I've tried a cuple of alternatives using string "True", integer 1 etc., but all of them gick me an exception with error code 0 (UnspecifiedSystemException). The file does exists and in Vault Explorer I can change the property value between True and False in a dropdown combobox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 13:32:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/update-a-boolean-property-using-api/m-p/2769084#M50336</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-13T13:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Update a boolean property using API</title>
      <link>https://forums.autodesk.com/t5/vault-forum/update-a-boolean-property-using-api/m-p/2769718#M50337</link>
      <description>&lt;P&gt;Error 0 can mean many things, it might not be the property value.&amp;nbsp; Have a look a &lt;A href="http://justonesandzeros.typepad.com/blog/2010/01/error-code-0.html" target="_self" rel="nofollow"&gt;this blog article&lt;/A&gt; for tips on how to handle the error.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 23:44:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/update-a-boolean-property-using-api/m-p/2769718#M50337</guid>
      <dc:creator>Redmond.D</dc:creator>
      <dc:date>2010-09-13T23:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Update a boolean property using API</title>
      <link>https://forums.autodesk.com/t5/vault-forum/update-a-boolean-property-using-api/m-p/2769882#M50338</link>
      <description>&lt;P&gt;Thanks! That solved my problem!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was too focused on the boolean value, I didn't realize the file had to be checked out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2010 07:55:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/update-a-boolean-property-using-api/m-p/2769882#M50338</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-14T07:55:32Z</dc:date>
    </item>
  </channel>
</rss>

