SPWeb is a single website in SharePoint residing in a Site Collection (SPSite).

learn more… | top users | synonyms

0
votes
2answers
467 views

Is it possible to determine if a given URL represents an SPListItem?

I am wondering if there is some sort of way to check a URL to see if it represents a list item before calling SPWeb.GetListItem that I haven't found. I have code that needs to retrieve a list item ...
1
vote
1answer
59 views

Changign language in sharepoint programattically

Hey every one i am having some problem in changing the language in sharepoint programattically i am having two language packs installed on my server norwegian and english if am changing language ...
1
vote
1answer
363 views

Is it possible to copy SP Web from 2010 to 2013?

All I am trying to do is copy a SharePoint Web (i.e: http://sp2010/hr) to (i.e: http://sp2013/hr). I was able to export using: Export-SPWeb http://sp2010/hr –Path "hrexport.cmp" But when I try to ...
1
vote
1answer
714 views

Adding SPListItem using SPWeb.ProcessBatchData method

I am looking for adding SPListItem using SPWeb.ProcessBatchData method. Could any one please help me on syntax for adding list item to my custom list.
1
vote
1answer
217 views

Get all webs with certain property value

If I have a certain number of webs within my site collection, and those web have set some property, eg. web.Properties["foo"] = "bar". I'd like to get list of all the webs which have property foo set ...
0
votes
1answer
228 views

Check if SPUser has access to an SPWeb object without causing an Access Denied redirect

As part of a Workflow Association Form code-behind we need to access information on different sites (in the same site collection). It is possible that the user trying to configure a workflow does not ...
0
votes
1answer
53 views

SPLink.UrlParameter

Is there a way to assign value to Microsoft.SharePoint.SPLink.UrlParameter. From MSDN, I see that this is parameter is read only, but was wondering is there any setter function that would have access ...
0
votes
1answer
82 views

Multilingual User Interface (MUI) not works with SiteTemplates

I've created a CType and create columns namings for multiple languages by changing the current language and set the corresponding naming. Then I create a Subsite (same language based) using those same ...
1
vote
0answers
174 views

_spBodyOnLoadFunctionNames.push Not working in firefox

I tried this in firefox i dont know why its not working but it working in other browsers function loadmonth() { alert('called'); } _spBodyOnLoadFunctionNames.push("loadmonth");
0
votes
0answers
34 views

SPWeb.GetFolder() returns SPFolder with no files or sub folders

I'm encountering a strange problem on SharePoint 2007 where the following script correctly enumerates files and folders on my QA and DEV sites, but not on my Production site. Why is SPWeb.GetFolder() ...
0
votes
0answers
25 views

SPWeb approvers. Different users for each SPWeb in a site collection

I have created a custom site collection and in this site collection are multiple SPWeb news sites. The news SPWebs are moderated by different groups of users. I want to create a group for each news ...
0
votes
0answers
34 views

Any ideas why the Inherit is not available on a SPWeb?

Any ideas why the Inherit is not available on a SPWeb?
0
votes
0answers
73 views

spquery.query cannot be charged correctly

I'm charging my spquery with different parameters from a static class called Fields : In fact I'm using this query to bind result data to my asp:grid view using (SPSite mySite = new ...
0
votes
0answers
102 views

Content Typed Field Names not propagated with Multilingual User Interface (MUI)

I've created a CType with columns namings for the alternated languages, by changing the current language and set the corresponding naming. So far so good, it works as expected. The problem comes when ...
0
votes
0answers
643 views

Sys.WebForms.PageRequestManagerServerErrorException: Trying to use an SPWeb object that has been closed or disposed and is no longer valid

Sys.WebForms.PageRequestManagerServerErrorException: Trying to use an SPWeb object that has been closed or disposed and is no longer valid. This is the error message that a user gets on a SharePoint ...