<?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: Data Standard Combobox items: attribute selected by another Combobox in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/data-standard-combobox-items-attribute-selected-by-another/m-p/8720654#M5421</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Answer to question 1:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;StandardText.XML&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;Language.XML&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;files are not modified (see description in the above post)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Modification of the 3 comboboxes into&amp;nbsp;&lt;EM&gt;File.XAML&lt;/EM&gt; or &lt;EM&gt;Inventor.XAML&lt;/EM&gt; files:&lt;/P&gt;
&lt;PRE class="lang-xml prettyprint prettyprinted"&gt;&lt;CODE&gt;    &lt;SPAN class="pun"&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;xml version&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="str"&gt;"1.0"&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; encoding&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="str"&gt;"utf-8"&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;?&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;WPF:MainWindow&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
        x:Name="FileWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:WPF="clr-namespace:CreateObject.WPF;assembly=CreateObject"

    &lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;Window.Resources&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN class="tag"&gt;&amp;lt;XmlDataProvider&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
            x:Key="Languages"
            Source="C:\Language.xml"
            XPath="/LanguageData"
        &lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/XmlDataProvider&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
        &amp;lt;XmlDataProvider
            x:Key="StandardTexts"
            Source="C:\StandardText.xml"
            XPath="/StandardTextData"
        &lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/XmlDataProvider&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;/Window.Resources&amp;gt;&lt;/SPAN&gt;

    &lt;SPAN class="tag"&gt;&amp;lt;ComboBox&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
        x:Name="Combobox1"
        IsEnabled="{Binding CreateMode}"
        ItemsSource="{Binding Source={StaticResource StandardTexts}, XPath="StandardTextInfo"}"
        SelectedItem="{Binding SelectedItem, ElementName=ComboBox3, Mode=OneWay}"
&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;        # SelectedValue: no need to be defined
        # SelectedValuePath: no need to be defined&lt;/FONT&gt;&lt;/STRONG&gt;
        DisplayMemberPath="&lt;FONT color="#00FF00"&gt;&lt;STRONG&gt;{Binding ElementName=Combobox2, StringFormat=@{0}, Path=SelectedValue}&lt;/STRONG&gt;&lt;/FONT&gt;"
    &lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/ComboBox&amp;gt;&lt;/SPAN&gt;

    &lt;SPAN class="tag"&gt;&amp;lt;ComboBox&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
        x:Name="Combobox2"
        IsEnabled="{Binding CreateMode}"
        ItemsSource="{Binding Source={StaticResource Languages}, XPath="LanguageInfo"}"
        SelectedValue="{Binding Prop[LanguageName].value}"
        SelectedValuePath="@LanguageName"
        DisplayMemberPath="@LanguageName"
    &lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/ComboBox&amp;gt;&lt;/SPAN&gt;

    &lt;SPAN class="tag"&gt;&amp;lt;ComboBox&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
        x:Name="Combobox3"
        IsEnabled="{Binding CreateMode}"
        ItemsSource="{Binding Source={StaticResource StandardTexts}, XPath="StandardTextInfo"}"
        SelectedItem="{Binding SelectedItem, ElementName=ComboBox1, Mode=OneWay}"
        &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;# SelectedValue: no need to be defined&lt;/STRONG&gt;&lt;/FONT&gt;
        SelectedValuePath="&lt;FONT color="#00FF00"&gt;&lt;STRONG&gt;@StandardTextNumber&lt;/STRONG&gt;&lt;/FONT&gt;"
        DisplayMemberPath="@StandardTextNumber"
    &lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/ComboBox&amp;gt;&lt;/SPAN&gt;

    &lt;SPAN class="tag"&gt;&amp;lt;/WPF:MainWindow&amp;gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Finally not so much modifications to get the expected result. The main points were:&lt;/P&gt;
&lt;P&gt;-understand the purpose of SelectedValue and SelectedValuePath attributes&lt;/P&gt;
&lt;P&gt;-the binding syntax StringFormat=@{0}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Questions 2 to 5 are now meaningless.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks to BAI Xuesong of BEIJING RNL SOFTWARE SCIENCE &amp;amp; TECH CO.LTD who provided the solution!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Apr 2019 14:12:27 GMT</pubDate>
    <dc:creator>Leon.VASSE</dc:creator>
    <dc:date>2019-04-10T14:12:27Z</dc:date>
    <item>
      <title>Data Standard Combobox items: attribute selected by another Combobox</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/data-standard-combobox-items-attribute-selected-by-another/m-p/8585612#M5420</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In VDS GUI, I&amp;nbsp;&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;wish to display, in a combobox, the specific attribute of a collection of items (say the description of articles in the language specified by the User)&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;My purpose is similar to the below unsolved post:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/vault-customization/bind-xml-to-listvaluews-in-combobox/m-p/6065236" target="_blank" rel="noopener"&gt;bind xml to list values in combobox&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Combobox1&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;should be populated with items&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;StandardTextInfo&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;listed in an XML file. Each item is made of the following properties:&lt;BR /&gt;-StandardTextNumber (item number in the items collection)&lt;BR /&gt;-StandardTextDE (German translation of the item)&lt;BR /&gt;-StandardTextEN (English translation of the item)&lt;BR /&gt;-StandardTextFR (French translation of the item)&lt;/P&gt;
