Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SharePoint > SharePoint Development
SharePoint Development Programming and development for SharePoint Portal Server and Windows SharePoint Services
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SharePoint Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 23rd, 2011, 10:26 AM
Registered User
Join Date: Jun 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?


Similar Threads
Thread Thread Starter Forum Replies Last Post
Field content prefixes in output xml? CAMc XSLT 2 February 16th, 2011 12:07 PM
Deploy Event Receiver To Sandboxed Solution Richard70 BOOK: Beginning SharePoint 2010 Development 2 July 31st, 2010 04:46 PM
Copy Field content to Clipboard and . . . BEN_HOGAN Access 1 May 19th, 2010 04:19 PM
Retrieving Field Names RayRedSox Classic ASP Basics 0 October 12th, 2005 02:16 PM
Retrieving Dynamic Field Names tdaustin Classic ASP Basics 4 January 12th, 2004 11:10 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.