Retrieving a content field in a sandboxed webpart solution
I have to create a WebPart that will be within a PageLayout.
Depending of the page (that uses this pageLayout), the webpart will show different values.
So, I need to retrieve some page content as parameters.
The code bellow works for non-sandboxed solution:
string param1 = SPContext.Current.Item["Wiki_x0020_Page_x0020_Categories"].ToString(); How can I do the same in a sandboxed solution?