<?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 Data Standard, Vault, modify CreateFile function to select folder in which file is created in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/data-standard-vault-modify-createfile-function-to-select-folder/m-p/11189843#M2470</link>
    <description>&lt;P&gt;Is it possible to modify the CreateFile function (CreateFile.ps1 and addinVault\Default.ps1) in Vault (right click on a Vault folder) to specify another folder where to create the file ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have done all modification that allow to select / create the wanted folder. But file is still created in the selected folder before the command is launched.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my code, I set $Prop["_FilePath"].Value with the Vault folder in which I want the file to be created. But this is not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much in advance for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Colin&lt;/P&gt;</description>
    <pubDate>Tue, 24 May 2022 15:18:13 GMT</pubDate>
    <dc:creator>cdellea</dc:creator>
    <dc:date>2022-05-24T15:18:13Z</dc:date>
    <item>
      <title>Data Standard, Vault, modify CreateFile function to select folder in which file is created</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/data-standard-vault-modify-createfile-function-to-select-folder/m-p/11189843#M2470</link>
      <description>&lt;P&gt;Is it possible to modify the CreateFile function (CreateFile.ps1 and addinVault\Default.ps1) in Vault (right click on a Vault folder) to specify another folder where to create the file ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have done all modification that allow to select / create the wanted folder. But file is still created in the selected folder before the command is launched.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my code, I set $Prop["_FilePath"].Value with the Vault folder in which I want the file to be created. But this is not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much in advance for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Colin&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 15:18:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/data-standard-vault-modify-createfile-function-to-select-folder/m-p/11189843#M2470</guid>
      <dc:creator>cdellea</dc:creator>
      <dc:date>2022-05-24T15:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Data Standard, Vault, modify CreateFile function to select folder in which file is created</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/data-standard-vault-modify-createfile-function-to-select-folder/m-p/11264441#M2471</link>
      <description>&lt;P&gt;There is a default function prepared to implement customizations: Create a customization copy of the Default.ps1 file in .\Vault.Custom\addinVault\ and implement the logic you need in this pre-defined function:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;# This function can be used to force a specific folder when using "New Standard File" or "New Standard Folder" functions.
# If an empty string is returned the selected folder is used
# ! Do not remove the function
function GetParentFolderName
{
	$folderName = ""
	return $folderName
}
&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 28 Jun 2022 16:40:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/data-standard-vault-modify-createfile-function-to-select-folder/m-p/11264441#M2471</guid>
      <dc:creator>Markus.Koechl</dc:creator>
      <dc:date>2022-06-28T16:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Data Standard, Vault, modify CreateFile function to select folder in which file is created</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/data-standard-vault-modify-createfile-function-to-select-folder/m-p/11265709#M2472</link>
      <description>&lt;P&gt;Hi Markus,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That was as simple as that. Works like a charm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much !&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 06:14:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/data-standard-vault-modify-createfile-function-to-select-folder/m-p/11265709#M2472</guid>
      <dc:creator>cdellea</dc:creator>
      <dc:date>2022-06-29T06:14:57Z</dc:date>
    </item>
  </channel>
</rss>

