Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

ProjectProperty and ListProperty with CrossListQueryInfo

  Asked By: Heriberto    Date: Jul 18    Category: Sharepoint    Views: 3133

I am running a CrossListQueryInfo and the ViewFields for the CAML includes

<ProjectProperty Name="Title"/>
<ProjectProperty Name="Url"/>
<ListProperty Name="Title"/>
<ListProperty Name="DefaultViewUrl"/>

I am getting empty values for Url and DefaultViewUrl, although it is returning
Titles correctly. Is this some limitation or I am missing the trick.



1 Answer Found

Answer #1    Answered By: Carsten Winsnes     Answered On: Feb 04

Same here. I was not able to get a value from ProjectProperty.URL. You might get a WebId back and then can convert that to the URL. Not the most efficient way, but one way.

string fullUrl = site.AllWebs[new Guid(resultRow["WebId"].ToString())].Url;

Didn't find what you were looking for? Find more on ProjectProperty and ListProperty with CrossListQueryInfo Or get search suggestion and latest updates.

Related Topics:


Related Post