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

learn more… | top users | synonyms (3)

3
votes
2answers
11k views

SP2010 Update a multi user field (Person or Group)

I use the following code behind to update the user of a user field. The property allow multiple users is set for this field. How can I keep the users who are already present in this list and add the ...
0
votes
2answers
643 views

Link in master page to base url

In a WebApp with diffrent site collections and subsites, I would like to add a link on the custom master page of all sites to the WebApp Url. (This Url is corresponding with a home/top site ...
0
votes
1answer
1k views

Add users e-mail addresses from multivalue user field to string

I have a list which contains a field users (Multivalues are allowed so it can contain multiple users) I would like to retrieve the email addresses of all users and assign them to a string? Anyone ...
0
votes
1answer
212 views

SP2010 Update the permissions of a sharepoint group on a list

I have a list (mylist) which inherits custom groups with custom permission levels from the site the list is located in. Now I would like to change the custom permission of only one of the groups ...
4
votes
1answer
2k 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(); ...
0
votes
1answer
609 views

How does the Microsoft.SharePoint.Portal.WebControls.SiteDocuments web part work?

Here is a link to the SiteDocuments web part: http://msdn.microsoft.com/en-us/library/ms544079%28v=office.12%29.aspx Here is a picture of it on MySites: http://i.stack.imgur.com/TVQqM.png I want to ...
2
votes
2answers
767 views

How do I disable the web part export option?

I have the requirement to not allow users to export my custom web part. How do I disable/hide the Export menu option?
1
vote
2answers
491 views

Unable to add two ajax web parts on same page

I created two similar visual web parts (one lists top 10 "popular-content" items, another top 10 "new content" items) with ajax support. For querying data from list (in both wparts) I use similar linq ...
2
votes
2answers
3k views

Get document id after uploading it to SharePoint using the same web service

Does any one knows how to get the document id after uploading it to sharepoint using a single web service? So by using one call i can upload the document and get it's id. I looked at Copy.asmx web ...
1
vote
2answers
849 views

Creating item using SharePoint web services

I need to create an item in a SharePoint list using Lists.UpdateListItems web service. I have created a batch method and populate it with these fields. <Field ...
6
votes
12answers
1k views

What resources would you recommend to someone who would like to learn and possibly become a SharePoint Developer?

What resources would you recommend to someone who would like to learn and possibly become a SharePoint Developer?
3
votes
1answer
190 views

Can you use Content By Query to retrieve items from it's parents?

I know you can use the Content By Query component to retrieve items under the current site, however, I want to do the opposite. I'd like to look for items in the parent sites of the current site. I ...
1
vote
1answer
331 views

Issue updating a custom field type

I've created a custom field type called CompanyRule. I've created a content type call RulesCT with four site columns that are of type CompanyRule. Initially I can give and update the values of the ...
3
votes
1answer
82 views

Template usercontrol hide based on page

Is it possible to hide a usercontrol that I have added to a custom template based on what page I am on. I have several pages that use the template but I only want one page to display the control the ...
11
votes
2answers
2k views

When to use SPItem vs SPListItem

I am confused on when to use SPItem vs SPListItem—specifically when grabbing items from a document library. What are the benefits of each and downsides of each.
1
vote
3answers
1k views

SharePoint and FTP Uploads

I have a custom workflow in SharePoint 2010 and at one stage in the workflow I will be uploading an xml to file to an FTP site from within the SharePoint workflow. (I am not uploading anything to the ...
0
votes
1answer
136 views

ASCX usercontrol Writing to Text File

Is it possible to from my ASCX usercontrol to write to a text file either on the file system or in a sharepoint list? I tried using a streamwriter but I always get that it cant find the file Ive ...
0
votes
1answer
787 views

Showing new list element form on button click

does anyone know how to show the new list element form on button click, that I have on my custom aspx page? Like when you have a sharepoint list and you click on "add item" and a new element form ...
0
votes
1answer
392 views

How to implement a cascading lookup on a dataview new form connected to an external database

I have a requirement to develop a new entry form for a database that drives a reporting services report. I set up SSO and created a new item dataview webpart with a table on the database as the ...
2
votes
3answers
6k views

Trying to update a SPItem from an asp.net page and get the error “The security validation for this page is invalid”

I am trying to update an SPItem from inside a asp.net page but I am getting the error The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try ...
1
vote
2answers
1k views

Get List of Items in SharePoint List

I am trying to get a list of items that are contained inside a sharepoint list. When I use the code below I get an error [ArgumentException: Value does not fall within the expected range.] ...
0
votes
1answer
3k views

Wireframing, mockup and interaction flow tools for SharePoint sites

I've been using Visio to mockup to design mockups and wireframes for sites, but I'm looking for other tools to help with the design process. I've been playing around with MS Expression Blend and ...
0
votes
1answer
189 views

Custom Web part based on search object model to query accross site collections

I'm looking for examples how to build a web part (code) that queries all doc libs in a web application (Done by a created search scope, a scope exists with all the docs from all doc libs) and displays ...
1
vote
2answers
741 views

Add/Remove user from group when user is / is not a member already

I am working with updating groups programmatically and have been wondering how SPGroup's react when you: a) Try to remove people that are not already a member - silently fail, throw exception, ?? b) ...
0
votes
1answer
883 views

C# save/submit to sharepoint from infopath [closed]

I have tried this.Submit(), this.Save(), but neither seem to actually work. Is there a simple way of doing this? I have also tried using a submit button and then using custom rules for that, but still ...
0
votes
3answers
514 views

Setting a value on Document Check In page

I have tried to use an Event Receiver with ItemAdding event to set the Title field of a Document, so that when a end user uploads a document and is presented with the Edit Item page where they are ...
1
vote
2answers
142 views

Backup a file while custom feature activated?

We have a custom application page "custom.aspx" on the Layout folder, would like to rename the original file "custom.aspx" to "custom_bak.aspx" before the updated/modified custom application page ...
2
votes
1answer
625 views

Sharepoint SPFile.Convert Infopath to HTML

i have the conversion code for converting from infopath to HTML Guid id; var conversionResults = newItem.Convert(new Guid("853d58f5-13c3-46f8-8b81-3ca4abcad7b3"), ...
1
vote
1answer
956 views

Editing content of page having custom master page in office365 sharepoint site

I have signed up for office 365, I'm trying to edit the sharepoint site in browser. I have created a simple master page and a content page and uploaded to the site. MasterPage.master <%@Master ...
1
vote
2answers
837 views

SP 2010 Adding a picture library with some pictures through a feature

I would like to add the following feature to my Web Template. - Add a picture library with some default pictures in it First step would be creating a custom list from the type picture library. But ...
0
votes
1answer
88 views

call method in webpart

I'm trying to debug the code below. For some reason the GetUserProperties Method isn't called during debug. Can someone tell me how i'm able to call it? I wan't to display the user-properties in an ...
0
votes
1answer
249 views

Is it possible to call any standard ribbon action from .NET?

We are building an ASP.NET MVC UI to sit on top of SharePoint 2010. One of the questions that has cropped up is how difficult/easy it will be to re-create buttons to do standard SharePoint 2010 ...
1
vote
2answers
255 views

Social Networking in SharePoint 2010?

We would like to extend the functionality of Sharepoint 2010 to improve the Social Networking Features. We want to trace a SharePoint 2010 user events, whatever he/she performs on the site collection ...
1
vote
3answers
3k views

How to install Sharepoint 2010 on Windows 7 - special requirements?

I have read some of the similar questions but I haven't found a solution which meets my requirements. I don't want to use the SharePoint 2010 Easy Setup Script. It downloads trial version of software. ...
0
votes
2answers
383 views

Adding new file in a doc.lib. using client OM with contribute permission only failing

I have this client OM code to add a new file in a doc.lib.: clientContext.ExecuteQueryAsync( (o, args) => { var fileCreationInformation = new ...
1
vote
1answer
35 views

My Site Links go to incorrrect domain

I have a my sites host site collection (http://insitedev/site/my) but when I click on some of the links they go to the machinename instead of the host name I have set up. This can be seen in the video ...
0
votes
1answer
3k views

InfoPath close form by code

I'm creating an InfoPath form in InfoPath 2010 Designer, that will be running in InfoPath 2007 and 2010 clients and contains C# code. When the user clicks the submit button I need to execute some C# ...
1
vote
1answer
742 views

Cannot get feature checkboxlist to populate on SharePoint

I have an ASPX page with code behind I am deploying under the Site Settings on a SharePoint site. The purpose is for the user to be presented with a checkboxlist of items that apply to this site and ...
0
votes
1answer
1k views

REST Services - List vs Document Library

I developed a custom ASP.NET application where I retrieve/update list and document library items using REST. It works perfectly fine locally but when I deploy it to a web server it doesn't work the ...
0
votes
2answers
123 views

What service handles incoming TCP traffic for SharePoint 2010

I am trying to upload a file to an FTP site from a custom SharePoint workflow. When I enable all incoming TCP traffic on all ports from any program, the file uploads just fine (or if I disable Windows ...
3
votes
2answers
581 views

Deploying a Web Part to a single Site Collection using WSPBuilder

I am working with Visual Studio 2008 with the WSPBuilder add-in, and WSS 3.0. When I create a Web Part feature and deploy it to my SharePoint site, it is available to every site collection in the web ...
0
votes
2answers
237 views

deploying custom feature in sharepoint 2010

I have created a custom feature for adding a button in the SharePoint 2010 ribbon. If I click that button, I can open a show model dialog box which I have loaded a aspx file that contains file upload ...
0
votes
3answers
345 views

Recommended Source Control setup for single developer on single machine [closed]

I'm curious about what kind of setup other single developers have for their source control. Do you install your source control system (e.g. TFS) on the same machine as SharePoint, do you use a ...
2
votes
1answer
2k views

Visual Web part - async load

I want to create async load of visual web part. Code behind (web part) needs some time to load data so I figure to create that in async way (on page load). Scriptmanager is placed in master page (ajax ...
2
votes
2answers
1k views

Web Part with its FileUpload control causing “Webpage has expired” Error !

My problem precisely and concisely is that I developed a web part which contains a FileUpload control and the web part in general works correctly except for one issue. Whenever I use the web part then ...
0
votes
1answer
434 views

access Sharepoint MOSS 2007 advanced search programmatically

In one of my custom master page template, I have a text box where a user can search various documents from different sources (which have already being crawled...), I want to programmatically provide ...
7
votes
1answer
1k views

When to use VS 2010 vs. SP Designer for development

When do we use Visual Studio 2010 for SharePoint 2010 web part development and when do we stick with Designer? Are there pros/cons? As a noob, it seems that for more robust, customized web parts, ...
0
votes
1answer
1k views

SPFeatureReceiverProperties coming as null in FeatureActivate Method

I am trying to make a simple timer job which does some task. However its throwing an exception object reference not set to reference of an object as the input parameter SPFeatureReceiverProperties is ...
3
votes
2answers
3k views

How to flush object cache in SharePoint programmatically

In SharePoint we can clear the object cache from Site Collection Administration - Site collection object cache Is there a way to do the same programmatically?
0
votes
2answers
1k views

Auto-refresh image library contents in web part

I am loading an image into a <div> tag from an image library. I want to to refresh this <div> tag every 10sec so that new images uploaded can be seen. Is there any good solution?