&lt;P&gt;Here is the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;StandardText.XML&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file:&lt;/P&gt;
&lt;PRE class="lang-xml prettyprint prettyprinted"&gt;&lt;CODE&gt;&lt;SPAN class="pun"&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;xml version&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="str"&gt;"1.0"&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; encoding&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="str"&gt;"utf-8"&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;?&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class="tag"&gt;&amp;lt;StandardTextData&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;xmlns&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;""&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;gt;&lt;/SPAN&gt;
  &lt;SPAN class="tag"&gt;&amp;lt;StandardTextInfo&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;StandardTextNumber&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"10"&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;DE&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"KATZE"&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;EN&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"CAT"&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;FR&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"CHAT"&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;gt;&amp;lt;/StandardTextInfo&amp;gt;&lt;/SPAN&gt;
  &lt;SPAN class="tag"&gt;&amp;lt;StandardTextInfo&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;StandardTextNumber&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"20"&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;DE&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"HUND"&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;EN&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"DOG"&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;FR&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"CHIEN"&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;gt;&amp;lt;/StandardTextInfo&amp;gt;&lt;/SPAN&gt;
  &lt;SPAN class="tag"&gt;&amp;lt;StandardTextInfo&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;StandardTextNumber&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"30"&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;DE&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"PFERD"&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;EN&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"HORSE"&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;FR&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"CHEVAL"&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;gt;&amp;lt;/StandardTextInfo&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class="tag"&gt;&amp;lt;/StandardTextData&amp;gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P style="line-height: 1.71429; font-family: Artifakt, Tahoma, Helvetica, Arial, sans-serif;"&gt;A&amp;nbsp;&lt;STRONG&gt;Combobox2&lt;/STRONG&gt;&amp;nbsp;should be populated with items&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;LanguageInfo&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;listed in an XML file. Each item is made of the property LanguageName (DE=Deutsch, EN=English, FR=Francais). &lt;SPAN style="font-family: inherit;"&gt;Here is the&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="font-family: inherit;"&gt;Language.XML&lt;/EM&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;file:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="lang-xml prettyprint prettyprinted"&gt;&lt;CODE&gt;&lt;SPAN class="pun"&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;xml version&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="str"&gt;"1.0"&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; encoding&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="str"&gt;"utf-8"&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;?&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class="tag"&gt;&amp;lt;LanguageData&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;xmlns&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;""&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;gt;&lt;/SPAN&gt;
  &lt;SPAN class="tag"&gt;&amp;lt;LanguageInfo&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;LanguageName&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"DE"&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;gt;&amp;lt;/LanguageInfo&amp;gt;&lt;/SPAN&gt;
  &lt;SPAN class="tag"&gt;&amp;lt;LanguageInfo&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;LanguageName&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"EN"&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;gt;&amp;lt;/LanguageInfo&amp;gt;&lt;/SPAN&gt;
  &lt;SPAN class="tag"&gt;&amp;lt;LanguageInfo&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;LanguageName&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"FR"&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;gt;&amp;lt;/LanguageInfo&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class="tag"&gt;&amp;lt;/LanguageData&amp;gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P style="line-height: 1.71429; font-family: Artifakt, Tahoma, Helvetica, Arial, sans-serif;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="line-height: 1.71429; font-family: Artifakt, Tahoma, Helvetica, Arial, sans-serif;"&gt;Here is the intended usage:&lt;/P&gt;
