<?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: Handle DocumentSercive.CheckInFileEvents (Vault API) in an Inventor Add in in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/handle-documentsercive-checkinfileevents-vault-api-in-an/m-p/8499003#M92853</link>
    <description>&lt;P&gt;I understand your approach, but unfortunately we will start with vault basic in the next few month, just to gain some experience.&amp;nbsp;After gaining some &lt;SPAN&gt;experiences we may be upgrading to vault professional.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Until now we worked without vault and we decided to test the vault basic environment, and so I just started with some inventor &lt;FONT&gt;customizations&lt;/FONT&gt; to make the work experience smoother.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have already noticed the &lt;FONT&gt;possibility &lt;/FONT&gt;for the vault client extensions, but I did not have the idea to it for capturing vault events.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nevertheless extensions are not available for our vault basic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you anyway for the note.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I try to solve my problem without using vault events.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jan 2019 19:14:28 GMT</pubDate>
    <dc:creator>mr</dc:creator>
    <dc:date>2019-01-03T19:14:28Z</dc:date>
    <item>
      <title>Handle DocumentSercive.CheckInFileEvents (Vault API) in an Inventor Add in</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/handle-documentsercive-checkinfileevents-vault-api-in-an/m-p/8493664#M92782</link>
      <description>&lt;P&gt;Is it possible to possible to handle events from the vault API into an inventor add in?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My plan is to perform certain tasks automatically after checking in a file into the vault&lt;/SPAN&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's why I&amp;nbsp;tested various handlers for events, but the events aren't fired.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;        Implements IWebServiceExtension

            AddHandler DocumentService.CheckinFileEvents.Pre, AddressOf CheckIn
            AddHandler DocumentService.AddFileEvents.Pre, AddressOf AddFile

        Private Sub CheckIn(ByVal sender As Object, ByVal e As CheckinFileCommandEventArgs)
            MsgBox("Test")
        End Sub

        Private Sub AddFile(ByVal sender As Object, ByVal e As AddFileCommandEventArgs)
            MsgBox("Test")
        End Sub&lt;/PRE&gt;
&lt;P&gt;At the add in start up the event handlers will be added, but during a file check in the events are not fired.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I think the events are fired by the vault client&lt;/SPAN&gt; and my inventor add in doesn't get noticed from that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to handle events from the vault into an inventor add in?&lt;/P&gt;
&lt;DIV class="tlid-input input"&gt;
&lt;DIV class="source-wrap"&gt;
&lt;DIV class="input-full-height-wrapper tlid-input-full-height-wrapper"&gt;
&lt;DIV class="source-input"&gt;
&lt;DIV class="source-header"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="source-header"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="tlid-results-container results-container"&gt;
&lt;DIV class="tlid-result result-dict-wrapper"&gt;
&lt;DIV class="result tlid-copy-target"&gt;
&lt;DIV class="text-wrap tlid-copy-target"&gt;
&lt;DIV class="result-shield-container tlid-copy-target"&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN&gt;I hope someone has an idea for me, best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="result-shield-container tlid-copy-target"&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN&gt;Marcel Ruzbacky&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 31 Dec 2018 12:00:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/handle-documentsercive-checkinfileevents-vault-api-in-an/m-p/8493664#M92782</guid>
      <dc:creator>mr</dc:creator>
      <dc:date>2018-12-31T12:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Handle DocumentSercive.CheckInFileEvents (Vault API) in an Inventor Add in</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/handle-documentsercive-checkinfileevents-vault-api-in-an/m-p/8496973#M92827</link>
      <description>&lt;P&gt;The answer is Yes it can be done.&amp;nbsp; The path is not to pretty.&amp;nbsp; But Autodesk did provide an API for event listening with Vault Professional (as well as Workgroup and Collaboration, but not Basic).&amp;nbsp; In the Vault Pro SDK file (Vault SDK.chm) there is a topic under Getting Started, called How to handle events.&amp;nbsp; The first paragraph states:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"If you want to customize the business logic, you can write event handlers.&amp;nbsp; These handlers will receive notification whenever a Vault client on that machine does an action that you subscribed to.&amp;nbsp; For example if a program tries to check in a file, your code can get notified of that action.&amp;nbsp; Then you can proceed to block the operation or perform additional tasks."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then it has you proceed to create a project library (dll) to work with the iWebServiceExtension interface and register it as any other Vault Extension is registered (I've written a vault extension with approx. 7 commands and a few WPF screens).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've not tried this, but it sure does look interesting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 22:33:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/handle-documentsercive-checkinfileevents-vault-api-in-an/m-p/8496973#M92827</guid>
      <dc:creator>JamieVJohnson2</dc:creator>
      <dc:date>2019-01-02T22:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Handle DocumentSercive.CheckInFileEvents (Vault API) in an Inventor Add in</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/handle-documentsercive-checkinfileevents-vault-api-in-an/m-p/8499003#M92853</link>
      <description>&lt;P&gt;I understand your approach, but unfortunately we will start with vault basic in the next few month, just to gain some experience.&amp;nbsp;After gaining some &lt;SPAN&gt;experiences we may be upgrading to vault professional.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Until now we worked without vault and we decided to test the vault basic environment, and so I just started with some inventor &lt;FONT&gt;customizations&lt;/FONT&gt; to make the work experience smoother.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have already noticed the &lt;FONT&gt;possibility &lt;/FONT&gt;for the vault client extensions, but I did not have the idea to it for capturing vault events.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nevertheless extensions are not available for our vault basic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you anyway for the note.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I try to solve my problem without using vault events.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2019 19:14:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/handle-documentsercive-checkinfileevents-vault-api-in-an/m-p/8499003#M92853</guid>
      <dc:creator>mr</dc:creator>
      <dc:date>2019-01-03T19:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Handle DocumentSercive.CheckInFileEvents (Vault API) in an Inventor Add in</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/handle-documentsercive-checkinfileevents-vault-api-in-an/m-p/8499012#M92854</link>
      <description>Use Fiddler to capture the 'web traffic' and you can see, even in Vault Basic, when the calls to the web service are being made.  That's the only way around (capturing windows events more generically), because the API does not exist in Vault Basic.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jan 2019 19:18:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/handle-documentsercive-checkinfileevents-vault-api-in-an/m-p/8499012#M92854</guid>
      <dc:creator>JamieVJohnson2</dc:creator>
      <dc:date>2019-01-03T19:18:06Z</dc:date>
    </item>
  </channel>
</rss>

