The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.
4
votes
1answer
220 views
Adding custom colours to the colour picker
Is it possible to add your own colours to the colour picker. If so how do you do so?
4
votes
2answers
897 views
SharePoint 2010 FBA: Redirect on Sign Out
I'm using the SharePoint 2010 FBA Pack http://sharepoint2010fba.codeplex.com/. Basically, I want to redirect to the homepage once a user Sign's out. I'm unable to find this. Could someone please help ...
4
votes
3answers
2k views
How to prevent a SharePoint web part from being crawled
We have a custom web part for our SharePoint 2007 farm that calls a very large report (lots of views and stored procs being called) that is used on hundreds of pages on team sites and MySites. We get ...
4
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 ...
4
votes
3answers
370 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:
...
4
votes
3answers
567 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 ...
4
votes
2answers
1k views
Sharepoint 2010 ModalDialog title
I am creating a popup window in sharepoint using this code in javascript.
function openDialog(title, url, width, height, CallResult) {
var options = { url: getUrl(url),
title: title,
...
4
votes
1answer
499 views
Deploying custom page into the pages library using a feature in SharePoint 2007?
I have a custom page and want deploy it into the pages library of the site using a feature in SharePoint 2007. Whenever the activated the page should added into the pages library and should removed on ...
4
votes
2answers
669 views
Web Parts for both 2007 & 2010
I'm curious if anyone has seen any guidance/best practices on developing web parts that can work for both SP2007 & SP2010 with minimal conversion? They wouldn't take advantage of any new 2010 ...
4
votes
2answers
1k views
Custom field type won't postback
I've been trying to build a custom field type.
It's basically a set of cascading dropdowns, where the values of the second dropdown are taken from another list based on the selected value in the first ...
4
votes
2answers
222 views
Button not appearing on custom tab
I'm attempting to add a tab to the Library contextual group. So far that works inside a Document Library. I can also see my Group on the new tab, but I don't see my button (will have more than one ...
4
votes
3answers
367 views
Manage some state inside a Sharepoint WebPart
Considering a simple example of a webpart that adds items to a list based on a simple button click:
public partial class MyVisualWebPartUserControl : UserControl
{
private int cont = 0;
...
4
votes
1answer
1k views
How to find the Author Name using SP Client Context in SharePoint 2010?
I am trying to find the Author Name(created by) for a given Item Id using the SP Client context in SharePoint 2010.
Below the code snippet
var ctx = new SP.ClientContext.get_current();
...
4
votes
2answers
206 views
Pros of Sharepoint and Build Server (TFS, TeamCity,…)
What are the pros using a build server with sharepoint when having projects your working alone at?
4
votes
1answer
77 views
+50
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; ...
4
votes
2answers
86 views
best way to store property of a site
I have a site called Exhibitions that contains many many subsites each of which is an individual exhibition (with pages, images etc). I would like to attach to each of these subsites a property which ...
4
votes
3answers
1k views
How do I find out what's wrong with my sandboxed solution in SharePoint Online?
I have created a custom web part which presents a form to create a SharePoint site below the current site, while performing some ancillary actions like updating a list of subsites on the front page to ...
4
votes
1answer
70 views
Add a Three-State Workflow by Code?
I want to add a three-state-workflow to a list. I know how to add this via Designer but - to keep manual works low - I want to achieve the same goal by Code.
This is what I need:
Add a ...
4
votes
1answer
204 views
Previewing Non-Standard Images in Picture Library
I am trying to create a picture library that will allow users of the site to store picture documents as well as preview them.
If a image that is, what I would call standard (.jpg, .gif etc.), is ...
4
votes
1answer
347 views
How to customize a ListView Webpart from code
I have a repository of files... I'd like to create a ListView Webpart wich receives the path in the tree and show the files in the document library... It's possible to do this by code? Is there any ...
4
votes
1answer
1k views
Programmatically create MySites for Users with FBA
I am trying to create MySites for users programmatically but I am receiving the following error:
My Site creation failure for user '' for site URL 'http://goaccel-app2:1000/sites/mysites/personal/'.
...
4
votes
1answer
132 views
Feature Scope Problem
I am having an heck of a time trying to get two separately scoped solutions to work together.
The first solution is scoped for Farm and does nothing more than add a custom SPDiagnosticService. When ...
4
votes
2answers
1k views
Execution of code as Application Pool account
Here is what I'm currently trying to do -
1.Create a new instance of a timer job from a web part
2.Add a new site collection to the current web application again from a web part
Each time the code ...
4
votes
2answers
484 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 ...
4
votes
2answers
282 views
Add new Content Type to Multiple Document Libraries in SharePoint online(Office 365)
I have one Sample Document Library on SharePoint Online (office 365). this Library has 5 different document content type. And using this Library as a template i have created 300 new Document Libraries ...
4
votes
0answers
69 views
Passing args to QuickLinksDialog with JS
I have a small button on a site which when i press should start a QuickLinksDialog and fill in some of the fields there.
Everything goes good and well except the fields (like: title and url) still ...
4
votes
0answers
74 views
Can you add comments to an append-only field in a list in Sharepoint 2010 using C#? [duplicate]
Possible Duplicate:
Can you programmatically add comments to an append-only comment field in a custom item list using C#?
Posted on stack exchange first, then I found this Sharepoint ...
4
votes
1answer
196 views
Get SPListItem from LINQ
I have used SPMetal to create a data context. I can query my lists. The queries return an object of the type of list that they are in. Is it possible to convert this type into a normal SPListItem ...
3
votes
4answers
156 views
Using Sharepoint as a development tool?
We have been using .NET for business applications (high availability, many concurrent users) and some people here are suggesting most of these applications could be developed with Sharepoint 2010.
...
3
votes
4answers
649 views
How to properly use the Using Statement with SharePoint Objects
What is best practice with the Using statement when working with SharePoint Objects. When and how should you use the Using statement, so objects used are disposed, etc?
3
votes
3answers
631 views
Securing usernames and passwords for external SQL DB
We want to ensure that we are following best practice around connecting to a custom database.
I'm not a developer as such so thought I would ask SharePoint Overflow :-).
We have several SharePoint ...
3
votes
3answers
188 views
Developing a custom webpart to improve the page performance
I need a suggestion for a specific development requirement; it is just for a sub-site.
The sub-site has a single list with 20 columns and 850+ items. Now, in the home page, I have to have there ...
3
votes
9answers
7k views
What's the ultimate SharePoint 2010 development laptop?
We'll all want to be able to develop on our own 64 bit laptops and Windows 7 (at least I will). What is the ultimate rig? I've seen some folks buying the Dell Studio 13 XPS with an SSD (@bluedude, ...
3
votes
2answers
83 views
ListItem[“Property Name”] VS ListItem.Properties[“Property Name”]
When we try to get list item properties, three ways of getting property I remember are,
ListItem["Property Name"] //always work fine
ListItem.Properties["Property Name"] // works fine unless I ...
3
votes
2answers
5k 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 ...
3
votes
4answers
1k views
Get SPWeb by ID without Site Collection?
I have a list of SPWeb IDs and would like to open the associated SPWeb objects. However, I do not know in which Site Collection they are (I DO know that they are in the current Web Application ...
3
votes
2answers
452 views
Recommendations for SharePoint 2010 training?
I have a $2,000 training budget this year, so I'm looking for the best bang for the buck. The $2k would have to include travel, if any is required, and I'm based in Raleigh, NC. I would like to ...
3
votes
2answers
2k views
Is there a hack to installing SharePoint 2013 on Windows 8?
Apparently SharePoint 2013 is not officially supported on Windows 8 (which does not make sense to me). And, just like the Vista hack for WSS 3.0/MOSS 2007 I am looking for a hack to install ...
3
votes
2answers
2k views
How do I change the Title column of a list programmatically?
The twist to this question is that I am using a localized site - the site is using the Norwegian Team Site template. Hence, the Title column is actually named "Tittel". Presumably, the following ...
3
votes
3answers
3k 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 ...
3
votes
2answers
195 views
Feature Activation Logic (Prevent Activation)
I have three site collection features used to set branding throughout the site collection. I want to prevent the accidental activation of one of the features if one of the three is already activated; ...
3
votes
1answer
2k views
Checking existence before using GetItemById
I am getting an item by using GetItemById but I want to check before using it whether the item exists or not. I don't want to use a query as the main purpose of using GetItemById is performance.
...
3
votes
4answers
100 views
SharePoint List / Library property bag
I'm working with sharepoint 2007 and i have a question, does a sharepoint library / list has something like property bag, where i could store some properties for the list? Like a SPWeb object.
Or ...
3
votes
1answer
163 views
Why do companies do custom-development in SharePoint? Can you give me some use cases?
Can you give me some examples of what companies are custom-developing SharePoint for?
I'm trying to see what are they trying to get that SharePoint doesn't offer (not talking about UI customization).
...
3
votes
1answer
1k views
Deploying a custom page under the Layout folder using a Feature
I have customized the "EditProfile.aspx" page and want to deploy it on the QA using a Feature, is it possible to deploy a page under the "_Layouts" folder using feature.
Tried with the below Feature
...
3
votes
1answer
672 views
Create a farm wide timer job…is it ok?
I'm following this http://msdn.microsoft.com/en-us/library/cc406686%28office.12%29.aspx and have successfully created a TimerJob that is WebApplication wide.
this line
foreach (SPSite ...
3
votes
5answers
2k views
RunWithElevatedPrivileges - Usage recommendations
I have a strong gut feeling that using SharePoint's RunWithElevatedPrivileges should be avoided like the plague, but need to convince some others as to exactly why. Here's what I have.
Spawns a new ...
3
votes
2answers
74 views
How could I put a references of Ajax Control Toolkit in a GAC
How Could i put a references to the Gac. I want to putting a dll file to the AjaxControl Toolkit.
3
votes
1answer
148 views
Disposing of SPWeb object query
I'm trying to understanding the object clean up process.
using (SPSite siteCollection = new SPSite(siteUrl))
{
SPWeb site = siteCollection.RootWeb;
foreach (SPList list in site.Lists)
{
if ...
3
votes
1answer
67 views
Changing the name of a sharepoint list programmaticaly
I'm trying to change the "name" of a sharepoint document library (not the title). I have found a way to do it from sharepoint designer: ...