&lt;P style="line-height: 1.71429; font-family: Artifakt, Tahoma, Helvetica, Arial, sans-serif;"&gt;-The User selects from&amp;nbsp;&lt;STRONG&gt;Combobox2&lt;/STRONG&gt;&amp;nbsp;the language that the items will be displayed in into&amp;nbsp;&lt;STRONG&gt;Combobox1&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;-The values displayed in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Combobox1&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;DisplayMemberPath&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;must be bound to the items property corresponding to the value selected in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Combobox2&lt;/STRONG&gt;. Items name can thus be displayed in the language chosen by the User.&lt;/P&gt;
&lt;P&gt;-Beside, a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Combobox3&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;displays the property&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;StandardTextNumber&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the item selected in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Combobox1&lt;/STRONG&gt;. By using a Combobox (I talk about Combobox3) rather than a Label, the User has also the alternative to directly select the item property&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;StandardTextNumber&lt;/EM&gt;&lt;/STRONG&gt;, which reversely updates the item displayed on&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Combobox1&lt;/STRONG&gt;&amp;nbsp;(still in the language defined in &lt;STRONG&gt;ComboBox2&lt;/STRONG&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the definition of the 3 comboboxes into the XAML file:&lt;/P&gt;
&lt;PRE class="lang-xml prettyprint prettyprinted"&gt;&lt;CODE&gt;    &lt;SPAN class="pun"&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;xml version&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="str"&gt;"1.0"&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; encoding&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="str"&gt;"utf-8"&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;?&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;WPF:MainWindow&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
        x:Name="FileWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:WPF="clr-namespace:CreateObject.WPF;assembly=CreateObject"

    &lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;Window.Resources&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN class="tag"&gt;&amp;lt;XmlDataProvider&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
            x:Key="Languages"
            Source="C:\Language.xml"
            XPath="/LanguageData"
        &lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/XmlDataProvider&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
        &amp;lt;XmlDataProvider
            x:Key="StandardTexts"
            Source="C:\StandardText.xml"
            XPath="/StandardTextData"
        &lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/XmlDataProvider&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;/Window.Resources&amp;gt;&lt;/SPAN&gt;

    &lt;SPAN class="tag"&gt;&amp;lt;ComboBox&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
        x:Name="Combobox1"
        IsEnabled="{Binding CreateMode}"
        ItemsSource="{Binding Source={StaticResource StandardTexts}, XPath="StandardTextInfo"}"
        SelectedItem="{Binding SelectedItem, ElementName=ComboBox3, Mode=OneWay}"
        SelectedValue="{Binding SelectedValue, ElementName=ComboBox2, Mode=OneWay}"
        SelectedValuePath="@StandardTextNumber"
        DisplayMemberPath="{Binding SelectedValue, ElementName=ComboBox3, Mode=OneWay}"
    &lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/ComboBox&amp;gt;&lt;/SPAN&gt;

    &lt;SPAN class="tag"&gt;&amp;lt;ComboBox&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
        x:Name="Combobox2"
        IsEnabled="{Binding CreateMode}"
        ItemsSource="{Binding Source={StaticResource Languages}, XPath="LanguageInfo"}"
        SelectedValue="{Binding Prop[LanguageName].value}"
        SelectedValuePath="@LanguageName"
        DisplayMemberPath="@LanguageName"
    &lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/ComboBox&amp;gt;&lt;/SPAN&gt;

    &lt;SPAN class="tag"&gt;&amp;lt;ComboBox&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
        x:Name="Combobox3"
        IsEnabled="{Binding CreateMode}"
        ItemsSource="{Binding Source={StaticResource StandardTexts}, XPath="StandardTextInfo"}"
        SelectedItem="{Binding SelectedItem, ElementName=ComboBox1, Mode=OneWay}"
        SelectedValue="{Binding SelectedValue, ElementName=ComboBox2, Mode=OneWay}"
        SelectedValuePath="{Binding SelectedValue, ElementName=ComboBox1, Mode=OneWay}"
        DisplayMemberPath="@StandardTextNumber"
    &lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/ComboBox&amp;gt;&lt;/SPAN&gt;

    &lt;SPAN class="tag"&gt;&amp;lt;/WPF:MainWindow&amp;gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My questions:&lt;/P&gt;
&lt;P&gt;1)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Combobox1&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;SelectedValue&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;amp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;DisplayMemberPath&lt;/EM&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Combobox3&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;SelectedValue&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;amp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;SelectedValuePath&lt;/EM&gt;: I probably miss the logic: how should be expressed the desired bindings?&lt;/P&gt;
&lt;P&gt;2) In XML, what is the purpose of the prefix @ at forehead of bound properties?&lt;/P&gt;
&lt;P&gt;3)&amp;nbsp;I am pretty sure there is no really need for the source&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;Language.XML&lt;/EM&gt;: is it possible to populate&amp;nbsp;&lt;STRONG&gt;Combobox2&lt;/STRONG&gt;&amp;nbsp;directly from the languages identified within the source&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="font-family: inherit;"&gt;StandardText.XML&lt;/EM&gt;&lt;SPAN style="font-family: inherit;"&gt;, as suggested in the above-mentionned post?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;4) For the moment, I intend to store my collection of articles (and their several translation) into an xml file: is it the most convenient approach? To avoid managing a xml file out of VAULT, I was thinking to store those data within a VAULT numbering scheme (defined with 1 single pre-defined list field), but the available columns in pre-list fields of VAULT numbering scheme are, by construction, limited to 2 (I could only store the item number and only 1 of the intended language translation).&lt;/P&gt;
&lt;P&gt;5) In which situation should the IsEnabled property be set to CreateMode or EditMode?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance for the kind advices you may provide.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Sun, 10 Feb 2019 12:09:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/data-standard-combobox-items-attribute-selected-by-another/m-p/8585612#M5420</guid>
      <dc:creator>Leon.VASSE</dc:creator>
      <dc:date>2019-02-10T12:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Data Standard Combobox items: attribute selected by another Combobox</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/data-standard-combobox-items-attribute-selected-by-another/m-p/8720654#M5421</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Answer to question 1:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;StandardText.XML&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;Language.XML&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;files are not modified (see description in the above post)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Modification of the 3 comboboxes into&amp;nbsp;&lt;EM&gt;File.XAML&lt;/EM&gt; or &lt;EM&gt;Inventor.XAML&lt;/EM&gt; files:&lt;/P&gt;
