<?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: is it possbile to listen to the UpdateFileLifecycleStateEvents in standalone in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/is-it-possbile-to-listen-to-the-updatefilelifecyclestateevents/m-p/8916431#M5038</link>
    <description>&lt;P&gt;thanks for the reply, and i will try your ideal.&lt;/P&gt;&lt;P&gt;also i have post my other question at&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/vault-customization/is-it-possible-to-run-a-job-within-a-cusmomized-job/td-p/8916425" target="_blank"&gt;https://forums.autodesk.com/t5/vault-customization/is-it-possible-to-run-a-job-within-a-cusmomized-job/td-p/8916425&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for all your input.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jul 2019 08:50:22 GMT</pubDate>
    <dc:creator>chenghongjieRP3JG</dc:creator>
    <dc:date>2019-07-18T08:50:22Z</dc:date>
    <item>
      <title>is it possbile to listen to the UpdateFileLifecycleStateEvents in standalone exe</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/is-it-possbile-to-listen-to-the-updatefilelifecyclestateevents/m-p/8860850#M5031</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I want to run a standalone exe on the vault server,&amp;nbsp; in the exe i want to listen to the DocumentServiceExtensions.UpdateFileLifecycleStateEvents&amp;nbsp; when user start that exe application,&lt;/P&gt;&lt;P&gt;but when i change a file lifecyle state, the event is not fired.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;and if i put similar code to an explorer extension, which is an extension of Vault Profession 2018,&lt;/P&gt;&lt;P&gt;when a file lifecyle state changed, the event will fired.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so my quesiton is how i can monitor any file lifecyle state events in a standalone exe application?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 16:26:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/is-it-possbile-to-listen-to-the-updatefilelifecyclestateevents/m-p/8860850#M5031</guid>
      <dc:creator>chenghongjieRP3JG</dc:creator>
      <dc:date>2019-06-19T16:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: is it possbile to listen to the UpdateFileLifecycleStateEvents in standalone</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/is-it-possbile-to-listen-to-the-updatefilelifecyclestateevents/m-p/8860864#M5032</link>
      <description>&lt;P&gt;related code as below, private void ConnectToVaultServer() { VDF.Vault.Forms.Settings.LoginSettings settings = new VDF.Vault.Forms.Settings.LoginSettings(); _VaultConnection = VDF.Vault.Forms.Library.Login(settings); if (_VaultConnection == null) { MessageBox.Show("Failed to connect to Vault Server"); return; } DocumentServiceExtensions.UpdateFileLifecycleStateEvents.Post += new EventHandler(UpdateFileLifecycleStateEvents_Post); ItemService.UpdateItemLifecycleStateEvents.Post += new EventHandler(UpdateItemLifecycleStateEvents_Post); }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the event is not fired when i run the standalone exe and change a file lifecyle state in Vault Professional 2018. but if i&lt;/P&gt;&lt;P&gt;run the code an extention of Vault profession 2018 explorer, the event can be fired.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 16:33:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/is-it-possbile-to-listen-to-the-updatefilelifecyclestateevents/m-p/8860864#M5032</guid>
      <dc:creator>chenghongjieRP3JG</dc:creator>
      <dc:date>2019-06-19T16:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: is it possbile to listen to the UpdateFileLifecycleStateEvents in standalone</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/is-it-possbile-to-listen-to-the-updatefilelifecyclestateevents/m-p/8907532#M5033</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In my opinion there is no such a possibility. These events are fired when You use IWebServiceExtension implementation. I would do that like that:&lt;/P&gt;&lt;P&gt;1) Implement IWebServiceExtension for desired event,&lt;/P&gt;&lt;P&gt;2) In that event I would execute code to make a simple request to WCF service,&lt;/P&gt;&lt;P&gt;3) WCF service hosted on IIS or as Windows Service would execute desired bussines logic (that one You implemented in standalone app).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Of course I would make such an architecture only if IWebServiceExtension extension can't for some reason execute bussines logic directly.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2019 10:24:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/is-it-possbile-to-listen-to-the-updatefilelifecyclestateevents/m-p/8907532#M5033</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-13T10:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: is it possbile to listen to the UpdateFileLifecycleStateEvents in standalone</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/is-it-possbile-to-listen-to-the-updatefilelifecyclestateevents/m-p/8911434#M5034</link>
      <description>&lt;P&gt;thanks for the reply, I am out of town for the past server days.&lt;/P&gt;&lt;P&gt;and your input did helps, given me another ideal on how to handle the business logic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but the key point i want like to resolve is that I want to Monitor the LifeCycleChange events on the Server side,&lt;/P&gt;&lt;P&gt;if i can not monitor the change, i have to deploy my Vault extention to all the Client machines(which run Vault Professional 2018..) , thus will lead to a big effor to installation.&amp;nbsp;&amp;nbsp; so i just want to be able to be notified when a file/item lifecyle changed on every Client mache, a ID is enough, and with that i can do my business logic only on a specific server(machine), no need to install on all the client.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do u have any ideal on that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 09:22:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/is-it-possbile-to-listen-to-the-updatefilelifecyclestateevents/m-p/8911434#M5034</guid>
      <dc:creator>chenghongjieRP3JG</dc:creator>
      <dc:date>2019-07-16T09:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: is it possbile to listen to the UpdateFileLifecycleStateEvents in standalone</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/is-it-possbile-to-listen-to-the-updatefilelifecyclestateevents/m-p/8911464#M5035</link>
      <description>&lt;P&gt;Three solutions:&lt;/P&gt;&lt;P&gt;1) That one I described. IWebServiceExtension implementation, simple one that calls WEB API on one of your servers, sending only MasterIds and StateIds indicating state change and then do your bussiness logic on server side - this is the solution You want to ommit, bcause You will have to install this simple extension on every Vault Client You have in your company (there is no server extension unfortunatelly),&lt;/P&gt;&lt;P&gt;2) Hack: on Vault server side listen TCP connections and filter WebService calls regarding state change then fire You bussines logic,&lt;/P&gt;&lt;P&gt;3) Add trigger on Vault DB tables regarding state change then call RPC from such trigger to call Your bussiness logic on Your Windows Service hosting WCF (dirty one I know:) )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's all that comes to my mind at the moment.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 09:40:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/is-it-possbile-to-listen-to-the-updatefilelifecyclestateevents/m-p/8911464#M5035</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-16T09:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: is it possbile to listen to the UpdateFileLifecycleStateEvents in standalone</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/is-it-possbile-to-listen-to-the-updatefilelifecyclestateevents/m-p/8914918#M5036</link>
      <description>&lt;P&gt;thanks for the reply, seems i have to take a hack way to resolve my problem.&lt;/P&gt;&lt;P&gt;so for the solution 2,&amp;nbsp; is it doable? i did not do this kind of hack before.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;another question, is it posssible to create a custom job,and withtin that job, we start the pdf publish job, then when the customer job is done its execution, the pdf publish job is also done. or&amp;nbsp; can i trigger two jobs one by one, one is publish pdf, the other custom job is following that pdf publish job, and i need to make sure the first job is executed before the second one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 15:50:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/is-it-possbile-to-listen-to-the-updatefilelifecyclestateevents/m-p/8914918#M5036</guid>
      <dc:creator>chenghongjieRP3JG</dc:creator>
      <dc:date>2019-07-17T15:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: is it possbile to listen to the UpdateFileLifecycleStateEvents in standalone</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/is-it-possbile-to-listen-to-the-updatefilelifecyclestateevents/m-p/8916309#M5037</link>
      <description>&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Yes, it's doable, but I must warn You it's not simple task. If I were You I would take a look at IIS ISAPI Filters to write your own "extension" for IIS Server in order to intercept incomming requests and then analyze them to trigger sending messages to yours, for example, WEB API or WCF service.&lt;/P&gt;&lt;P&gt;2) About staring job in a job - please make another topic regading this use case, because title of that topic has nothing in common with Job Processor and we want to keep an order and information for other community users whiele they'll be searching for solutions.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 07:44:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/is-it-possbile-to-listen-to-the-updatefilelifecyclestateevents/m-p/8916309#M5037</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-18T07:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: is it possbile to listen to the UpdateFileLifecycleStateEvents in standalone</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/is-it-possbile-to-listen-to-the-updatefilelifecyclestateevents/m-p/8916431#M5038</link>
      <description>&lt;P&gt;thanks for the reply, and i will try your ideal.&lt;/P&gt;&lt;P&gt;also i have post my other question at&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/vault-customization/is-it-possible-to-run-a-job-within-a-cusmomized-job/td-p/8916425" target="_blank"&gt;https://forums.autodesk.com/t5/vault-customization/is-it-possible-to-run-a-job-within-a-cusmomized-job/td-p/8916425&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for all your input.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 08:50:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/is-it-possbile-to-listen-to-the-updatefilelifecyclestateevents/m-p/8916431#M5038</guid>
      <dc:creator>chenghongjieRP3JG</dc:creator>
      <dc:date>2019-07-18T08:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: is it possbile to listen to the UpdateFileLifecycleStateEvents in standalone</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/is-it-possbile-to-listen-to-the-updatefilelifecyclestateevents/m-p/8948437#M5039</link>
      <description>&lt;P&gt;Yes, it's possible, though I'd have to get with one of the developers on my team to see how he did it.&amp;nbsp; We have a "tray application" - which is a standalone app, that listens for life cycle changes and does things accordingly.&amp;nbsp; If I remember correctly, what actually happens is there is a vault plugin that is loaded when the client app loads, and it uses an interface to dispatch event notifications to a web service written by us, that then sends the notifications to 'listeners', which is the tray application.&amp;nbsp; It sounds complicated because quite frankly it IS complicated, but you can certainly do it.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2019 12:53:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/is-it-possbile-to-listen-to-the-updatefilelifecyclestateevents/m-p/8948437#M5039</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-05T12:53:58Z</dc:date>
    </item>
  </channel>
</rss>

