The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.

learn more… | top users | synonyms (3)

6
votes
0answers
65 views

How do I delimit Property bag values so search treats them as individual searchable words?

currently I'm using the property bag with values that are comma separated something like: web.AllProperties["fruits"] = "bananas, apples, oranges, tomatoes"; Currently search is treating them as one ...
5
votes
4answers
11k views

Get Site Collection full URL using javascript

I want to get the URL for my site collection. One way I thought I could do it was using the window.location in javascript and getting it that way. I know that you can use ECMA script and the client ...
5
votes
2answers
227 views

User alerts being sent for something that happened before alert was created

I create a web. I create a doc library within this web. Create folders within this doc library. Then 'subscribe' (i.e. create an alert for) a user for this doc library. Why, if I'm doing things in ...
5
votes
10answers
3k views

What technical skills do you use most when developing/deploying SharePoint?

(I think my question is sufficiently different from this question to justify asking it. My question is not about useful SharePoint resources, but what technical skills you actually need...) I'm a ...
5
votes
6answers
487 views

Does the level of effort justify using SharePoint 2010 as a public facing webportal?

I have a predicament in a project I'm currently involved in. Due to the nature of the project and the customer, I will not be able to disclose any detailed information regarding the actual project, ...
5
votes
2answers
8k views

How can I get the root site collection from SPContext.Current?

With SPContext.Current I can get the current site or current web. However, I would like to get the root site collection for my current web application. I know that I can get the web application from ...
5
votes
3answers
5k views

FeatureActivated event receiver giving access denied when trying so set WebApplication property

When a Site event feature is activated I am trying to set some properties on the web application. My feature uses this value. public override void FeatureActivated(SPFeatureReceiverProperties ...
5
votes
4answers
8k views

How to fix “A SharePoint server is not installed on this computer”

To do SharePoint custom development, what is the recommended method? I've read this post, and it appears that if you want to use debugging in VS2010, you'd want to have SharePoint on the same machine ...
5
votes
2answers
807 views

Do you have to dispose of the SPWeb in the EventReceiver when using properties.OpenWeb()?

Does properties.OpenWeb() create a new SPRequest object or does it refer to the existing SPWeb object already there in the properties object? Should we manually dispose of the SPWeb obtained in this ...
5
votes
4answers
3k views

What SharePoint 2013 Development can be done in Visual Studio 2010?

It looks like the tools for developing SharePoint 2013 customizations are mostly in Visual Studio 2012 and "Napa for Office 365." If you've tried developing solutions for SharePoint 2013 in Visual ...
5
votes
5answers
863 views

Pros and cons of code vs. no code in SharePoint development?

Here's my situation: I work in a user area and have been tasked with creating usable SharePoint sites for different areas. Some are doc management, some are collaborative work spaces, some are task ...
5
votes
6answers
4k views

Using a development farm or standalone?

When doing development for SharePoint 2010, should we use a farm or a standalone setup? One difference is that the farm uses the full SQL Server while standalone employs a local SQL Express db. Our ...
5
votes
3answers
3k views

What is the best way to determine if CurrentUser is System Account?

Traditionally I use: if (web.CurrentUser.Name == "System Account") Is there a possibility the System Account Name could be something other then "System Account". Is there a more reliable way to ...
5
votes
5answers
1k views

When I execute a CAML query, how do I know what ListItem details I can include?

I was querying a SharePoint library, trying to retrieve some file attributes. Apparently some things like FileType and Date are not supported, even though those fields are listed as a built in field. ...
5
votes
3answers
756 views

sharepoint caml is fast - how?

We all know that Caml is faster than using linq, since linq internally gets translated to caml. But can anyone explain how caml is best to do sharepoint queries or how it is fast or what makes it ...
5
votes
2answers
330 views

HTML in SPGroup.Description

I am trying to add a group (SPGroup) programmatically. Everything works fine except for one thing. I would like the group's description to include a link to it's site. Similiar to the look-and-feel in ...
5
votes
2answers
1k views

Do I need to reset SPWeb.AllowUnsafeUpdates after use?

Do I need to reset the SPWeb.AllowUnsafeUpdates property after use? Seems not, but all over the web there is code like: bool allowUnsafeOrig = web.AllowUnsafeUpdates; web.AllowUnsafeUpdates = true; ...
5
votes
3answers
191 views

Things to “get right” to succesfully develop Sharepoint solutions

Lets face it, SharePoint 2010 is a big ecosystem. You need to know the GUI, the administration options, the data model, have programming skills, know the API, know how it works internally etc etc. I, ...
5
votes
2answers
1k views

How to modify the Site Settings page programmatically?

I need to modify the Site Settings page in a site collection to include an extra link. How can I go about doing this using c#?
5
votes
2answers
394 views

What are delegate controls for?

I just run this example: http://msdn.microsoft.com/en-us/library/ms470880.aspx But I dont see what are delegate controls for, I can do this same thing with webparts or visual webparts, so what are ...
5
votes
2answers
225 views

Why we need to do IIS Reset after adding a template

I added a template using, STSADM -o addtemplate -filename "C:\Stalker\BaleeeBaleee.stp" -title "YouBreakLive" I can see it in Central Administration in "Custom" site templates when I try to create ...
5
votes
4answers
298 views

Using Third Party editor in sharepoint 2010

Sharepoint 2010 content editor is better than sharepoint2007 but it's lacking lots of functionality. Is it possible to "substitute" standard rich text editor with something like Telerik Rad editor? ...
5
votes
4answers
1k views

Force a value into NewForm.aspx

I have a specific case where I want to hook up on the NewForm.aspx, hide a MultipleLookupField and set the value by myself. I'm opening the NewForm.aspx with Javascript and using some query strings ...
5
votes
2answers
1k views

Using dependency injection with SharePoint

In the particular project I'm working on we are already using Enterprise Library. I'm researching using it (i.e. Unity) for dependency injection. The recommended way to include Unity is modify ...
5
votes
3answers
462 views

How to get two User Profiles service application using C#?

Is it possible to get two User Profiles service application 1). User profile service1 2). User profile service2 I have some code which only fetches the Ist User profile service application but ...
5
votes
5answers
15k views