&lt;PRE class="lang-xml prettyprint prettyprinted"&gt;&lt;CODE&gt;    &lt;SPAN class="pun"&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;xml version&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="str"&gt;"1.0"&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; encoding&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="str"&gt;"utf-8"&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;?&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;WPF:MainWindow&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
        x:Name="FileWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:WPF="clr-namespace:CreateObject.WPF;assembly=CreateObject"

    &lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;Window.Resources&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN class="tag"&gt;&amp;lt;XmlDataProvider&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
            x:Key="Languages"
            Source="C:\Language.xml"
            XPath="/LanguageData"
        &lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/XmlDataProvider&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
        &amp;lt;XmlDataProvider
            x:Key="StandardTexts"
            Source="C:\StandardText.xml"
            XPath="/StandardTextData"
        &lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/XmlDataProvider&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;/Window.Resources&amp;gt;&lt;/SPAN&gt;

    &lt;SPAN class="tag"&gt;&amp;lt;ComboBox&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
        x:Name="Combobox1"
        IsEnabled="{Binding CreateMode}"
        ItemsSource="{Binding Source={StaticResource StandardTexts}, XPath="StandardTextInfo"}"
        SelectedItem="{Binding SelectedItem, ElementName=ComboBox3, Mode=OneWay}"
&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;        # SelectedValue: no need to be defined
        # SelectedValuePath: no need to be defined&lt;/FONT&gt;&lt;/STRONG&gt;
        DisplayMemberPath="&lt;FONT color="#00FF00"&gt;&lt;STRONG&gt;{Binding ElementName=Combobox2, StringFormat=@{0}, Path=SelectedValue}&lt;/STRONG&gt;&lt;/FONT&gt;"
    &lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/ComboBox&amp;gt;&lt;/SPAN&gt;

    &lt;SPAN class="tag"&gt;&amp;lt;ComboBox&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
        x:Name="Combobox2"
        IsEnabled="{Binding CreateMode}"
        ItemsSource="{Binding Source={StaticResource Languages}, XPath="LanguageInfo"}"
        SelectedValue="{Binding Prop[LanguageName].value}"
        SelectedValuePath="@LanguageName"
        DisplayMemberPath="@LanguageName"
    &lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/ComboBox&amp;gt;&lt;/SPAN&gt;

    &lt;SPAN class="tag"&gt;&amp;lt;ComboBox&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;
        x:Name="Combobox3"
        IsEnabled="{Binding CreateMode}"
        ItemsSource="{Binding Source={StaticResource StandardTexts}, XPath="StandardTextInfo"}"
        SelectedItem="{Binding SelectedItem, ElementName=ComboBox1, Mode=OneWay}"
        &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;# SelectedValue: no need to be defined&lt;/STRONG&gt;&lt;/FONT&gt;
        SelectedValuePath="&lt;FONT color="#00FF00"&gt;&lt;STRONG&gt;@StandardTextNumber&lt;/STRONG&gt;&lt;/FONT&gt;"
        DisplayMemberPath="@StandardTextNumber"
    &lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/ComboBox&amp;gt;&lt;/SPAN&gt;

    &lt;SPAN class="tag"&gt;&amp;lt;/WPF:MainWindow&amp;gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Finally not so much modifications to get the expected result. The main points were:&lt;/P&gt;
&lt;P&gt;-understand the purpose of SelectedValue and SelectedValuePath attributes&lt;/P&gt;
&lt;P&gt;-the binding syntax StringFormat=@{0}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Questions 2 to 5 are now meaningless.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks to BAI Xuesong of BEIJING RNL SOFTWARE SCIENCE &amp;amp; TECH CO.LTD who provided the solution!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 14:12:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/data-standard-combobox-items-attribute-selected-by-another/m-p/8720654#M5421</guid>
      <dc:creator>Leon.VASSE</dc:creator>
      <dc:date>2019-04-10T14:12:27Z</dc:date>
    </item>
  </channel>
</rss>

