<?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 API - double vision after the custom command execution in 2020.1 in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-api-double-vision-after-the-custom-command-execution-in/m-p/8976136#M4816</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;In my Vault Explorer extension, I have a custom command that updates an item. After this command is executed I need to force refresh the Vault Explorer UI because the user should see the changes.&lt;/P&gt;&lt;P&gt;To achieve this I used in the previous Vault versions this code:&lt;/P&gt;&lt;P&gt;ICommandContext.GoToLocation = ….&lt;/P&gt;&lt;P&gt;OR / AND&lt;/P&gt;&lt;P&gt;ICommandContext.ForceRefresh = true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since my Vault Explorer has been updated to 2020.1 I am experiencing the following issue within the Vault Item master.&lt;/P&gt;&lt;P&gt;After my custom command is finished, I can the see the updated item in the extra row - this happens after setting ForceRefresh to true:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Elephant_ForceRefresh_Result.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/668533i4F6E8F88DA6E6828/image-size/large?v=v2&amp;amp;px=999" role="button" title="Elephant_ForceRefresh_Result.png" alt="Elephant_ForceRefresh_Result.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and this happens after setting GoToLocation:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Elephant_GoToLoc_Result.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/668534i487741ED13F6E6FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Elephant_GoToLoc_Result.png" alt="Elephant_GoToLoc_Result.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see I use the localized version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To reproduce the issue:&lt;/P&gt;&lt;P&gt;I enclose the simple Vault Explorer extension “Elephant” – you can install it by copying the contents of the ElephantExtension.zip file into the folder: c:\ProgramData\Autodesk\Vault 2020\Extensions\.&lt;/P&gt;&lt;P&gt;The source code is enclosed in ElephantSourceCode.zip&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This extension implements three commands within the Vault item context menu.&lt;/P&gt;&lt;P&gt;All these commands modify the selected item (the item description is updated). After the command is finished, you can see the extra row in the Vault Explorer list view (top right pane).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am kindly asking to fix this behaviour.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bronislav&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2019 14:21:37 GMT</pubDate>
    <dc:creator>Bronislav.Simunek</dc:creator>
    <dc:date>2019-08-20T14:21:37Z</dc:date>
    <item>
      <title>Vault API - double vision after the custom command execution in 2020.1</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-api-double-vision-after-the-custom-command-execution-in/m-p/8976136#M4816</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;In my Vault Explorer extension, I have a custom command that updates an item. After this command is executed I need to force refresh the Vault Explorer UI because the user should see the changes.&lt;/P&gt;&lt;P&gt;To achieve this I used in the previous Vault versions this code:&lt;/P&gt;&lt;P&gt;ICommandContext.GoToLocation = ….&lt;/P&gt;&lt;P&gt;OR / AND&lt;/P&gt;&lt;P&gt;ICommandContext.ForceRefresh = true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since my Vault Explorer has been updated to 2020.1 I am experiencing the following issue within the Vault Item master.&lt;/P&gt;&lt;P&gt;After my custom command is finished, I can the see the updated item in the extra row - this happens after setting ForceRefresh to true:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Elephant_ForceRefresh_Result.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/668533i4F6E8F88DA6E6828/image-size/large?v=v2&amp;amp;px=999" role="button" title="Elephant_ForceRefresh_Result.png" alt="Elephant_ForceRefresh_Result.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and this happens after setting GoToLocation:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Elephant_GoToLoc_Result.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/668534i487741ED13F6E6FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Elephant_GoToLoc_Result.png" alt="Elephant_GoToLoc_Result.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see I use the localized version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To reproduce the issue:&lt;/P&gt;&lt;P&gt;I enclose the simple Vault Explorer extension “Elephant” – you can install it by copying the contents of the ElephantExtension.zip file into the folder: c:\ProgramData\Autodesk\Vault 2020\Extensions\.&lt;/P&gt;&lt;P&gt;The source code is enclosed in ElephantSourceCode.zip&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This extension implements three commands within the Vault item context menu.&lt;/P&gt;&lt;P&gt;All these commands modify the selected item (the item description is updated). After the command is finished, you can see the extra row in the Vault Explorer list view (top right pane).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am kindly asking to fix this behaviour.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bronislav&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 14:21:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-api-double-vision-after-the-custom-command-execution-in/m-p/8976136#M4816</guid>
      <dc:creator>Bronislav.Simunek</dc:creator>
      <dc:date>2019-08-20T14:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Vault API - double vision after the custom command execution in 2020.1</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-api-double-vision-after-the-custom-command-execution-in/m-p/9807913#M4817</link>
      <description>&lt;P&gt;Hi Bronislav,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I confirm I can see this behavior in our 2020 extension too, it was not present in our 2016 and 2018 extensions.&lt;/P&gt;&lt;P&gt;I'm not sure for how long it been like that...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you found a solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;Francis Harvey&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 20:09:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-api-double-vision-after-the-custom-command-execution-in/m-p/9807913#M4817</guid>
      <dc:creator>francis.harvey</dc:creator>
      <dc:date>2020-10-16T20:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Vault API - double vision after the custom command execution in 2020.1</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-api-double-vision-after-the-custom-command-execution-in/m-p/9814974#M4818</link>
      <description>&lt;P&gt;Hello Francis&lt;/P&gt;&lt;P&gt;the only solution was to explain the customer there are just two choises:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;not to refresh the VaultExplorer UI&lt;/LI&gt;&lt;LI&gt;to expect "double vision"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Bron&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 11:48:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-api-double-vision-after-the-custom-command-execution-in/m-p/9814974#M4818</guid>
      <dc:creator>Bronislav.Simunek</dc:creator>
      <dc:date>2020-10-21T11:48:05Z</dc:date>
    </item>
  </channel>
</rss>

