<?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: Landing page, link to file in vault? in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/landing-page-link-to-file-in-vault/m-p/6001817#M8750</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure I understand your requirement but it seems similar to the functionality provided by ACR files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an excerpt from a case I had recently:&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;BR /&gt;The behavior you’re trying to implement is similar to the Send Link command in Vault Explorer and sounds almost identical to the Copy Hyperlink command. The command works by generating a URL to a specific web service method on the Vault Server that creates an ACR file. It’s a custom file format that is registered to be opened using the Vault Explorer. When the thick client opens an ACR file, it will ask the user to authenticate and then redirect the view to select the entity specified in the ACR file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can get an ACR file by using the File-&amp;gt;Send-&amp;gt;Send Link… command in Vault Explorer and send an email to yourself or use the Edit-&amp;gt;Copy Hyperlink command and paste the resulting hyperlink in to a web browser if you’d like to examine one. There is probably very little documentation about generating the URLs or the ACR files themselves because they are *not* part of the publicly supported SDK. You could potentially try to generate these URLs yourself, but because they are unsupported for third party use, you could be on your own for any future issues resulting from generating these URLs yourself. Unfortunately, these Vault Explorer links and the ACR files don’t work for folders or custom objects. Currently, they can only be created for files, change orders, and items.&lt;BR /&gt;&amp;lt;&amp;lt; &amp;lt;&amp;lt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Wayne&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jan 2016 18:02:55 GMT</pubDate>
    <dc:creator>wayne.brill</dc:creator>
    <dc:date>2016-01-22T18:02:55Z</dc:date>
    <item>
      <title>Landing page, link to file in vault?</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/landing-page-link-to-file-in-vault/m-p/5992718#M8749</link>
      <description>&lt;P&gt;Is it possible to put a link on the landing page that will open a file from the vault ?&lt;/P&gt;&lt;P&gt;If so, how do i get the url to the file ?&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2016 12:06:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/landing-page-link-to-file-in-vault/m-p/5992718#M8749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-17T12:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Landing page, link to file in vault?</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/landing-page-link-to-file-in-vault/m-p/6001817#M8750</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure I understand your requirement but it seems similar to the functionality provided by ACR files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an excerpt from a case I had recently:&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;BR /&gt;The behavior you’re trying to implement is similar to the Send Link command in Vault Explorer and sounds almost identical to the Copy Hyperlink command. The command works by generating a URL to a specific web service method on the Vault Server that creates an ACR file. It’s a custom file format that is registered to be opened using the Vault Explorer. When the thick client opens an ACR file, it will ask the user to authenticate and then redirect the view to select the entity specified in the ACR file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can get an ACR file by using the File-&amp;gt;Send-&amp;gt;Send Link… command in Vault Explorer and send an email to yourself or use the Edit-&amp;gt;Copy Hyperlink command and paste the resulting hyperlink in to a web browser if you’d like to examine one. There is probably very little documentation about generating the URLs or the ACR files themselves because they are *not* part of the publicly supported SDK. You could potentially try to generate these URLs yourself, but because they are unsupported for third party use, you could be on your own for any future issues resulting from generating these URLs yourself. Unfortunately, these Vault Explorer links and the ACR files don’t work for folders or custom objects. Currently, they can only be created for files, change orders, and items.&lt;BR /&gt;&amp;lt;&amp;lt; &amp;lt;&amp;lt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Wayne&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 18:02:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/landing-page-link-to-file-in-vault/m-p/6001817#M8750</guid>
      <dc:creator>wayne.brill</dc:creator>
      <dc:date>2016-01-22T18:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Landing page, link to file in vault?</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/landing-page-link-to-file-in-vault/m-p/6325835#M8751</link>
      <description>&lt;P&gt;Hi Wayne,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do you go about editing the EntityDataCommandRequest.acr file that is generated by vault upon the change state that sends a link in an email? I am looking to change the server name (as shown in the code below) within the file to point to a different vault.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;ADM xmlns="http://schemas.autodesk.com/msd/plm/ExplorerAutomation/2004-11-01"&amp;gt;
  &lt;STRONG&gt;&amp;lt;Server&amp;gt;Vault02&amp;lt;/Server&amp;gt;&lt;/STRONG&gt; &lt;FONT color="#FF0000"&gt;&amp;lt;--- Have this point to a different server&lt;/FONT&gt;
  &amp;lt;Vault&amp;gt;Company Vault&amp;lt;/Vault&amp;gt;
  &amp;lt;Operations&amp;gt;
    &amp;lt;Operation ObjectType="File"&amp;gt;
      &amp;lt;ObjectID&amp;gt;$/Engineering Data/Production Drawings/XXXXXX-LOGIC.dwg&amp;lt;/ObjectID&amp;gt;
      &amp;lt;Command&amp;gt;Select&amp;lt;/Command&amp;gt;
    &amp;lt;/Operation&amp;gt;
  &amp;lt;/Operations&amp;gt;
