문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top