- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
I used to modify XAML and PS1 files on VDS context a few years ago.
Mapping properties seemed quite simple and could edit presentation and still bind properties :
While updating to 2026 Autodesk products, i tried customizing VDS and find out that it behave weird.
Vault mapping seems well configured and AutoCadDynamicProperties.xml file seems okay too.
1- When setting a value in default "Comments" field, the file does checkin in Vault but the value is not set, i have the same issue for custom fields. Even tried with default XAML and PS1 but have the same result, only properties in Dynamic properties Grid does update.
2 - After typing a value in a TextBox field (let's say "Designation"), when you enter another field, the Designation field get empty again.
Still using Binding like this, is it still okay ?
<TextBox Text="{Binding Prop[_DESIGNATION].Value}" />
In @Markus.Koechl "VDS-Sample-Configurations-2026-master", it appears that Binding is sometimes different "WPF:ValidatedBinding", do you know what is the difference with previous Binding ?
<TextBox Text="{WPF:ValidatedBinding Prop[GEN-TITLE-CHKM].Value}" />
For now, only manage to make it work properly by using default Dynamic properties grid :
3 - With PS1 file, in function InitializeWindow, when i manually set a value to a field, it actually doesn't set the value :
$Prop["_DESIGNATION"].Value = "TestValue"
I could only make it set the value by setting the value refering to the field like this :
$dsWindow.findName("txtDesignation").Text = "TestValue"
Do you know how to do these two things the right way ?
Best regards,
Jonathan
Solved! Go to Solution.
