Topic by Jason Owens
Content
We recently had our site upgraded and were finally forced to move to WPF. I have been trying to update our add-in to work with the changes and am having a tough time figuring out an elegant way around the WPF switch breaking how the properchanged event works.
Prior to the WPF upgrade i had an add-in that handled iincident.propertychanged, if the propertyname was OrgId I would trycast the current GetWorkspaceRecord as an IOrganization to get the new org record so i could handle some special cases based on various organization fields.
After the move to WPF it seems that in my PropertyChanged handler the organization is always null, i assume this is because the workspacerecord doesn't have an organization yet, but this leaves me wondering how to best get the organization that was just loaded.
I've thought about using SOAP to get the organization, but i'm trying to avoid adding more web calls as we have a somewhat limited pipe and the more SOAP calls i make the more complaints from users i get about the system being slow.