Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
All commercial releases of SharePoint. Excludes free license versions of SharePoint.
0
votes
sharepoint 2007 list items concurrent edit
You can try OOB Checkin/Checkout feature. If the item is checked out user will get to know that the item is being edited by other user.
1
vote
change the page title of subsites in sharepoint using C# code
Here is the sample code:
using (SPSite site = new SPSite("http://sp2010:90"))
{
foreach (SPWeb web in site.AllWebs)
{
using …
0
votes
Accepted
How to add existing user from the current site to a particular group using c#?
Use PeopleEditor.CommaSeparatedAccounts to get the string array of users specified in the people editor. Then loop through the array and do web.EnsureUser add finally add user to the group you want.
1
vote
How do I create a public view from a private view
There is no other way but to create the view manually again.
You cannot change a personal view to a public view or a public view to
a personal view. You can use a public view as the starting poi …
0
votes
Accepted
How to get the SPWebService from SPServices?
Use following code to get SPWebService
SPServiceCollection services = SPFarm.Local.Services;
foreach (SPService curService in services)
{
if (curService is SPWebService)
{
SPWebService webSe …
3
votes
How to activate a feature (scoped at site collection level) in all web application using pow...
Following is the sample PowerShell code. However, I have not tested it. But this should give you an idea how to do it:
#Get all the web applications
$webApplications = Get-SPWebApplication
#Loop thro …
1
vote
Accepted
How to activate feature in all webapp only if its in deactivated state -Powershell?
To see if a feature is activated in a site collection, you can use follwoing powershell code:
$IsActiveFeature = Get-SPFeature -Identity $FeatureID -Site $SiteUrl -ErrorAction SilentlyContinue
The …
1
vote
Accessing a js file from SitePage
You need to append /_layouts/15 in the file path. For example:
/_layouts/15/MyProjectName/JSLinkFAQ.js
UPDATE
I don't see any issue with the XML code you provided. You may try following:
Use sit …
0
votes
How can we access list item's column value on the master page?
You can use a delegate control. So you don't need to modify the master page.
All of the out-of-box SharePoint master pages include the
following in the HEAD section of the HTML markup:
<SharePo …
0
votes
Features Stapled to a SharePoint 2013 Team Site
Look in the onet.xml file of the particular site definition. You can find it in the 15 hive. The full path of team site one.xml file is C:\Program Files\Common Files\Microsoft Shared\Web Server Extens …
0
votes
Get id of current inserted item by javascript. Could you please help me some one what is I a...
This is perhaps related to Scope of obListItem. Try changing var obListItem = obList.addItem(itemCreateInfo); to this.obListItem = obList.addItem(itemCreateInfo);. Or define obListItem outside of fu …
0
votes
Huge List Problem
Since the number of items is large, I would suggest using SPWeb.ProcessBatchD. It is an efficient way of deleting large number of items. Here is a sample server object model code:
private static Stri …
6
votes
Accepted
Difference in SPListItem[field_Name] vs SPListItem.Properties[field_Name] in sharepoint
Both are different. SPListItem.Properties is a hashtable which can be used to store key value pairs. It is also known as List item property bag in SharePoint.
In ASP.Net web application, whenever …
1
vote
Accepted
SharePoint 2013 - Set sub-site page has my site home page
The Publishing features need to be activated in the site. First activate the SharePoint Server Publishing Infrastructure by going to Site Settings -> Site Collection Administration -> Site collection …
2
votes
Accepted
Edit "Discussions List" fields programmatically
The reason for error is that you need to use the Display name of the field which is Question and not IsQuestion(internal name). Change code to SPField field = list.Fields["Question"];