Question

I want to create a webpart to retrieve some of the social tags a user has used. This has to run in SharePoint Online ie a sandboxed solution. I have code which does the same, but already the first line uses SPServiceContext which isn't available in the sandbox:

MSDN: SPServiceContext Class

So I was wondering if it's even possible at all.

Était-ce utile?

La solution

Sandbox does not allow the Microsoft.SharePoint.Taxonomy.dll so it will not be straight forward to access the termstore or social tags.

Hovewer, you can use SPQuery to access the values in a Managed MetaData column.

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top