Error occurred in deployment step 'Activate Features': <nativehr>0x80070002</nativehr><nativestack></nativestack>

I have a feature. On the FeatureActivated event I am creating a list if it is not there. I also have an EventReceiver that in the elements.xml on the Receivers node has the attribute ListUrl. This is ...
5
votes
2answers
1k views

What is the best practice for securely storing a connection string in SharePoint?

I'm writing an application page in SharePoint and I want to securely store the connection string. I've used a variety of methods before but they all seem a little "suspect". What is the recommended ...
5
votes
1answer
619 views

Obtain Default Content Access Account via PowerShell

As part of farm configuration audit, I need to obtain the current content access account. While I've found several resources for setting the default content access account for search using PowerShell, ...
5
votes
1answer
462 views

Only show Sorting option not filtering opetion in contex menu of header in ListViewByQuery

I have creatd ListViewByQuery control through coding and added the control through RencerControl Event. I am filtering the list in code. so filtered result is shown. I want to hide filter context ...
5
votes
1answer
1k views

Sharepoint manage trust/add certificate

Hi I try to add a certificate under "central administration>security>manage trust" but I alwas get following error. The Root Certificate that was just selected is invalid. This may be ...
5
votes
1answer
2k views

Open modal dialog from code-behind with parameters

What I need to do is to open an aspx-page in a modal dialog when the user clicks on a asp:button. Currently I'm doing this: (Markup) <asp:Button runat="server" ID="TestButton" Text="Add ...
5
votes
3answers
538 views

Use a supplemental .config file just for a web application

I'm trying to add a section into the web.config of a SharePoint 2010 application and I created a webconfig.myname.xml in the \14\CONFIG folder. I then ran the following command to apply the changes: ...
5
votes
3answers
826 views

Using TFS and SharePoint Designer

I am part of a team working on a large, heavily customized SharePoint 2010 publishing site using TFS for source control and a mixture of Visual Studio and SharePoint Designer for development. One ...
5
votes
5answers
2k views

