9
votes
2answers
987 views

Differential backup failed, “perform a full database backup”

I've just setup Sharepoint on a dedicated server and I am now going through setting up the backup plans before we start really using it. Because Sharepoint does not have an "automated" backup ...
9
votes
3answers
943 views

FAST Search Security Trimming of non Windows External Content Types

We have integrated a back-end web application into SharePoint 2010 using the BCS and the OOTB Web Services connector. The data in the backend system is protected by ACLs and we need these ACLs to be ...
9
votes
4answers
1k views

Cannot upload to a permissions-enabled document library even with RunWithElevatedPrivileges

In our WSS 3.0 application, we have a document library that has an elevated folder called "Approved". It has different permissions from the rest of the Document Library in order to prevent people from ...
9
votes
2answers
383 views

Content deployment deploys everything except list contents (PDF's, excel docs) - Log included

Background of problem We are developing an extranet. It's primary purpose is to share pdf's and xls files with external customers. After content deployment, everything works as expected, except the ...
8
votes
4answers
6k views

How to log off user from SharePoint site, if the user has been inactive for 20 minutes

How to log off the SharePoint site, if the user is has been inactive for for 20 minutes? Do I need to redirect user to logout page? How would I count the idle time?
8
votes
9answers
24k views

Read-only column in a SharePoint list

I want to create a read-only column in my "Request Approval" Nintex workflow task that I sent to the user. I did the following: Created a column in my list. Field name: “Guideline” In the default ...
8
votes
3answers
8k views

How to find all documents of a certain content type?

I have an content type I would like to delete, but when I try I get an error message saying that it is still in use. Is there a way that I can find all documents that are still using that content ...
8
votes
3answers
5k views

How to write CAML queries filtering on ModStat (Approved, Rejected) when using Language Packs?

When using content approval the CAML for retrieving (say) just Approved Items is <Query> <Where> <Eq> <FieldRef Name="_ModerationStatus" /> <Value ...
8
votes
2answers
8k views

How do I check if a site already exists from PowerShell? [duplicate]

I have a script that exports a site and restores it in another web application. I want to check if the target site already exists. Is there an easy way to tell if www.example.org/sites/asite/ is ...
8
votes
2answers
9k views

How do I convert SPUser to SPFieldUser?

I have a field in a list that accepts an SPFieldUser object. I have an SPUser object that I would like to populate that field with, but I cannot implicitly convert from one to the other. How would I ...
8
votes
3answers
3k views

Event handler vs. event receiver

http://msdn.microsoft.com/en-us/library/ms453149.aspx says To create the event handler 1. Start Microsoft Visual Studio 2010. 2. On the File menu, point to New, and then click Project. 3. In Project ...
8
votes
5answers
6k views

How to restrict a document library to a specific file type (extension)?

I have a SharePoint intranet site where I need to allow users to upload certain documents. These documents need to be only PDF files for example. What is the simplest way to restrict the document ...
8
votes
2answers
6k views

Pass parameters in ExecuteOrDelayuntilScriptLoaded in Javascript client Object model

I have written a javascript client-object model code and I am calling it through the below line code from content editor webpart: ExecuteOrDelayUntilScriptLoaded(getWebSiteData(sys), "sp.js");// ...
8
votes
1answer
3k views

SPList.Add() vs SPList.AddItem() SharePoint 2010

Using some test code i found out that SPList.AddItem() executes slight faster then SPList.Add() - does anyone know why is it so ? DateTime start = DateTime.Now; SPList ...
8
votes
3answers
8k views

Feature with id already exists - force option

I'm getting that old familiar error when trying to deploy my SharePoint solution via Visual Studio: Error occurred in deployment step 'Add Solution': A feature with ID {Guid} has already been ...
8
votes
2answers
2k views

SPWeb being closed when getting list by powershell. What's wrong?

When I run this little piece of powershell code: $w = Get-SPWeb http://localhost $l = $w.List["some list"] I get Unexpected error message to my Sharepoint ULS log Detected use of SPRequest for ...
8
votes
4answers
242 views

Is there a good SharePoint 2010 Page Profiling tool about?

If I want to measure how long it takes for my browser to render a page, requests, scripts, the lot, in ie9, what's a good tool for that? The idea being is that I have a very heavy page which I want ...
8
votes
3answers
8k views

Restore-SPSite to the same content database

I ran Restore-SPSite on my server from a backup. I then deleted the site collection and did it again but got the following error: Restore-SPSite : The operation that you are attempting to perform ...
8
votes
3answers
3k views

How to write to ULS Log in SharePoint 2010 from a .NET app?

The Sharepoint Trace Log Sample given at http://msdn.microsoft.com/en-us/library/aa979522.aspx & explained at http://msdn.microsoft.com/en-us/library/aa979595.aspx does not work in in Sharepoint ...
8
votes
3answers
5k views

What are the client side requirements to enable the “upload multiple files” link?

What are the client side requirements to enable the "upload multiple files" link? I'm using WSS 3.0. Also using FBA, not sure if that matters. It "works on my machine", but not for some other ...
8
votes
3answers
10k views

Fastest way to delete all items with C# [duplicate]

Possible Duplicate: Deleting all the items from a large list in SharePoint What is the fastest way to delete all items in a list programmatically? I do not want to remove list and re-create ...
8
votes
6answers
5k views

Risk of conflict between jQuery document ready and _spBodyOnLoadFunctionNames?

I recently read in the jQuery documentation that: The .ready() method is generally incompatible with the body onload attribute. If load must be used, either do not use .ready() or use jQuery's ...
8
votes
5answers
8k views

Why does the scrollbar for Chrome users hide sometimes?

We're building a SP2010 SP1 site. For users on Chrome, sometimes the scrollbar doesn't display. The user has to refresh 1-10 times until the scrollbar appears. Why does Chrome have trouble ...
8
votes
2answers
2k views

Global variables in SharePoint

Is it possible to define a global variable in SharePoint 2010 and then reference it in menus and server-side pages? We currently have a menu item on all 30+ web sites that points to the existing ...
8
votes
4answers
2k views

List Validation does not show Error when Conditions are not met

I am using List Validation feature for a list which is working fine i.e. doesn't save the item when condition not met. However, it is not showing the error message which helps to rectify the inputs in ...
8
votes
4answers
4k views

Problem with HTTP Handler deployed on Sharepoint 2010

I've developed a Visual Web Part for Sharepoint 2010. I've used VS2010 to do that and tested the Webpart in a testing server using VS to do the deployment. But to deploy it on the production server I ...
8
votes
2answers
1k views

Tracing user profile changes without iterating all the through?

Due to the project requirement, we want to trace the user profile property changes (made through mysite) whenever they do. Is it a good idea to insert a javascript (through a delegation control) and ...
8
votes
2answers
682 views

What are the maintenance actions that can be done on a Sharepoint application to ensure optimum performance?

After deploying a Sharepoint application, what maintenance actions can be done to ensure optimal performance and avoid degradation of performance over time? I can think of the following: Schedule ...
8
votes
6answers
22k views

How can I learn the basics of SharePoint 2013 in a few days?

I have very little knowledge of SharePoint, and want to learn about SharePoint 2013. Most of the resources that I've found are either about what's new in 2013, or they have a bunch of links to ...
8
votes
3answers
3k views

Add “New document” button to home page

I have a fairly simple SharePoint subsite that has two elements: the home page a document library The document library has two content types associated with it. What I would like to do is add a ...
8
votes
2answers
709 views

Localization on a SPField created in code

When you declare a SPField in CAML, you can add the localization in the code: <Field ID="{57258F13-19B2-4A97-B244-090845B5C4AB}" Type="Text" Name="Partner" ...
8
votes
2answers
849 views

Why use SharePoint Custom Timer Jobs?

Am I wrong to think that Scheduled Windows Tasks running for example a console app can achieve everything that a SharePoint custom timer job can? This has been my experience so far. However, a C# ...
8
votes
3answers
5k views

Hiding buttons of the Ribbon Bar

Is it possible to hide specific buttons of the SharePoint 2010 Ribbon Bar based on the user's permission on publishing pages? For example, we need to hide the font dropdown and under the Insert tab, ...
8
votes
2answers
5k views

What permissions are needed to deploy a WSP to SharePoint 2010?

In an attempt to make sure that developers have the appropriate rights, I'm trying to find documentation on what rights are needed to deploy WSP files to SharePoint 2010 (via stsadm or otherwise). ...
8
votes
1answer
6k views

How do I show a loading div when opening a modal dialog from a CustomAction?

I have created a new CustomAction which is a new item (link) in Site Actions menu. When you click it, it opens a modal page (aspx). Everything works fine, but it takes about 3 seconds to open the ...
8
votes
4answers
2k views

Web scoped Timer Job

Could you help me understand the SharePoint timer job? The issue is simple. I should implement a page and put it to the layout folder (the page should be accessible from any web). This page should ...
8
votes
4answers
527 views

Save metadata on this list as social tags

On the UI, for a document Library settings, under "Enterprise Metadata and Keywords Settings" there is an option to "Save metadata on this list as social tags" Is there a way to activate this, ...
8
votes
1answer
833 views

Prompt My Site users to accept Terms of Use Agreement on first visit

Looking for a way to prompt every user to accept a "Terms of Use Agreement" on the first visit to their My Site. currently thinking of several approaches and looking for some feedback and other ...
8
votes
5answers
4k views

How to embed the “Connect to Outlook” link in a page

I need to put a link to the "Connect to Outlook" script on a SharePoint 2010 page. I have built the stssync:// URL that triggers the Outlook sync: ...
8
votes
4answers
461 views

Downloading Bulk of data(150 GB) using powershell or C#

I have a task to download bulk of data(150 GB) from SharePoint document libraries? What will be more efficient and faster,Doing it using a powershell script or using a c# code to download files?
8
votes
3answers
3k views

How do we add Sort By Last Name on People Search?

This may be a simple question but I am having a hard time figure out how to add Last Name on Sort by in People search. Any help is greatly appreciated. Thank you for reading. //Update - tried ...
8
votes
2answers
221 views

SharePoint Apps vs Features

SharePoint 2013 supports new kind of Solutions called Apps.According to MSDN, Apps are self contained piece of functionality and easy to install, use and update. I think SharePoint features also ...
8
votes
2answers
1k views

What is the difference between properties.OpenWeb() and properties.Web?

I am developing an event receiver, using the ItemUpdating event, and I noticed that the properties parameter has an "OpenWeb" method, with this description: Retrieves the Web site that is ...
8
votes
4answers
4k views

Custom breadcrumb?

I have a custom breadcrum for my site. It works almost perfectly, the only issue I have is that it is displaying full paths like so: Home > About Us > Pages > Awards I would prefer for the ...
8
votes
2answers
1k views

LINQ to Sharepoint - Repository pattern and common methods in repositories

I generated a entity classes + data contexts by LINQ to Sharepoint and created a repository classes. When I use normal database and mapping like Entity framework I've got usually some base repository ...
8
votes
3answers
3k views

Is there a better Editor for a SharePoint 2010 wiki?

What editor would you suggest to use for SharePoint wikis? We are not so happy with the built in HTML one (because of image support) I opened another question about how to use Windows Live Writer, ...
8
votes
5answers
8k views

Paging and sorting with BCS

I going to use the new exciting External Content Type feature to display a list of data from an external LOB system. The list is potentially long, so paging with filtering at the LOB system side is ...
8
votes
5answers
267 views

Remote Event Receiver on updated will be fired multiple time

If someone ever had a similar experience, i'm trying to update word document in the document library and the problem is that my ItemUpdated is triggered multiple times. I think that last ...
8
votes
3answers
182 views

Where and how are sharepoint list stored in sharepoint apps

Sharepoint Apps, can be installed in multiple site collections. According to everything I have read about apps, sharepoint apps are isolated from the sharepoint environment and I can completely ...
8
votes
6answers
10k views

Site collection owners and site collection administrators. Can anyone explain the difference in plain english

Just found this on MSDN and I'm confused. the Owners group of a site is not the same as the site collection owners, which themselves are called site collection administrators in the Central ...

15 30 50 per page