<?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: Vault Data Standard 2015 R2 - set file category automatically in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-data-standard-2015-r2-set-file-category-automatically/m-p/5717982#M9302</link>
    <description>&lt;P&gt;Thank u very much - after sitting days in front of these editor I'm getting blind.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works now &lt;img id="smileyembarrassed" class="emoticon emoticon-smileyembarrassed" src="https://forums.autodesk.com/i/smilies/16x16_smiley-embarrassed.png" alt="Smiley Embarassed" title="Smiley Embarassed" /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jul 2015 08:39:49 GMT</pubDate>
    <dc:creator>Rproehl</dc:creator>
    <dc:date>2015-07-14T08:39:49Z</dc:date>
    <item>
      <title>Vault Data Standard 2015 R2 - set file category automatically</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-data-standard-2015-r2-set-file-category-automatically/m-p/5717952#M9300</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;I'd like to set the category of an Excel file automatically related to the folder where it will be created (or it is stored).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;e.g.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;I have &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;-folder1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;-folder2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;-folder3&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;for each folder I have a catogory (e.g. categoryf1, categoryf2, categoryf3)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;creating a new file in folder1 should set the category to categoryf1.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;using&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;if ($_fl1 -eq "folder1")&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;{&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;$Prop[_Category].Value = "categoryf1"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="verdana,geneva"&gt;within the function InitializeWindow&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="verdana,geneva"&gt;will stop the functionality (no UI window pops up).&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="verdana,geneva"&gt;in the xaml-file I've added&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;TextBox x:Name="txtCategory2" Text="{Binding Prop[_Category].Value}"/&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="verdana,geneva"&gt;I've removed the default ComboBox (which is part of the file.xaml) for selecting the category.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="verdana,geneva"&gt;I hope it is just a little thing to modify - many thanks for your help&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="verdana,geneva"&gt;BR&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="verdana,geneva"&gt;Rainer&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 07:45:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-data-standard-2015-r2-set-file-category-automatically/m-p/5717952#M9300</guid>
      <dc:creator>Rproehl</dc:creator>
      <dc:date>2015-07-14T07:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Vault Data Standard 2015 R2 - set file category automatically</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-data-standard-2015-r2-set-file-category-automatically/m-p/5717972#M9301</link>
      <description>&lt;P&gt;Hi Rainer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the script you have posted, double quotes in the indexer is missing.&lt;/P&gt;&lt;PRE&gt;$Prop["_Category"].Value = "categoryf1"&lt;/PRE&gt;&lt;P&gt;Does that help you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Wangdu&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.coolOrange.com" target="_blank"&gt;www.coolOrange.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 08:27:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-data-standard-2015-r2-set-file-category-automatically/m-p/5717972#M9301</guid>
      <dc:creator>wangdu</dc:creator>
      <dc:date>2015-07-14T08:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Vault Data Standard 2015 R2 - set file category automatically</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-data-standard-2015-r2-set-file-category-automatically/m-p/5717982#M9302</link>
      <description>&lt;P&gt;Thank u very much - after sitting days in front of these editor I'm getting blind.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works now &lt;img id="smileyembarrassed" class="emoticon emoticon-smileyembarrassed" src="https://forums.autodesk.com/i/smilies/16x16_smiley-embarrassed.png" alt="Smiley Embarassed" title="Smiley Embarassed" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 08:39:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-data-standard-2015-r2-set-file-category-automatically/m-p/5717982#M9302</guid>
      <dc:creator>Rproehl</dc:creator>
      <dc:date>2015-07-14T08:39:49Z</dc:date>
    </item>
  </channel>
</rss>

