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

learn more… | top users | synonyms (3)

2
votes
1answer
578 views

Security Exception - Trying to load MySite Blog

When I try to run this async query it fails: private void SomeFunction() { Thread thread = new Thread(GetBlogInfo); thread.Start(); } private void GetBlogInfo() { ...
1
vote
2answers
83 views

DispatcherTimer in Sharepoint 2010 [closed]

My dispatcher timer is not calling on timer_tick event. it's my code: DispatcherTimer timer = new DispatcherTimer(); timer.Tick += timer_tick(); timer.Interval = new TimeSpan(0,0,0,10); timer.Start();...
1
vote
3answers
5k views

Not receiving e-email notification when creating new tasks in a custom sequential workflow

I am setting the AssignedTo and SendEmailNotification properties for the SPWorkflowTaskProperties object, the task gets created and assigned correctly but no email is received. How can I check if ...
2
votes
4answers
580 views

why doesn't SPMetal generate Publishing Schedule columns?

Happy 2011 experts, I have a sharepoint 2010 publishing site that I use SPMetal to generate classes to. The problem is some fields do not get generated like: PublishingStartDate and ...
2
votes
1answer
635 views

Using Foundation Search and Search Server Express simultaneously

i am using the Sharepoint api to return search results which i am getting with Microsoft.SharePoint.Search.Query.KeywordQuery. On my development machine this is working fine. On the Server where ...
4
votes
3answers
299 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
2answers
126 views

SP 2010 Views on a list depending on the access rights

Is there a possibility to link views on a custom list to the access rights on this list? E.g. I have a custom list with information stored in diffrent columns I've created two views: one for owners ...
1
vote
2answers
706 views

FlexPaper in SharePoint 2010

I'd like to create a custom web part with the FlexPaper component so we can use it in SharePoint 2010. The user would go to the web part properties to select a SWF file (converted PDF) from the Site ...
3
votes
2answers
1k 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
1answer
198 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 ...
2
votes
1answer
6k 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 ...
2
votes
1answer
96 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
1answer
441 views

File Attachment control events in InfoPath 2010

Does anyone know of any kind of click events for the File Attachment Control in InfoPath 2010 forms? Here is a link to the control http://msdn.microsoft.com/en-us/library/dd958468(v=office.12).aspx. ...
1
vote
2answers
971 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) { SPContext....
1
vote
2answers
551 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 ...
2
votes
3answers
5k 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 ...
2
votes
1answer
313 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 ...
1
vote
1answer
1k 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 ...
1
vote
3answers
5k 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" TextMode="...
2
votes
1answer
479 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?
0
votes
1answer
221 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
2answers
248 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? ...
1
vote
2answers
690 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
131 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
484 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
120 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 ...
1
vote
5answers
1k views

for vs foreach when iterating over SPWebCollection

I was just wondering which of the two methods below is more popular, when it comes to iterating over a collection of SPWeb objects. for (int i = 0; i < SPContext.Current.Site.AllWebs.Count; i++) { ...
5
votes
4answers
4k 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, ...
2
votes
1answer
81 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 ...
1
vote
2answers
1k 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,
2
votes
0answers
155 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 ...
4
votes
2answers
7k 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"; SPSecurity....
2
votes
0answers
736 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 ...
5
votes
6answers
6k 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 ...
1
vote
4answers
1k views

openweb does not contain an object.

When writing my powershell code, the openweb command returns an empty object. this is the code: PS C:\Users\SP_admin> $spsite = get-spsite "https://adress.nl/sites/dcprogrammabureau" PS C:\...
2
votes
2answers
828 views

Using postbackurl with enctype=multipart/form-data

I have a form having one text field and one button all I want is to postback it to some other server. I have created an .ascx for it and I have added html textbox and asp.net button and using ...
5
votes
3answers
11k 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 ...
2
votes
2answers
1k 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 ...
7
votes
3answers
5k 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 ...
3
votes
1answer
86 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 ...
2
votes
2answers
481 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
2answers
992 views

Custom Homepage

I am adding a custom SharePoint homepage using a feature. Everything is working fine, and the redirection is correct whenever i open the site, however the homepage does not load and i get the ...
2
votes
3answers
912 views

Feature with scope Web only on RootWeb

I have just a small Question: Can I tell a feature with scope "Web" only to be activated on the RootWeb in Feature.Template.xml? Something like RootWebOnly="TRUE" I have a listInstance (...
2
votes
1answer
1k views

Search Optimization on SPListItemCollection

I have an SPListItemCollection (Thread Discussion Collection) that consists of almost 20,000 items. Each SPListItem (Thread Discussion) on the SPListItemCollection contains a sub SPListItem(Thread ...
4
votes
1answer
2k 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/'. ...
6
votes
2answers
2k views

Download file from a sharepoint site from code behind

I have an Image button in a custom 2010 webpart, on click of that I would like to download a file. Code Used : foreach (string filename in item.Attachments) { attachmentURL = SiteListURL + "...
2
votes
2answers
127 views

Info on setting up TFS2010 and SharePoint 2010 for 10 Developers

I am looking for information on how I can easily setup an environment where I can have about 10 developers working and testing independent SharePoint 2010 projects and having all the source code in ...
1
vote
1answer
2k views

Infopath 2010 “Get choices from fields in this form” combo box is read only. Why?

I created an Infopath custom form and I want to have a combo box that retrieves its data from other fields in the form (user fills a repeating group in View 1 and then in View 2 I want to display the ...
0
votes
3answers
247 views

Too Much Memory Usage for Windows form Application

I Made an application to download a folder from a given sharepoint site, but its consuming memory above 600,000K once i click on Connect button, anyone can give suggestion to improve my code ? I ...
6
votes
2answers
2k 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; ...