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
3answers
971 views

How to work in Sharepoint 2010 Team based development

We have following environment to create a publishing fully branded portal. Three developers each one have sharepoint 2010 installed on their workstation. One Server so that when each dev finish its ...
1
vote
2answers
1k views

Sharepoint online Custom Expiration

I was wandering if someone could assist, I am currently trialling office 365 and would like to use sharepoint online. One of the main reasons I need sharepoint online would be for Document ...
1
vote
1answer
785 views

Avoid metadata columns in SOAP response

I searched around the internet (and on this stackexchange site), but didnt find any answer. I wrote a small C# application that should retrieve some data via the SOAP webservice of a sharepoint ...
1
vote
2answers
926 views

Sharepoint Ribbon: Circumventing Context sensitivity

First of all, I've asked this same question on StackOverflow. I don't know if questions asked there are visited by users here and vice-versa, so in hopes that my question gets the most exposure, I'm ...
0
votes
2answers
91 views

How to use values from 2 item collections?

I'm trying to use values from 2 SPListItemCollections, as one of them have a lookup field with values from the other list. The reason why I need to do this, is because I need the value from the other ...
1
vote
1answer
598 views

Custom Expiration Policy

I was wandering if someone could assist? I am trying to implement a custom expiration policy within sharepoint, I hope to achieve the ability to get notified when a document reaches its expiration ...
0
votes
2answers
261 views

FileNotFoundException when getting a list that EXISTS?

I am having the following exception when trying to get a list that I know it exists. yes, I know the using should not be used in this case but thats not my code :), but I dont think thats the problem ...
0
votes
1answer
1k views

Changing all webpart's Zone ID on a Page programmatically

I Want to add all the webparts already exists on a Page with different zoneIDs into "Top" zone using c#. I know i can use this code of line SPLimitedWebPartManager wpManger = ...
0
votes
1answer
607 views

Specify character encoding in webpart

really simple: I have a visual webpart with danish letters (æøå) which is malformed when deployed - most likely as a result of the wrong characterset encoding. How would I go about specifying this in ...
2
votes
1answer
843 views

How to register an ashx handler through sharepoint 2010 farm solution

I have a 3rd party control that i want to add to the web part. That 3rd party control uses a generic ASHX handler. I can always add the registration to the actual WFE web.config but it's a bit ...
0
votes
0answers
458 views

Styling Sharepoint Mobile Pages

Myself and my team have been given the (almost) impossible task of styling SharePoint 2010’s Mobile view. We have been following the walk through for base styling (Mobile How to) but we are coming ...
1
vote
3answers
1k views

List using subsites as items?

I'm looking for a way of AUTOMATICALLY adding an item to a list on a root-site when you create a new subsite of a specific type. Context: I'm building a "Project Portal", and there's a requirement ...
3
votes
2answers
3k views

Adding description to sharepoint link URL using the C# CSOM

I'm currently adding the URL except the description is an ugly link. I would like to add the description to the URL in a links list on sharepoint online. My current code to add a new item from an ...
1
vote
2answers
580 views

Disable value in dropdown menu after being selected

I have created a library in which i am using the drop down column with some values.These Values will depend on the group to which the user belongs. For Eg. If Drop Values are A, B , C, D, E and ...
0
votes
1answer
545 views

Why the files which are added as link in project are not deployed on SharePoint 2010

I have two projects in my VS solution, a project named "B" is a SharePoint 2010 project which has a mapped SharePoint "Layouts\js" folder and some other project "A". In project "B" I put various ...
0
votes
1answer
908 views

When to use SPDocumentLibrary?

Since it inherits from SPList and the only way I know to create a SPDocumentLibrary is to convert it from an SPList object using: SPDocumentLibrary lib = (SPDocumentLibrary)list; Why would anyone ...
0
votes
2answers
421 views

DVWP Display of Multiple Lists Results in “Unable to display this Web Part” Error in Production Environment

I used SharePoint Designer 2007 to create a joined view of two lists and changed the 'ListID' parameters to 'ListName'. The list is grouped and sorted. Update: When the joined subview is in the ...
0
votes
1answer
5k views

The file name you specified could not be used. It may be the name of an existing file or directory

SPContentTypeCollection listctc = list.ContentTypes; In that line,. I am getting this error: Invalid file name. The file name you specified could not be used. It may be the name of an existing ...
0
votes
2answers
241 views

SPWeb object is empty

