So this is a bit of a strange issue since it happens sporadically and I believe doing the above. i.e.,
setting ProxyType on the OrganizationServiceProxy to add behaviour (Assembly.getExecutingAssembly()) is done so that when the plugin runs it picks up the executing assembly and does not throw the
"A proxy type with the name <entityname> has been defined by multiple-types"
On reading/researching some of the google links. This is accomplished in a console app since the credentials are available. username/password.
How would this be accomplished in a plugin ? The WhoAmI request would provide userID, Domain/Org but not password. So how do we set up the credentials part required to create an instance of the Organization Service Proxy in the plugin ?
Spent a few hours on this.
Any help/guidance is appreciated.
Thank you.
*This post is locked for comments
I have the same question (0)