Hi,
I've implemented a custom AppointmentDialog where one textbox is bound to a MetadataProperty.
When the subject-textbox lost focus i do a database query and fill some propertys according to the query result. But when i fill the MetadataProperty the textbox doesn't get the updated value.
Is there a method i have to call to update the binding or do i have to change the value manually?
Thanks in advance,
Bastian
HI Dicom2010,
I have created a private case for this issue and will contact you via emaiil.
Sincerely, Matt Developer Support Engineer
Hi Matt,
I have the code already in the event, but the issue persists.
Sincerely,
HI DiCom2010,
I am just following up on this post.
Please let me know if you need further assistance.
Sincerely, MattDeveloper Support Engineer
This may be related to an outstanding issue whereby the Metadata is not correctly initialized when accessed after a custom dialog is displayed. To see if this is the same issue try hooking the ActivityDialogDisplaying event and add the following code and see if the issue persists.
var dc = ((XamScheduleDataManager)sender).DataConnector as ListScheduleDataConnector; foreach (var item in dc.AppointmentPropertyMappings.MetadataPropertyMappings) { object v = e.Activity.Metadata[item.MetadataProperty]; }