<?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: Showing link property and sorting files by it in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/showing-link-property-and-sorting-files-by-it/m-p/11155899#M2541</link>
    <description>Unfortunately, I don't have a ready-to-use snippet for this in my repository and need to have a look if I find time later this week. I'm a little more cautious about saying that it needs a patch.</description>
    <pubDate>Mon, 09 May 2022 05:30:39 GMT</pubDate>
    <dc:creator>Markus.Koechl</dc:creator>
    <dc:date>2022-05-09T05:30:39Z</dc:date>
    <item>
      <title>Showing link property and sorting files by it</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/showing-link-property-and-sorting-files-by-it/m-p/11121808#M2534</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;we easily managed to create link between files and folder using C# and SDK. For every single file-folder link created we store an Index Order value (long type) inside a custom Link property (LinkIndexOrder). This is essential for our project as a single file can have links with multiple folders therefore we need to save a different index order for each link created. So far, so good.&lt;/P&gt;&lt;P&gt;At this point we need:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;- For every new link created check if other files are already linked to the target folder, eventually retrieve the max index order value and assign to new link the max(LinkIndexOrder) + 1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;- Show the LinkIndexOrder property in the File tab and in the UDP Property tab&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;- Use the LinkIndexOrder property to sort the files, into the folder, by that value.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The first point is feasible and we should already know how to proceed.&lt;BR /&gt;About the other two we don't really know if the Vault allows them.&lt;/P&gt;&lt;P&gt;Attached&amp;nbsp;an explanatory image.&lt;BR /&gt;Any suggestion? Thank you all in advance&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 09:52:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/showing-link-property-and-sorting-files-by-it/m-p/11121808#M2534</guid>
      <dc:creator>GabrieleZelasco</dc:creator>
      <dc:date>2022-04-22T09:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Showing link property and sorting files by it</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/showing-link-property-and-sorting-files-by-it/m-p/11127108#M2535</link>
      <description>&lt;P&gt;You need to implement a custom detail tab to display link properties. There is an &lt;A href="https://www.autodesk.com/autodesk-university/class/Vault-Extensions-Deep-Dive-Explore-Vault-Extension-and-Automation-Programming-2017" target="_blank" rel="noopener"&gt;AU class covering (Handout: Use Case 3)&lt;/A&gt; a similar approach to managing links from files to custom objects, and I think the concept applies to your objective.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 15:22:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/showing-link-property-and-sorting-files-by-it/m-p/11127108#M2535</guid>
      <dc:creator>Markus.Koechl</dc:creator>
      <dc:date>2022-04-25T15:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Showing link property and sorting files by it</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/showing-link-property-and-sorting-files-by-it/m-p/11144036#M2536</link>
      <description>&lt;P&gt;Markus thanks for the tip! I found the HandOut example and was looking at the code and explanation in the attached pdf. I have a doubt though. The structure requested by us, starting from the explorer tree, is the following:&lt;/P&gt;&lt;P&gt;parent Folder (DATABOOK), under this folder the user can create as many custom entitites (MAIN INDEX) as he wants via link between each custom entity and parent folder.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, the user needs to add files (pdf) under each custom entity MAIN INDEX.&lt;/P&gt;&lt;P&gt;I get this same previous way, by linking each file to the custom entity selected. So basically FOLDER -&amp;gt; CUSTOM ENTITIES -&amp;gt; FILES (See picture attached).&lt;BR /&gt;I would like to add the index order property to the link between file and custom entity and not between custom entity and folder.&lt;BR /&gt;Is it possible using the example you gave me? What should I change to get that result?&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 10:34:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/showing-link-property-and-sorting-files-by-it/m-p/11144036#M2536</guid>
      <dc:creator>GabrieleZelasco</dc:creator>
      <dc:date>2022-05-03T10:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Showing link property and sorting files by it</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/showing-link-property-and-sorting-files-by-it/m-p/11144053#M2537</link>
      <description>&lt;P&gt;Markus, I'm sorry.&lt;/P&gt;&lt;P&gt;I looked at the example better. The properties shown in the custom tab are already related to the link between each single file and the custom entity! Basically, if I understand correctly, some of the standard fields present in the Contents tab (Name, Revision, Version, State) are repeated in the Orders tab with the addition of custom fields (where I will show the Index order). If you want just give me confirmation of the above, thanks again.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 10:49:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/showing-link-property-and-sorting-files-by-it/m-p/11144053#M2537</guid>
      <dc:creator>GabrieleZelasco</dc:creator>
      <dc:date>2022-05-03T10:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Showing link property and sorting files by it</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/showing-link-property-and-sorting-files-by-it/m-p/11144178#M2538</link>
      <description>I confirm your findings :).</description>
      <pubDate>Tue, 03 May 2022 11:43:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/showing-link-property-and-sorting-files-by-it/m-p/11144178#M2538</guid>
      <dc:creator>Markus.Koechl</dc:creator>
      <dc:date>2022-05-03T11:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Showing link property and sorting files by it</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/showing-link-property-and-sorting-files-by-it/m-p/11150053#M2539</link>
      <description>&lt;P&gt;Hi Markus,&lt;/P&gt;&lt;P&gt;I managed to get the custom tab (see attached) and show a few file properties (Name, Revision, Version) together with the requested link properties&amp;nbsp; (Index Order, Document List). Is it possibile to show a context menu inside that custom tab when user right click on file row ? Is it customizable (add Edit menu)? Currently if I right click on a row I get just a "Select All" menu, nothing else.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to edit those link properties starting from selected file. Thanks again for all the support!&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 15:20:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/showing-link-property-and-sorting-files-by-it/m-p/11150053#M2539</guid>
      <dc:creator>GabrieleZelasco</dc:creator>
      <dc:date>2022-05-05T15:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Showing link property and sorting files by it</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/showing-link-property-and-sorting-files-by-it/m-p/11151815#M2540</link>
      <description>&lt;P&gt;Good morning Markus,&lt;/P&gt;&lt;P&gt;just a few adds to my previous message. In according to SDK docs I've implemented some event handlers to the vaultbrowsercontrol (in the designer class) to get a context menu on right click:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this.vaultBrowserControl1.GetContextMenu += VaultBrowserControl1_GetContextMenu;&lt;BR /&gt;this.vaultBrowserControl1.EntityDoubleClick += VaultBrowserControl1_EntityDoubleClick;&lt;BR /&gt;this.vaultBrowserControl1.Exception += VaultBrowserControl1_Exception;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I've tried to catch the selected entity name jsut for a test:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;private void VaultBrowserControl1_GetContextMenu(object sender, VDF.Vault.Forms.Currency.GetContextMenuArgs e)&lt;BR /&gt;{&lt;BR /&gt;MessageBox.Show(e.ClickedEntity.EntityName, "");&lt;BR /&gt;throw new System.NotImplementedException();&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;But Vault crashes everytime. This happens with the EntityDoubleClick&amp;nbsp; handler as well.&lt;/P&gt;&lt;P&gt;I've sent the crash report to Autodesk support.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you awared of it ?&amp;nbsp;There's any patches or workarounds to get it work? Or maybe an alternative solution to get a working context menu on a VaultBrowserControl ?&lt;BR /&gt;I apologize for the many questions. Thanks a lot if you want to answer me once again.&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 08:32:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/showing-link-property-and-sorting-files-by-it/m-p/11151815#M2540</guid>
      <dc:creator>GabrieleZelasco</dc:creator>
      <dc:date>2022-05-06T08:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Showing link property and sorting files by it</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/showing-link-property-and-sorting-files-by-it/m-p/11155899#M2541</link>
      <description>Unfortunately, I don't have a ready-to-use snippet for this in my repository and need to have a look if I find time later this week. I'm a little more cautious about saying that it needs a patch.</description>
      <pubDate>Mon, 09 May 2022 05:30:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/showing-link-property-and-sorting-files-by-it/m-p/11155899#M2541</guid>
      <dc:creator>Markus.Koechl</dc:creator>
      <dc:date>2022-05-09T05:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Showing link property and sorting files by it</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/showing-link-property-and-sorting-files-by-it/m-p/11158540#M2542</link>
      <description>&lt;P&gt;Markus, sorry for late answer.&amp;nbsp; Don't worry for the issue, I manage to solve it. It was related to my own code.&amp;nbsp;Thanks once again for your time and support.&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 06:57:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/showing-link-property-and-sorting-files-by-it/m-p/11158540#M2542</guid>
      <dc:creator>GabrieleZelasco</dc:creator>
      <dc:date>2022-05-10T06:57:37Z</dc:date>
    </item>
  </channel>
</rss>

