<?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: How to enable search bar in Vault file dialog using API? in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/how-to-enable-search-bar-in-vault-file-dialog-using-api/m-p/13815801#M13051</link>
    <description>&lt;P&gt;try&lt;BR /&gt;{&lt;BR /&gt;var settings = new VdfForms.Settings.SelectEntitySettings&lt;BR /&gt;{&lt;BR /&gt;MultipleSelect = false,&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;settings.OptionsExtensibility.DoSearch = (entityClassIds, multiSelect, resultFunc) =&amp;gt;&lt;BR /&gt;{&lt;BR /&gt;var searchResults = new List&amp;lt;Vault.Currency.Entities.IEntity&amp;gt;();&lt;/P&gt;&lt;P&gt;resultFunc(searchResults);&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;// 2. Open dialog&lt;BR /&gt;var fileDialog = VdfForms.Library.SelectEntity(VaultConnection.connection, settings);&lt;BR /&gt;&lt;BR /&gt;// 3. Get selected files&lt;BR /&gt;var files = fileDialog.SelectedEntities.OfType&amp;lt;FileIteration&amp;gt;().ToList();&lt;/P&gt;&lt;P&gt;if (files.Count == 0)&lt;BR /&gt;{&lt;BR /&gt;MessageBox.Show("No file selected.");&lt;BR /&gt;return null;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;// 4. Download selected files&lt;BR /&gt;DownloadFiles(files);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I using the above mentioned approach but not getting search bar visible.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Sep 2025 07:45:00 GMT</pubDate>
    <dc:creator>pranit_awale</dc:creator>
    <dc:date>2025-09-18T07:45:00Z</dc:date>
    <item>
      <title>How to enable search bar in Vault file dialog using API?</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/how-to-enable-search-bar-in-vault-file-dialog-using-api/m-p/13815774#M13049</link>
      <description>&lt;P&gt;I’m using the Autodesk Vault API to open a file selection dialog, and the dialog itself is working fine. However, the search bar is not visible in the dialog.&lt;/P&gt;&lt;P&gt;Does anyone know how to enable or invoke the search bar in the Vault file dialog through the API?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;BR /&gt;@&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/33301" target="_self"&gt;&lt;SPAN class=""&gt;Markus.Koechl&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2025 07:25:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/how-to-enable-search-bar-in-vault-file-dialog-using-api/m-p/13815774#M13049</guid>
      <dc:creator>pranit_awale</dc:creator>
      <dc:date>2025-09-18T07:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable search bar in Vault file dialog using API?</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/how-to-enable-search-bar-in-vault-file-dialog-using-api/m-p/13815791#M13050</link>
      <description>&lt;P&gt;You can add the button using the extensibility options.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkusKoechl_0-1758180998164.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1571986i42837A3F7993D02E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkusKoechl_0-1758180998164.png" alt="MarkusKoechl_0-1758180998164.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Be aware that you need to implement all behavior and UI behind the button. In other words, there is no default "Search" dialog that you can raise.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2025 07:37:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/how-to-enable-search-bar-in-vault-file-dialog-using-api/m-p/13815791#M13050</guid>
      <dc:creator>Markus.Koechl</dc:creator>
      <dc:date>2025-09-18T07:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable search bar in Vault file dialog using API?</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/how-to-enable-search-bar-in-vault-file-dialog-using-api/m-p/13815801#M13051</link>
      <description>&lt;P&gt;try&lt;BR /&gt;{&lt;BR /&gt;var settings = new VdfForms.Settings.SelectEntitySettings&lt;BR /&gt;{&lt;BR /&gt;MultipleSelect = false,&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;settings.OptionsExtensibility.DoSearch = (entityClassIds, multiSelect, resultFunc) =&amp;gt;&lt;BR /&gt;{&lt;BR /&gt;var searchResults = new List&amp;lt;Vault.Currency.Entities.IEntity&amp;gt;();&lt;/P&gt;&lt;P&gt;resultFunc(searchResults);&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;// 2. Open dialog&lt;BR /&gt;var fileDialog = VdfForms.Library.SelectEntity(VaultConnection.connection, settings);&lt;BR /&gt;&lt;BR /&gt;// 3. Get selected files&lt;BR /&gt;var files = fileDialog.SelectedEntities.OfType&amp;lt;FileIteration&amp;gt;().ToList();&lt;/P&gt;&lt;P&gt;if (files.Count == 0)&lt;BR /&gt;{&lt;BR /&gt;MessageBox.Show("No file selected.");&lt;BR /&gt;return null;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;// 4. Download selected files&lt;BR /&gt;DownloadFiles(files);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I using the above mentioned approach but not getting search bar visible.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2025 07:45:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/how-to-enable-search-bar-in-vault-file-dialog-using-api/m-p/13815801#M13051</guid>
      <dc:creator>pranit_awale</dc:creator>
      <dc:date>2025-09-18T07:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable search bar in Vault file dialog using API?</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/how-to-enable-search-bar-in-vault-file-dialog-using-api/m-p/13833375#M13086</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17732582"&gt;@pranit_awale&lt;/a&gt;: I apologize&amp;nbsp;for the delayed follow-up on this. You can enable the search button like this:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;mSelectFileSettings.OptionsExtensibility.DoSearch = mSearch();

private Action&amp;lt;IEnumerable&amp;lt;string&amp;gt;, bool, Action&amp;lt;IEnumerable&amp;lt;VDF.Vault.Currency.Entities.IEntity&amp;gt;&amp;gt;&amp;gt; mSearch()
{
   return (searchTerms, includeHidden, callback) =&amp;gt;
      {
                // Implement custom search logic here
                MessageBox.Show("Search clicked");
                callback?.Invoke(new List&amp;lt;VDF.Vault.Currency.Entities.IEntity&amp;gt;()); // Example callback invocation with an empty list
       };
}&lt;/LI-CODE&gt;
&lt;P&gt;I hope this helps.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2025 19:13:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/how-to-enable-search-bar-in-vault-file-dialog-using-api/m-p/13833375#M13086</guid>
      <dc:creator>Markus.Koechl</dc:creator>
      <dc:date>2025-10-01T19:13:58Z</dc:date>
    </item>
  </channel>
</rss>

