Re: List.GetListItems()- Get Additional columns data
- From: Per Jakobsen <PjBlackKnight@xxxxxxxxx>
- Date: Thu, 28 Aug 2008 21:04:07 +0200
Hi Robin
Well you have several options:
The second parameter is the name of the view to use for specifying default to the remaining parameters so option 1 is to
specify a view with your fields here. If nothing is specified the default view is used
The fourth paramter is the list of fields you want specified as an xmlNode so option 2 is to specify the fields you
want here. If nothing is specified the the field from the above mentioned view is used. To specify fields use this
syntax:
Dim ndViewFields As XmlNode = xmlDoc.CreateNode(XmlNodeType.Element, "ViewFields", "")
ndViewFields.InnerXml = "<FieldRef Name='Field1'/><FieldRef Name='Field2'/>"
On Thu, 28 Aug 2008 05:46:06 -0700 (PDT), Muscle <robinmathewk@xxxxxxxxx> wrote:
Hi,--
I am trying to get the list of data from sharepoint list. I have
created 5 columns and in the view I selected(ticked) only these 5
columns. I am using the code
xmlnode xnode =<Proxy List>.GetListItems("Project Master", Nothing,
Nothing, Nothing, Nothing, Nothing, Nothing)
There are some other unchecked columns like 'Modified', 'Created',
'Version'(sharepoint's additional columns). Since I don't want to show
thses to the users, I didn't select these columns. But my code is
returning the values of only the selected columns.
Please help me to get the values of those additional columns also?
Thanks in Advance
Robin Mathew
BR
Per Jakobsen
Blog: http://www.theblackknightsings.com
.
- References:
- List.GetListItems()- Get Additional columns data
- From: Muscle
- List.GetListItems()- Get Additional columns data
- Prev by Date: List.GetListItems()- Get Additional columns data
- Next by Date: Filter a List Web Part programmatically?
- Previous by thread: List.GetListItems()- Get Additional columns data
- Next by thread: Filter a List Web Part programmatically?
- Index(es):
Relevant Pages
|