How to create a deployment package for a Sharepoint 2010 webpart in Visual Studio 2010

This might be a dumb question, but i really tried to google and didnt find any good answer. I was developing some webparts for SharePoint 2007 in Visual Studio 2008, and when i would build my ...
5
votes
3answers
9k views

How to use JavaScript and CSS in a web part?

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am using publishing portal template. I am developing using VSTS 2008 + C# + .Net 3.5 + ASP.Net. And I want to ...
5
votes
1answer
1k views

SPListItem.SystemUpdate(false) is still triggering alerts

Environment: SP2010 Enterprise, VS2012, c#, full server access Simple question... I'm using a console app to create sub-folders in a document library based on user input, then calling ...
5
votes
5answers
882 views

Customize a Delegate Control in SharePoint 2010

I created a simple project to Customize a Delegate Control in SharePoint 2010 such as in msdn article (http://msdn.microsoft.com/en-us/library/ms470880.aspx). Source code: Class: using System; using ...
5
votes
2answers
1k views

SharePoint 2007/2010 Custom Access Request Page

Does anyone know were to start to create a custom Access Request Page or how to modify the default behavior. We would like to use our own workflow behind the Access Approval for a specific site ...
5
votes
1answer
377 views

SPMetal and automated build approch

When using SPMetal to generate entity classes, these classes are used in LINQ to SharePoint queries. We have a project with content type and list definitions and one project with business logic which ...
5
votes
3answers
153 views

Keeping VM images consistent across development team

In trying to keep VM images consistent across our development team we need to ensure that SharePoint groups/users/permissions/audiences etc stay in sync as part of our CI process. Can anyone suggest ...
5
votes
3answers
74 views

SPList.GetItems(view) vs SPList.GetItems(query)

Which solution from the two is the most efficient one: 1. Using SPList.GetItems with a given view as a parameter 2. Using SPList.GetItems with a given query as a parameters and then retrieving from ...
5
votes
1answer
520 views

Sharepoint Client context (client Object Model) cant load more than 500 records or more

is here any limitation about read the records from any lists in sharepoint? my codes are default that downloaded from msdn: string siteUrl = SharePointAddressURL; ClientContext ...
5
votes
1answer
112 views

SharePoint library, targeting both sandboxed and farm solutions?

I'm planning to build a shared librarie toolbox for my customer. The idea is to factorize reusable code in a single utility framework. Some of the classes can run on Sandboxed solution, other ...
5
votes
1answer
2k views

Programmatically add quick launch link to a modal dialog box

I have implemented a feature that once activated adds a heading called Home, and a link underneath to a NewForm.aspx like such: // Add Home node var mainListsNode = new SPNavigationNode("Home", ...
5
votes
1answer
1k views

SPList.GetItems query returning an invalid SPListItemCollection. What am I doing wrong?

I'm trying to query an SPList object using a CAML query (see code below). SPQuery queryGetExistingTargetTask = new SPQuery(); queryGetExistingTargetTask.Query = ...
5
votes
2answers
1k views

OpenWeb throws a HRESULT: 0x80131904 exception in SharePoint 2010, but works fine in a Console app. Why?

While debugging, the site looks fine, it's just web that doesn't load okay. Can't figure out why. Throws generic exception when attempting to access a property: HRESULT: 0x80131904 Any thoughts? ...
5
votes
1answer
795 views

Can't get OfficialFile.SubmitFile to work

I'm trying to write a literal SOAP call (I'm integrating from a remote non-windows machine) to submit a file which currently resides in the drop-off library of the site. I created a simple file, ...
5
votes
2answers
497 views

Identifying duplicate documents

The search results webpart has a boolean property which can be used to configure whether "duplicate" results should be returned. Looking at documents, when is a document A considered to be a ...
5
votes
2answers
395 views

Picture Library Image size event receiver

I created a event receiver but work ok for single file but no work for multiple files, HttpFileCollection collection = _context.Request.Files; for (int i = 0; i < collection.Count; ...
5
votes
6answers
5k views

How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#?

I've this WCF web service hosted inside a Sharepoint 2010 web application. This service is created using the following factory: ...