<?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 Vault 2016 Pro - remove item-file link or change secondary to primary in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-2016-pro-remove-item-file-link-or-change-secondary-to/m-p/5842480#M8993</link>
    <description>&lt;P&gt;When converting an AutoCAD&amp;nbsp;dwg to Inventor&amp;nbsp;model and idw, I need to change the Vault item&amp;nbsp;primary file link from the dwg to the model. I was able to do this in Vault 2014 using UpdateAndCommitItems. How is this done in Vault 2016&lt;/P&gt;</description>
    <pubDate>Fri, 02 Oct 2015 15:17:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-02T15:17:33Z</dc:date>
    <item>
      <title>Vault 2016 Pro - remove item-file link or change secondary to primary</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-2016-pro-remove-item-file-link-or-change-secondary-to/m-p/5842480#M8993</link>
      <description>&lt;P&gt;When converting an AutoCAD&amp;nbsp;dwg to Inventor&amp;nbsp;model and idw, I need to change the Vault item&amp;nbsp;primary file link from the dwg to the model. I was able to do this in Vault 2014 using UpdateAndCommitItems. How is this done in Vault 2016&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 15:17:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-2016-pro-remove-item-file-link-or-change-secondary-to/m-p/5842480#M8993</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-02T15:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Vault 2016 Pro - remove item-file link or change secondary to primary</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-2016-pro-remove-item-file-link-or-change-secondary-to/m-p/5844577#M8994</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i can suggest you to use vapiTrace a little free Tool, which allows you to &lt;SPAN&gt;see which API functions are called with which arguments and what the response from the Vault server is.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I changed the secondary Link to a primary Link&amp;nbsp;via the vaultExplorer and traced the API calls from Vault (see attached file).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There are three important function which have to be called in order to achieve your goal:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="line-height: 16.8px;"&gt;ItemService.EditItems&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 16.8px;"&gt;ItemService.UpdateItemFileAssociations&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;ItemService.UpdateAndCommitItems&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can check out the tool here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blog.coolorange.com/2014/09/12/tracing-the-vault-api/" target="_self" rel="nofollow"&gt;http://blog.coolorange.com/2014/09/12/tracing-the-vault-api/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hope it helps,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2015 06:53:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-2016-pro-remove-item-file-link-or-change-secondary-to/m-p/5844577#M8994</guid>
      <dc:creator>manuel.lanthaler</dc:creator>
      <dc:date>2015-10-05T06:53:40Z</dc:date>
    </item>
  </channel>
</rss>

