<?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: Problem with IExplorerUtil.UpdateFileProperties and AutoCAD... in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/problem-with-iexplorerutil-updatefileproperties-and-autocad/m-p/4297146#M11238</link>
    <description>&lt;P&gt;&lt;SPAN&gt;We have logged a report for this issue to our engineering team [IExplorerUtil.UpdateFileProperties does not update mapped AutoCAD properties]&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jun 2013 03:50:07 GMT</pubDate>
    <dc:creator>Daniel.Du</dc:creator>
    <dc:date>2013-06-13T03:50:07Z</dc:date>
    <item>
      <title>Problem with IExplorerUtil.UpdateFileProperties and AutoCAD...</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/problem-with-iexplorerutil-updatefileproperties-and-autocad/m-p/3841743#M11236</link>
      <description>&lt;P&gt;So here's the problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When trying to update a mapped UDP on a DWG&amp;nbsp; file (AutoCAD Mechanical) inside the Vault Explorer via Edit Properties it works like a charm and both properties (Vault and also ACADM) are good.&lt;/P&gt;&lt;P&gt;Unfortunelty when trying to update the exact same property on the excat same file via the Vault API (IExplorerUtil.UpdateFileProperties) it doesn't work like a charm as you can see here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="problemAPI_ACADM.png" align="middle" title="problemAPI_ACADM.png" src="https://forums.autodesk.com/t5/image/serverpage/image-id/50289i3A1C663EADFBD22A/image-size/large?v=mpbl-1&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The value 'test' is not updated inside of the DWG file for any reason!&lt;/P&gt;&lt;P&gt;For testing purposes I've put the source code for updating properties to a console app:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Services;

using Autodesk.Connectivity.Explorer.ExtensibilityTools;
using Autodesk.Connectivity.Explorer.Extensibility;
using Autodesk.Connectivity.WebServices;
using Autodesk.Connectivity.WebServicesTools;

namespace VaulttSandbox
{
    class Program
    {
        private static UserPasswordCredentials _cred;
        private static WebServiceManager _srvMgr;

        static void Main(string[] args)
        {
            _cred = null;
            _cred = new UserPasswordCredentials("***", "***", "Administrator", "***");
            _srvMgr = new WebServiceManager(_cred);

            File[] aal = _srvMgr.DocumentService.GetLatestFilesByFolderId(12, false);
            File myDrawing = aal.FirstOrDefault(x =&amp;gt; x.Name == "Zeichnung_BRE.dwg");            


            // initialise properties dictionary
            Dictionary&amp;lt;PropDef, object&amp;gt; propertiesDict = new Dictionary&amp;lt;PropDef, object&amp;gt;();            
            PropDefInfo[] propDefInfo = _srvMgr.PropertyService.GetPropertyDefinitionInfosByEntityClassId("FILE", null);
            propertiesDict.Add(propDefInfo.FirstOrDefault(x =&amp;gt; x.PropDef.DispName == "Initial Created By").PropDef, "test");


            // update properties
            IExplorerUtil explUtil = ExplorerLoader.LoadExplorerUtil(
                        _cred.ServerName,
                        _cred.VaultName,
                        _srvMgr.SecurityService.SecurityHeader.UserId,
                        _srvMgr.SecurityService.SecurityHeader.Ticket);
            explUtil.UpdateFileProperties(myDrawing, propertiesDict);
            
            Console.WriteLine("Press any key...");
            Console.ReadLine();
        }
    }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some more informationen:&lt;/P&gt;&lt;P&gt;- when running the above code there occurs no exception&lt;/P&gt;&lt;P&gt;- using VS Express 2012 Windows Desktop / Vault Pro 2013 Update 1&lt;/P&gt;&lt;P&gt;- target framework: .NET 4.0&lt;/P&gt;&lt;P&gt;- when trying to update a inventor file via the Vault API there is no problem at all&lt;/P&gt;&lt;P&gt;- problems with property mapping is out of question, because property could be edit via Vault Explorer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2013 11:22:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/problem-with-iexplorerutil-updatefileproperties-and-autocad/m-p/3841743#M11236</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-09T11:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with IExplorerUtil.UpdateFileProperties and AutoCAD...</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/problem-with-iexplorerutil-updatefileproperties-and-autocad/m-p/4297146#M11238</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We have logged a report for this issue to our engineering team [IExplorerUtil.UpdateFileProperties does not update mapped AutoCAD properties]&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2013 03:50:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/problem-with-iexplorerutil-updatefileproperties-and-autocad/m-p/4297146#M11238</guid>
      <dc:creator>Daniel.Du</dc:creator>
      <dc:date>2013-06-13T03:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with IExplorerUtil.UpdateFileProperties and AutoCAD...</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/problem-with-iexplorerutil-updatefileproperties-and-autocad/m-p/4552609#M11239</link>
      <description>It doesn't work for bi-directional inventor iProperties either, it seems.&lt;BR /&gt;&lt;BR /&gt;Is there any information on this?</description>
      <pubDate>Wed, 23 Oct 2013 19:29:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/problem-with-iexplorerutil-updatefileproperties-and-autocad/m-p/4552609#M11239</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-23T19:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with IExplorerUtil.UpdateFileProperties and AutoCAD...</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/problem-with-iexplorerutil-updatefileproperties-and-autocad/m-p/4553163#M11240</link>
      <description>Install the latest update and the latest hotfix on top of that and give it another go. Does that make and difference? We got the problem solved by doing this..&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pim</description>
      <pubDate>Thu, 24 Oct 2013 01:09:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/problem-with-iexplorerutil-updatefileproperties-and-autocad/m-p/4553163#M11240</guid>
      <dc:creator>psaarloos</dc:creator>
      <dc:date>2013-10-24T01:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with IExplorerUtil.UpdateFileProperties and AutoCAD...</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/problem-with-iexplorerutil-updatefileproperties-and-autocad/m-p/5701294#M11241</link>
      <description>&lt;P&gt;I have the same issue on Vault 2014 Professional SR1 SP2. So it's likely not the updates fixing it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2015 10:59:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/problem-with-iexplorerutil-updatefileproperties-and-autocad/m-p/5701294#M11241</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-01T10:59:12Z</dc:date>
    </item>
  </channel>
</rss>

