Hello,
I'm new to Dynamics solutions and I am running into an issue with my first one that I can figure out.
I created a solution that has an onload event for accounts, contacts, and leads.
While the solution is unmanaged, everything works fine.
I export it as managed and import it into my clean system and everything is there except the onload event on the contact form. There are no errors or warnings on the import. I get the success message and everything has checks next to it. The onload events are there for the account and lead entities. All 3 events are identical and use the same web resource file. The form library has the file listed there, it just the onload event is missing.
When I look in the customizations.xml file, I see all 3 events in it. But the contact event is listed slightly different than the account and lead events.
Account and Lead:
<events solutionaction="Added"> <event name="onload" application="false" active="false"> <Handlers> <Handler functionName="mafvmBuildUrl" libraryName="mafvm_iframe_script" handlerUniqueId="{7dde28b6-d829-38b9-6bbc-9508d3807286}" enabled="true" parameters="" passExecutionContext="false" /> </Handlers> </event> </events>
Contact:
<events> <event name="onload" application="true" active="true"> <Handlers solutionaction="Added"> <Handler functionName="mafvmBuildUrl" libraryName="mafvm_iframe_script" handlerUniqueId="{54513132-38c2-9a87-4b38-0769a31e3c32}" enabled="true" parameters="" passExecutionContext="false" /> </Handlers> </event> </events>
solutionaction is on handlers instead of events
application and active are true instead of false
When I look in the interface at each event, every line and checkbox are identical.
I have attempted editing the customizations.xml file and changed the contact to match the account and lead event, but the result is the same, the onload event is not installed on the contact form.
After the install, I can go into customize the system (default solution) and add the event and everything works, but I was hoping to have no interaction other than the standard install.
I'm not sure where to look. Can anyone give me some tips on how to troubleshoot this further?
Thanks,
Jeff