&amp;lt;/ADM&amp;gt;&lt;/PRE&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Cesar&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 19:56:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/landing-page-link-to-file-in-vault/m-p/6325835#M8751</guid>
      <dc:creator>cesar.hernandez</dc:creator>
      <dc:date>2016-05-13T19:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Landing page, link to file in vault?</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/landing-page-link-to-file-in-vault/m-p/10757757#M8752</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;Is it possible to use command "Open" (or similiar one) and open it directly in Invetor via Vault?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 11:46:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/landing-page-link-to-file-in-vault/m-p/10757757#M8752</guid>
      <dc:creator>ReneRepina</dc:creator>
      <dc:date>2021-11-15T11:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Landing page, link to file in vault?</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/landing-page-link-to-file-in-vault/m-p/10766270#M8753</link>
      <description>&lt;P&gt;This is how I get the URLs for both thick and thin client in powershell/Data Standard. You can probably look at the logic and go from there. It shouldn't be much different with using direct Vault APIs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;$VaultDB = "Vault"
$fileFirst = $files | select -First 1
$persistantID_tip =  $vault.KnowledgeVaultService.GetPersistentIds('FILE',$fileFirst.id,0)
$persistantID_tip = $persistantID_tip.TrimEnd('=')
$serverUrl = New-Object System.uri($vault.AdminService.Url)
$filePath = $fileFirst."Full Path"
$filePathUrl = $filePath.Replace("$","%24").Replace("/","%2f").Replace(" ","+")
$fileUrlThick = $serverUrl.Scheme+"://"+$serverUrl.Host+ "/AutodeskDM/Services/EntityDataCommandRequest.aspx?Vault=$($VaultDB)&amp;amp;ObjectId=$($filePathUrl)&amp;amp;ObjectType=File&amp;amp;Command=Select"
$fileUrlThin = $serverUrl.Scheme+"://"+$serverUrl.Host+ "/AutodeskTC/"+$serverUrl.Host+ "/$($VaultDB)#/Entity/Details?id=m$($persistantID_tip)&amp;amp;itemtype=File"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 14:28:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/landing-page-link-to-file-in-vault/m-p/10766270#M8753</guid>
      <dc:creator>dave_taylor</dc:creator>
      <dc:date>2021-11-18T14:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Landing page, link to file in vault?</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/landing-page-link-to-file-in-vault/m-p/10766362#M8754</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8145112"&gt;@dave_taylor&lt;/a&gt;&lt;/P&gt;&lt;P&gt;We already have links to files. The question was, if we can open it in Inventor, not just select in Vault. I tried open command, but it does not work, because it probably needs some reference to open with something (Inventor).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just for the info, I see that you have replace "/" with "%2f". When second first option is used, it opens in current opened Vault, if the second option is used, it opens a new one. Not sure if this works OK?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 15:07:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/landing-page-link-to-file-in-vault/m-p/10766362#M8754</guid>
      <dc:creator>ReneRepina</dc:creator>
      <dc:date>2021-11-18T15:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Landing page, link to file in vault?</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/landing-page-link-to-file-in-vault/m-p/10767045#M8755</link>
      <description>The / replacement was so that the url is compatible with formatting. I have found sometimes if using the "/" in the path in older versions, it was not finding the file when opening with the acr shortcut that gets created.&lt;BR /&gt;&lt;BR /&gt;Do you mean with the "/" in the URL it opens in the current vault, but with the "%2f", it opens in a new instance? In 2022, it opens the same either way...unless you are using an older version.</description>
      <pubDate>Thu, 18 Nov 2021 19:55:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/landing-page-link-to-file-in-vault/m-p/10767045#M8755</guid>
      <dc:creator>dave_taylor</dc:creator>
      <dc:date>2021-11-18T19:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Landing page, link to file in vault?</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/landing-page-link-to-file-in-vault/m-p/10854583#M8756</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8145112"&gt;@dave_taylor&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for late reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Comments:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If link is used with "/", it opens it in current Vault.&lt;/LI&gt;&lt;LI&gt;If link is used with "%2f", it opens in a new instance of a Vault.&lt;/LI&gt;&lt;LI&gt;We are using Vault 2020.3.6 and Inventor 2020.4.3.&lt;/LI&gt;&lt;LI&gt;My question still stands, if we can use somesort of link command to open file directly in Inventor.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 03 Jan 2022 08:59:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/landing-page-link-to-file-in-vault/m-p/10854583#M8756</guid>
      <dc:creator>ReneRepina</dc:creator>
      <dc:date>2022-01-03T08:59:27Z</dc:date>
    </item>
  </channel>
</rss>