I create a SPWeb object with a relative url to my SPSite using (SPWeb web = SPContext.Current.Site.OpenWeb(url)) { SPList centralManagementList = web.Site.RootWeb.Lists["mylist"]; string id = ...
1
vote
1answer
275 views

Create an item (with Choice/User Fields) using Sharepoint Data Services

I am using Sharepoint 2010 Data Services to create items on a table. My table has a column called Priority which has High, Medium, and Low items in it. When I try to create an item in this table ...
0
votes
2answers
2k views

How deploy a WSP with external .dll

I'm here to ask a newbie question... I'm developing a solution for some web site in Sharepoint 2010. No problem to deploy and test... Then I introduce a new project of a DLL in my Solution... when i ...
2
votes
3answers
786 views

SPDispose false positive

I got many warnings from the SPDispose checker like this: ID: SPDisposeCheckID_140 Module: xx.xx.dll Method: xx.xx.Layouts.xx.UpdateWorkspace.Page_Load(System.Object,System.EventArgs) Statement: ...
0
votes
1answer
1k views

How do I update/refresh a web part using an AJAX Update panel every 5 or 10 minutes?

I have a news and announcement web part that I would liek to refresh every 5 or 10 minutes so users get the latest information. I have a bunch of asp controls within an update panel's contenttemplate. ...
4
votes
1answer
458 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
1k 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 ...
0
votes
1answer
31 views

How to replace a Default List “Events” with a new custom list for all the sites

I am trying to find a script that will replace Sharepoint Events List with one of Custom List i created + Copy all the data of Events list to my newly created list. I know how to Delete a list and ...
0
votes
1answer
491 views

SPWeb.GetFile for an old version of file

I have a document library with enabled versioning, I added an xml file, then added it again, but I have edited one value in it. Now I would like to get the content of both files in C# to compare them. ...
0
votes
2answers
2k views

Adding row values to a specific column in a datatable?

I am tryin to retrieve the url of image attachments from a OOTB announcements list and add it to a datatable column I created named "Images". The respective image control in my web part displays the ...
2
votes
1answer
445 views

getListItems returning MyTasks not All Tasks

I am creating some customized web services for my client. I needed to fetch all the tasks in a Sharepoint list. I used following code for that: NetworkCredential credentials = new ...
0
votes
3answers
305 views

Minimum access required for Visual Studio 2010 on Windows Server 2008

Hi we are trying to set up a SharePoint development environment for multiple developers on Windows 2008 server, we do not want to give the developers admin rights to the servers, does anyone know the ...
6
votes
4answers
523 views

What are the benefits of grabbing a list by Guid compared to any other way

I know its always best to access a list by its Guid since it won't ever change, compared to accessing a list by Title or Url, but what are the other benefits of grabbing a list by the Guid? There ...
0
votes
0answers
90 views

Access parent field values from custom field definition

I've got a form that contains different custom fields. During vallidation of field1 I need to know the value of field2. Does anyone know how to access the field? Or perhabs it is possible to connect ...
4
votes
1answer
4k views

List does not exist error while using GetListItems

I am trying get Data of a list using GetListItems Method of Lists.asmx Here is my code: XmlDocument objXMLDocument = null; NetworkCredential credentials = new NetworkCredential("user", "pass", ...
0
votes
2answers
206 views

Gather Document Library items, group by subfolder

My company has a document library with several levels of sub folders. I'm aware this isn't ideal, meta data would be better, etc., but this is what I have to work with. I'm looking to list out the ...
1
vote
3answers
220 views

what is the best way to write code to a asp.net control in a masterpage

I have a button that I've added to our masterpage in Sharepoint Designer. What is the best way to write c# code to that button? I'd like to do this in visual studio if possible. Thanks,
0
votes
1answer
48 views

Adding choices to NewItemForm

I've got an application that contains a custom list. I'm using the default NewItemForms to create new Items. One filed of the form is a select/combobox. now I want to set the choices of the select ...
1
vote
2answers
950 views

How to set date field to Today's Date in Wss 3.0 Custom list form programatically

How can i pre-populate newitem.aspx form with today's date. When user adds new item i want to prepopulate date field with todays date. <SharePoint:DateTimeControl ID="dtcDateofInsp" ...
0
votes
2answers
340 views

Modify an existing item based on ID

The following code is what is I use to insert new list items: using (SPSite oSPsite = SPContext.Current.Site) ' using (SPWeb oSPWeb = oSPsite.OpenWeb()) ' SPList list = ...
2
votes
3answers
638 views

What is the “best practice” for Dev/Test/Release for SP2010?

I am a .Net coder new to SP. I've set up a new SP2010 in our test environment but wonder what the best practice is for the cycle I am familiar with "dev->test->live" with SP? e.g. How can I make test ...
0
votes
2answers
1k views

programmatically list validation

I'm looking for a way to implement programmatically vallidation for NewListItems/EditListItems. One way I found was: to use the ListEvents and Validate on ItemAdding / ItemEditing. But instead of a ...
0
votes
1answer
666 views

Can I use a .cs file in a SharePoint WebPart

When creating SharePoint WebParts what is the proper way to go about accessing common methods. For example when developing in .net webforms you can add a .cs file to the App_Code folder and consume ...
2
votes
3answers
4k views

where to find sharepoint 2010 visual studio workflow tutorials

I'm trying to find some step by step tutorials for how to create custom workflows in visual studio 2010. Can anyone point me in the right direction? I've googled and not found too many 'good' ...
0
votes
2answers
343 views

Costs with CloudShare vs own development cloud?

Should we go for the own cloud or use CloudShare cost-wise? Example scenario: we are going for long term SharePoint development with a growing team of both full time and part time + temporary ...
3
votes
1answer
275 views

Development environments offered from the cloud

Would cloud based development servers be a valid alternative for local development environments? The cloud based dev environment might consist of a separate physical SQL server, and a SP dev image ...
0
votes
3answers
125 views

Proper hardware for productive development?

What hardware do I need for building an efficient local SP development environment? Requirements CPU: How many cores? Xeon vs i5/i7? HD: What SSD would you recommend? Should they be RAID0? RAM: I ...
0
votes
1answer
244 views

Filter list based off a set of IDs

I've written a web part that generates several KPIs based off a list given: - List and column names placed in custom configuration values - Parameters at run time Each KPI is composed from a set of ...
0
votes
1answer
505 views

Get previous versions file in document Library

I'd like get the previous versions of files in document Library, passing as parameter the number of version. else if(getFileObj.versionNumber!=0) { ...
0
votes
1answer
5k views

An example of databinding the repeater control?

I am trying to develop a custom visual web part to display the latest 5 announcements with the images that are attached from the OOTB announcement lsit.I have a repeater control with an Item Template ...
1
vote
1answer
4k views

export and import document library from one site to a subsite using code?

This should be possible, I have find some examples but with list items, or entire sites, not with only a document library. Id be happy if somebody can provide working code!!
0
votes
2answers
297 views

get files from doc library is not working

I just dont understand, I need to move some files from one document library, to a document library in a subsite. But the filescollection its always zero, but there are files there. What am I ...