Advertisement

09.04.2008 at 02:23PM PDT, ID: 23704347 | Points: 250
[x]
Attachment Details

Infopath query aganist the sharepoint sitecollection using webservice.

Asked by naveentalluri in Infopath, MOSS-Sharepoint, Web Services and WCF

there is a infopath field with sitecollectionURL.and i have to check  this field with a webmethod that returns a boolean(sitecollection exists or not with that name in farm). i am attaching code snippets..but it is not working...can anyone help me out..and correct my code snippet..why it is not working?Start Free Trial
1:
2:
3:
4:
5:
6:
public static bool Exists(Uri uri)
{
bool returnvalue;
returnvalue = SPSite.Exists(uri);
return returnvalue;
}
[+][-]09.04.2008 at 08:35PM PDT, ID: 22395059

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628