Taxonomy problem in Office365

so I have a sandboxed solution with an event receiver which generates a document number. Part of this document number is using a TaxonomyFieldValueCollection to retrieve the field name for that taxonomy. This is the code here:

TaxonomyFieldValueCollection values = new TaxonomyFieldValueCollection(properties.AfterProperties["Workstream"].ToString());

This is the error I get when I deploy the solution to Office365:

System.Security.SecurityException: That assembly does not allow partially trusted callers ... The action that failed was: LinkDemand The Zone of the assembly that failed was: MyComputer

Is this due to the fact that we can't use taxonomy in sandboxed solutions? If so are there any alternatives?

THANK YOU!

September 1st, 2014 4:26am

Hi,

Greetings. pls check if it helps you

http://blogs.msdn.com/b/shawnfa/archive/2005/02/04/367390.aspx

Free Windows Admin Tool Kit Click here and download it now
September 1st, 2014 4:40am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics