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

learn more… | top users | synonyms (3)

1
vote
1answer
156 views

Custom field type - how inherit attributes from base field type

I need to create custom field type which must inherit ATTRIBUTES from inherited field type (e.g. Note). I know how to add custom attribute on my custom type (using fldtypes...xml, custom ascx,...) ...
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 ...
2
votes
2answers
575 views

display a warning message visible on every page

Occasionally we would like to display a warning message on our Sharepoint site, for example to warn in advance users of scheduled downtime or that the site is temporarly overloaded. This message ...
0
votes
2answers
7k views

How to get programmatically all Groups from a site collection

I need to know all groups in my site collection... If I use using (SPSite scSite = new SPSite(fullsite)) { using (SPWeb scWeb = scSite.OpenWeb()) ...
0
votes
1answer
178 views

Right Management

I'm planing a sharepoint application. One part of the solution should be a list. Each list item should have two persons who are allowed to make changes on it (plus two Administratorgroups). The ...
1
vote
3answers
804 views

Email loses table formatting using Sharepoint

Currently I am creating a form for my team in which whenever I created a table inside the form, the formatting always loses out when its emailed out using the workflow. It looks fine inside ...
2
votes
1answer
76 views

how to get webapplication from a site

I have a site object. How do I get the webapplication from the site? I do not have spcontext available. I am using SharePoint 2010. I am trying to do this in a feature event reciever when my feature ...
1
vote
2answers
795 views

FeatureInstalled event receiver acessubg spweb

I am trying to add a propertie to a WebAplication on FeatureInstalled event receiver. public override void FeatureInstalled(SPFeatureReceiverProperties properties) { ...
1
vote
2answers
413 views

A way of setting custom configuration properties that can be changed via power shell

I have a few custom settings for my feature that I am creating. I want a way to populate these values on install with some default values. However if needed an admin should be able to change the ...
3
votes
3answers
252 views

How do you organize your sharepoint developments?

I am starting to do a lot of sharepoint development lately, and some of the things that I have done and I dont like is to use sharepoint designer directly for things like pagelayouts, lists ...
2
votes
1answer
177 views

Is there a way to execute commandline-arguments via code from a feature/webpart (Sharepoint 2010)?

I mean, for example, something like a deployment. Is it possible to force something like this from within a webpart using the "standard" sharepoint functionality? Using the central-administration is ...
2
votes
1answer
3k views

How to remove a permission to a SPPrincipal on a Item (programmatically)

I'm trying to work with privileges on elements of a list. I want the item to mantain the same privileges for all SPPrincipal I don't modify. This is the code public static void ...
1
vote
1answer
928 views

How to impersonate specific user in sharepoint foundation by code

I'm trying to impersonate another user by code.. I know in Sharepoint Enterprise there's a method which uses the UserProfileManager to impersonate... I wrote down this "trace code" without know if it ...
9
votes
6answers
1k views

How to choose a development computer for a SP 2010 environment?

I'm looking for a descent development computer that targets SharePoint 2010. The computer must be a laptop and does not have to rely on a domain controller (or at least not all the time). What are ...
0
votes
1answer
198 views

accordian view for webparts

is there an out of the box feature / other that will allow me to create a view to give an "accordion" effect to hide and show webparts? example: section1 webpart 1 webpart 2 webpart 3 ...
2
votes
1answer
327 views

How to implement chat using XMPP in SharePoint?

I need to implement chat using the XMPP protocol in a SharePoint site. Can anyone provide sample code, or recommendations about how this can be done?
2
votes
0answers
422 views

SPSite.Usage.Storage And SPSite.StorageManagementInformation Are Returning Different Values

When every I use SPSite.Usage.Storage and I use SPSite.StorageManagementInformation with to retrieve all the documents for the Site Collection then I sum the sizes of all the documents then I get a ...
2
votes
2answers
203 views

Does installing sharepoint on local computer limit other .net development

we have sharepoint on a dev computer, but I was wandering if I install it on my local machine will sharepoint overtake iis? will there be any limitations when doing other web applications development? ...
2
votes
4answers
5k views

Loading jQuery in the Correct order

I wish to use a jQuery plugin in SharePoint. Currentley I have jQuery added to each page via a custom master page. <script src="/Style Library/js/jquery-1.6.4.min.js" ...
2
votes
3answers
3k views

SP2010 Activate feature through code

I'm using the below code to activate the "SharePoint Server Publishing Infrastructure" feature for a site collection. My code runs fine when I'm logged in as a site collection administrator. The ...
1
vote
2answers
512 views

GetSubwebsForCurrentUser()

is there a way to pass a parameter to the GetSubwebsForCurrentUser() function? I'm needing to get the subwebs for specific users - not the current user. Any help would be appreciated. Thanks,
3
votes
1answer
120 views

Activating programmatically custom script on page load

I have small problem. The thing is I need to have a method on page load that will execute one script only if web.allProperties has one property, but I dont know how to call that script? So this is ...
2
votes
1answer
337 views

Sharepoint Toolpart Values Not Being Retrieved

I am looking to add custom properties to a tool part. I've been able to add the textbox as desired. I've been able to enter values and display it in the webpart. The problem is when I edit the ...
2
votes
1answer
104 views

Allowing the user to resize text - size is then set across all pages?

I'm wondering if there's a way to have a simple increase/decrease text option in Sharepoint, that doesn't purely rely on Javascript, ie if you set it on one page, any other page you visit will have ...
3
votes
2answers
2k views

Copy file to sharepoint

Below is my method which is meant to copy a file from a folder on my desktop to the sharepoint document library shared documents. Its giving me error on SaveChanges method call, error shows me this ...
0
votes
1answer
2k views

Data Form Web Part - List does not exist when using site collection root list as data source

I'm having a strange issue with DFWP when I try to display content from site collection root. Site/subsite structure of the site collection is like this: ROOT --> LEVEL 1 --> LEVEL 2 On my LEVEL 2 ...
9
votes
2answers
8k views

SP.UI.ModalDialog.showModalDialog using the html option

http://msdn.microsoft.com/en-us/library/ff410058.aspx says that you can use the option html to display html text in a modal. I have a string like this; var html = ...
1
vote
3answers
594 views

How to delete a custom timer job?

Although we can delete a running timer job from Central administration Monitoring section, but is there anything that we need to implement in a custom timer job so that the job stops as soon as it is ...
1
vote
2answers
810 views

sharepoint developer Exam 70-573 [duplicate]

Possible Duplicate: List of 70-573 exam resources I'm trying to prepare for the sharepoint developer Exam 70-573.... I can't find any training books for this exam. Any help? thanks,
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
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 ...
2
votes
0answers
151 views

SP2010 Push custom edit, new, disp Form for a calendar list (event list)

Through SPDesigner you can create your own edit, new and dispForm pages and enable them as the default ones for your list. I was wondring if it's possible to push these files to existing lists in ...
2
votes
0answers
335 views

Using SharePoint for an appraisal/360 process

We are thinking of using SharePoint 2010 for an appraisal/360 process. The workflow is simple. HR Create appraisal for users User fills it in Manager fills it in User accepts appraisal Manager ...
4
votes
2answers
5k views

Can't access the user profiles in a console application

I want to make some manipulation with the user profiles from a console application. I'm trying to enumerate the profiles, with no success : var mysite = "http://my"; ...
1
vote
2answers
260 views

Add hyperlink to custom web part properties

I would like to add a hyperlink to a custom web part which will take the users to a web page on a new window with the configuration settings for the web part. If I try and add a text property as ...
4
votes
4answers
2k views

Tips for starting SharePoint development

I'm going to start developing SharePoint applications and I'm looking for some good introductory resources (articles, videos, books, dev tools, tips). I'm comfortable with C# and ASP.NET development, ...
3
votes
2answers
473 views

Regex Query Against FAST Search 2010

I'm looking for a way to do searches with FAST Search Server 2010 based on Regular Expressions. For instance, I'd like to be able to use: ^\d{3}-\d{2}-\d{4}$ And have it return any content ...
14
votes
2answers
2k views

How to access my “Outgoing E-Mail Settings” from code?

Is it possible for me to pull the values that are in: Central Admin -> System Settings -> Configure outgoing e-mail settings from my code behind using the object model?
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 ...
2
votes
1answer
78 views

Claims Based Authenticaion in 2010: Change UserAttributes

I have a custom claims provider which adds some claims from an external system (eg. Email, Fullname, etc.). This works fine, but i want to display the value from the fullname-claim on the top-right ...
0
votes
1answer
160 views

Error on setMapping for managed property

I'm getting error when i try to add a crawled property to managed property "contentshidden" Anyone know why the problem can ben, when i add a mapping to empty mapping property it is ok, but when i ...
2
votes
2answers
258 views

Get ContentTypeOrder of a specific folder using CAML and/or SharePoint web services

I am trying to get the ContentTypeOrder of a specific folder using SharePoint web services and caml queries. I am using the GetListItems() method of the Lists.asmx web service. The resulting xml ...
1
vote
3answers
677 views

Sharepoint site throws exception on clicking save button after uploading a file

I have deployed an event reciever with item added event on a document library in sharepoint site. In item added event I am calculating the number of pages for the uploaded document and updated a ...
2
votes
2answers
600 views

Sharepoint development without Visual Studio on server machine

Till now I was doing Sharepoint development with Sharepoint server and Visual Studio on same machine. Now there is a Sharepoint 2010 installed on my client machine with no Visual Studio installed. I ...
2
votes
1answer
70 views

How to tell if page is in Mobile View in C#

I have developed an application page within SharePoint 2010 and need to tweak the contents for the mobile view. I can determine if the page is a mobile page by using the Query String however i am ...
6
votes
3answers
3k views

WebPart where to store a connection string

I have a webpart that connects to an external DB. I need somewhere to store the connection string. It is possible for this data source to change but would always be the same for the site collection ...
5
votes
2answers
331 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 ...
2
votes
2answers
401 views

SharePoint list.asmx web service

I want to build a office outlook application. I want to display all documents with their folder and documents. I want to get all subfolder and their document file. In Sort get all document library ...
2
votes
1answer
669 views

SharePoint Designer Workflow Creating New Document Sets

Scenario: We have a document library with document sets configured with some default documents in them. When creating a new Document Set normally, it adds the default documents just fine. We have a ...
1
vote
3answers
2k views

SharePoint InputFormTextBox saving values to sharepoint list

I am using a input form text box here is the tag </asp:Label><SharePoint:InputFormTextBox runat="server" ID="respRichTextBox" ValidationGroup="CreateCase" Rows="10" RichText="true" ...