<?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: GUI Interface to search Vault and open Inventor .idw in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/gui-interface-to-search-vault-and-open-inventor-idw/m-p/9708562#M114995</link>
    <description>&lt;P&gt;in an independent .exe app ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can create a&amp;nbsp;VDF.Vault.Currency.Connections.Connection object,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a search condition using your parameters and then find the file using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;connection.WebServiceManager.DocumentService.FindFilesBySearchConditions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check if file version matches local version (if there is) otherwise, get the file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marshal to your inventor application and open the file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it what you have in mind ?&lt;/P&gt;</description>
    <pubDate>Mon, 24 Aug 2020 15:42:40 GMT</pubDate>
    <dc:creator>yan.gauthier</dc:creator>
    <dc:date>2020-08-24T15:42:40Z</dc:date>
    <item>
      <title>GUI Interface to search Vault and open Inventor .idw</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/gui-interface-to-search-vault-and-open-inventor-idw/m-p/9708325#M114990</link>
      <description>&lt;P&gt;Good morning Forum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I asked the question over on the Vault Customization Forum last week and was directed back to using the iLogic Forms. I need this GUI Interface to be independent from Vault/Inventor but drive both of them. Just thought I would post here to see if anyone has any ideas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to use a GUI Interface to search files in Vault and open them in Inventor?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a list of six variables that I would like to implement to search vault and open the appropriate file in Inventor.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-08-21_14-11-18.jpg" style="width: 325px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/810636iE0A7F66B0EB64D8D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2020-08-21_14-11-18.jpg" alt="2020-08-21_14-11-18.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File names in Vault will be as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-08-21_14-17-27.jpg" style="width: 238px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/810637i6853B0D5FDE87F0D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2020-08-21_14-17-27.jpg" alt="2020-08-21_14-17-27.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason I ask is these six questions will result one of 512 unique files.&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;Vault 2020.2&lt;/P&gt;&lt;P&gt;Inventor 2020.3.1&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 14:19:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/gui-interface-to-search-vault-and-open-inventor-idw/m-p/9708325#M114990</guid>
      <dc:creator>Formsprag</dc:creator>
      <dc:date>2020-08-24T14:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: GUI Interface to search Vault and open Inventor .idw</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/gui-interface-to-search-vault-and-open-inventor-idw/m-p/9708562#M114995</link>
      <description>&lt;P&gt;in an independent .exe app ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can create a&amp;nbsp;VDF.Vault.Currency.Connections.Connection object,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a search condition using your parameters and then find the file using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;connection.WebServiceManager.DocumentService.FindFilesBySearchConditions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check if file version matches local version (if there is) otherwise, get the file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marshal to your inventor application and open the file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it what you have in mind ?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 15:42:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/gui-interface-to-search-vault-and-open-inventor-idw/m-p/9708562#M114995</guid>
      <dc:creator>yan.gauthier</dc:creator>
      <dc:date>2020-08-24T15:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: GUI Interface to search Vault and open Inventor .idw</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/gui-interface-to-search-vault-and-open-inventor-idw/m-p/9711180#M115091</link>
      <description>&lt;P&gt;Yes, an independent .exe or app would be perfect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was thinking by answering the six variables it would link you to the corresponding file in vault and open it as read only in Inventor. Linking the .exe or app to vault is where I get lost. Any ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 17:22:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/gui-interface-to-search-vault-and-open-inventor-idw/m-p/9711180#M115091</guid>
      <dc:creator>Formsprag</dc:creator>
      <dc:date>2020-08-25T17:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: GUI Interface to search Vault and open Inventor .idw</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/gui-interface-to-search-vault-and-open-inventor-idw/m-p/9713012#M115172</link>
      <description>&lt;P&gt;you don't need to link to vault, you can simply create a connection to the vault server.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;using Autodesk.Connectivity.WebServicesTools;

 ServerIdentities server = new ServerIdentities();
            server.DataServer = "000.000.000.000"; //Server Address
            server.FileServer = "000.000.000.000"; //Server Address
            UserPasswordCredentials login = new UserPasswordCredentials(server, "Vault", "Administrator", "", true); //True for ReadOnly
            
            using (WebServiceManager serviceManager = new WebServiceManager(login))
            {
                Folder root = serviceManager.DocumentService.GetFolderRoot();
                //Find latest version of the file in the vault
                Autodesk.Connectivity.WebServices.File[] file = serviceManager.DocumentService.FindFilesBySearchConditions();
            }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise, this method should also work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;using VDF = Autodesk.DataManagement.Client.Framework;

            VDF.Vault.Results.LogInResult logInResult = VDF.Vault.Library.ConnectionManager.LogIn
                (
                    //Server,
                    //VaultName,
                   //UserName,
                    //Password,
                    VDF.Vault.Currency.Connections.AuthenticationFlags.Standard,
                    null
                );

if (logInResult.Success)
            {
                VDF.Vault.Currency.Connections.Connection connection = logInResult.Connection;
                Autodesk.Connectivity.WebServices.File[] file = connection.WebServiceManager.DocumentService.FindFilesBySearchConditions();

            }&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 26 Aug 2020 14:10:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/gui-interface-to-search-vault-and-open-inventor-idw/m-p/9713012#M115172</guid>
      <dc:creator>yan.gauthier</dc:creator>
      <dc:date>2020-08-26T14:10:14Z</dc:date>
    </item>
  </channel>
</rss>

