Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.