INTERACT FORUM

More => Old Versions => Media Center 13 (Development Ended) => Topic started by: DWAnderson on February 13, 2009, 01:56:05 pm

Title: Use of Expressions in MC 13
Post by: DWAnderson on February 13, 2009, 01:56:05 pm
Expressions don't seem to work the same way in MC13 as they did in MC12.

For example, in MC 12 I used an expression to fill the Keywords field with information from other fields ansd wrote up a description that is now in the MC Wiki http://wiki.jrmediacenter.com/index.php/Photo_Tagging#Use_of_XMP_Tags (http://wiki.jrmediacenter.com/index.php/Photo_Tagging#Use_of_XMP_Tags):

=if(IsEmpty([Genre]),,Genre\[Genre];)if(IsEmpty([Event]),,Event\[Event];)if(IsEmpty([Location]),,Location\[Location];)if(IsEmpty([Places]),,Places\[Places];)if(IsEmpty([People]),,People\replace([People],;,;People\))

In MC 12, the expression elegantly filled in the Keywords field with different entries delimited with semicolons. MC13, the Keywords field does not parse the expression as an expression at all (it does not evaluate it). Rather, it fills the Keywords field with the text of the expression itself.

Is this by design? If so what is the appropriate way to accomplish what I did in MC12. If it is not by designm, please fix.
Title: Re: Use of Expressions in MC 13
Post by: Matt on February 13, 2009, 02:40:52 pm
Thanks for letting us know.

In a coming build:
Changed: It is possible to use expressions and edit multiple, varied files, when in-place editing list style fields.
Fixed: In-place edit of list-style fields could scroll the list in unexpected ways.