Re: List.GetListItems()- Get Additional columns data

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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
.



Relevant Pages

  • Re: How should I specify size?
    ... > Hello, when using cin.getlinewith a char array, how should I specify the ... > size (the second parameter of getline)? ...
    (comp.lang.cpp)
  • Re: How can I get just one row from selected column?
    ... your XHTML code will be invalid) ... function (if you use double-quotes around attribute values, then you do not have to specify the second parameter for this function, but if you use single-quotes - as in the example above - then you ...
    (comp.lang.php)
  • Re: Better way to remove all occurrence of matches on a String
    ... What feels a bit "awkward" to me in the first approach is to specify I ... want no replacement. ... If you *really* want to avoid a second parameter, ... str = "foo bar foo bar foo" ...
    (comp.lang.ruby)