02-05-2010 01:54 AM
I ve just started creating plugin for ACT and I need to change the layout according the ID status of contacts.
Now, i get an error of compilation when I want to use the GetAvailableLayout function.
Here is the code I use
InfoLayout = application.UILayoutDesignerManager.GetCurrentLayout(Act.UI.LayoutDesigner.LayoutType.contact);
The error in on InfoLayout, It says the type Act.FrameWork.ComponentModel.IDefineFieldSupport is defined in an assembly which is not referenced.
It says that I have to add a reference to the assembly Act.Framework.ComponentModel.Core.
Anyone has an idea about the problem or what I sould do to reference the function.
Thanks for help
02-05-2010 02:59 AM
Sorry to write in two posts but I thought I find a solution but still have problems.
In fact, the Act.framework.componentmodel.core.dll was missing. I found it on the installation CD but it's not the right version (11.0.367.0) and I need the 126.96.36.199 according the version of my Act version.
I have the patch 11.1 but I didn't found the dll on it.
Does anybody have the dll or know how can i do to generate without error.
02-11-2010 01:58 PM
The version doesn't really matter, just that all the dll's you use are the SAME version
I'd suggest using 10.2 dll's for your application if you can find them, if you can't, just copy the entire GlobalAssemblyCache directory from your cd (Version 11.0.x) and change all the dll references in your project to use those, it will work just fine.