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
2k views

SharePoint 2013 list items paging

I'm trying to make a webpart with list items paging. I followed this link http://www.directsharepoint.com/2011/03/step-by-step-guide-to-implement-paging.html and on SharePoint 2010 server it works ...
3
votes
2answers
2k views

How to implement HTML5 Video in Sharepoint 2010?

Has anyone had any success in building a web-part with HTML5 video and using it in SP 2010? Background: Currently I am using JWPlayer by imbedding an HTML page using a content editor web-part. I ...
0
votes
2answers
2k views

How to display and get the value chosen in an User field?

I'm very new at Sharepoint and I faced to a trick issue. Here is the situation : in an .aspx.cs file, I've created an EventHandler called btnValidate_Click, raised on a click on a button. In this ...
5
votes
3answers
5k views

How to download the historical file version content using CSOM

I am trying to download the previous version of a document from _vti_history location of the file using client object model but the OpenBinaryDirect is giving not found 402 error for URL. My ...
1
vote
1answer
2k views

Will code created with 32 Bit SharePoint Designer 2013 be readable to another computer with the 64 Bit version of SPD 2013?

One of the developers on my team is installing SharePoint Designer 2013 on a machine with 32 Bit office. He attempted to install the 64 bit version and this error appeared: Got we can't install the ...
2
votes
2answers
268 views

How to get all web controls on a sharepoint page

I need to get all web controls on a SharePoint page but not sure, using (SPSite bigSite = new SPSite("http://bigPortal.bbbb.com/bb/bbWeb")) using (SPWeb bigWeb = bigSite.OpenWeb()) ...
0
votes
2answers
111 views

SharePoint 2013 Development enviroment

Can one develop SharePoint solutions without having installed SharePoint 2013 on local, development machine? There will be one 'test' machine, however it will be placed on other machine, to save ...
1
vote
1answer
2k views

Client Object Model - Select distinct

I am using ClientObjectModel (C#) to retreive data from a custom list, which is structured like this: What i need is some kind of "select distinct" which retreives only the categories, without ...
1
vote
2answers
423 views

How to set and retrieve custom profile properties in sharpeoint 2010 FBA

I have one sharepoint site in which FBA was enabled. I am trying to show all the registerd users in a grid. Along with the username and password i want to show some custom properties like company and ...
0
votes
2answers
112 views

How to embed image in SharePoint Workflow Association Form?

I am developing a custom SharePoint workflow in Visual Studio. I have a custom association form (ASPX) and I'd like to display an image, which is embedded into the project (and subsequently wsp). I'...
0
votes
1answer
495 views

Possible to add XSLT to CQWP through UI?

Using C#, I am inserting web parts into web part zones programmatically and styling them. More specifically, I'm inserting CQWP's and assigning XSLT files to them. I'm now wanting to allow users to ...
1
vote
1answer
687 views

Infopath 2010 File Attachment control's delete not working

I have a List that is customized using Infopath form. In that list edit form I have a File Attachment control and using it I am able to attach the documents, but the "delete" icon next to each ...
0
votes
1answer
2k views

Decompiling a .webpart file?

I know it is possible to decompile SharePoint web parts if you have their .dll or .wsp files (I have successfully done this myself using tools like DotPeek or this method), but what if you are left ...
0
votes
1answer
76 views

WSS 3.0 List - Change default view

Is there a way to change the default view on a WSS 3.0 list (Survey)? I tried web.Lists[].DefaultViewURL = "\List\xxxyyy\custompage.aspx" But DefaultviewURL looks like it is read-only. Any ...
2
votes
2answers
100 views

Navigation on webpart

I don't really got a problem just a question. After googling around I couldn't find any answer on what I'm looking for. Is it possible to put a <asp:TreeView/> or multiple <asp:LinkButton/&...
3
votes
1answer
925 views

Comma is being appended to values when adding new item to list through C#

I have a custom web part form which takes a few values from text boxes and adds the new row to a list. The problem is that when I click 'save', the values are being saved but some fields like 'Company'...
1
vote
1answer
24 views

Clone Existing SP2007 Site to New Environment For Testing and Staging

I am currently working on a large SP2007 site for a client. This site was initially built from a VS solution and some of the components of the solution can still be deployed to production if code ...
0
votes
2answers
679 views

Code Behind in SharePoint

I have a .aspx page and a .aspx.cs page. These were created in VS. I've copied the solution folder to SharePoint using SPD. When browsing the page I get an error Parser Error Message: The codefile ...
2
votes
1answer
188 views

Programmatically removing web parts in a sandbox solution? (Sharepoint 2010)

I had a problem with web parts being duplicated whenever their feature was reactivated, so I made a question about that. It was answered (and correctly so, I think) - I have to programmatically ...
4
votes
2answers
2k views

What version of Visual Studio 2012 needed for SP Dev

I have been researching the different versions of VS2012 for use in developing in a SP2010 (Foundation) and possibly SP2013 environment. I asked two separate MS employees about which version of VS I ...
-1
votes
1answer
378 views

String to Decimal Conversion in C# (Sharepoint) [closed]

Converting string to decimal seems to be a familiar question. But in my case the an error is throwing while I tried to convert a string value "10.00000000000" to decimal. I tried following codes ...
0
votes
2answers
233 views

Request.Url.AbsoluteUri displaying wrong url

var img = new Image(); img.ImageUrl = Request.Url.AbsoluteUri + "~/_layouts/images/Cv.Knowit/pie-1-4.png"; I am getting to this site wingtipserver/SitePages/ Generated%20Cv.aspx?...
3
votes
1answer
408 views

What are the best practices in code structure for huge projects [closed]

Soon, I will start a new sp2013 project and I want to start it fine from the scratch. I just read the Application Lifecycle management chapter from the book Professional Sharepoint 2013 development ...
0
votes
2answers
2k views

Remove Leading and Trailing Spaces from Rich Text Box using C# code

I am using a MultiLine Rich Text box in my custom list, now I want to remove leading and trailing spaces in the MultiLine Rich text box's input. I have written an List item event receiver with string....
0
votes
2answers
1k views

Hide Columns in Document Information Panel, but show in properties panel

I am trying to hide some columns from view in the DIP, but allow users to change them in the properties panel for the document. I am trying to associate 3 base content types for attaching different ...
0
votes
1answer
591 views

Problem with join two lists by linq

I wanna join two list and fill drop down list by specific column but i have error in join query note:c.user_id is lookup field my code lst.DataSource = (from c in dc.Complainant ...
1
vote
1answer
140 views

Apply element manifest without re-activating feature

I have a feature module which consists of an XML file which adds ConsoleNodes to the Site Actions menu. To test it, it seems I must compile the package, deploy it, activate it, etc. Since this is ...
0
votes
1answer
198 views

How to list all alements by CAML to SPGridView

Is it possible to display the listitems retrieved from a CAML query in a SPGridView? How can I implement it?
2
votes
3answers
697 views

Item with C# onclick in SP List

I'm currently making some customizations to a Document Library in SharePoint 2013, such as a custom filtering webpart. In this Library, I have two fields that originally were (multi)lookup fields ...
0
votes
1answer
69 views

Load All Task Items in to Page?

I have Task list in home page containing multiple task items, Is it possible to approve multiple items at once, instead of one at a time (being redirected to the start page after each approval..) ?
0
votes
1answer
29 views

Package not deploying everything in it to server

I have a package solution as, <Solution xmlns="http://schemas.microsoft.com/sharepoint/" SolutionId="id" SharePointProductVersion="14.0"> <Assemblies> <Assembly Location="...
1
vote
2answers
403 views

Advice on starting development for SharePoint in C#

I'm about to start development of client-side application (C# using .NET 4.0) that connects to SharePoint. Mainly to download/upload documents. I've found out that there are several options: using ...
0
votes
1answer
1k views

Render label using itextsharp to pdf and word

Could not load file or assembly 'itextsharp, Version=5.4.1.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca' or one of its dependencies. The system cannot find the file specified. I have added ...
0
votes
1answer
143 views

Custom form with link to document

I have a custom form. In it I need to add a link to a document library. I need that this links works in the same way as a link in a document library (i.e. - when you click on it you have the option to ...
0
votes
1answer
319 views

Programmatically adding a sequence number to the 'Title' column during item creation in SP List

As per the title above, I have a list that stores IT support requests. I need a sequence number that matches with the item ID and I want to add this sequence number to the Title of the request. I ...
1
vote
1answer
261 views

Cannot complete this action creating view programatically

I am trying to create a view programatically to be used in an XSLTViewWebPart. When I try to browse to the view I got this exception: Cannot complete this action. Please try again. I set the log to ...
1
vote
3answers
5k views

Delete Item in Document Library using Client Object Model?

I have custom Database, this Database having SharePoint Item URL like(http://yoursite.com/Shared Documents/a.pdf), so my challenge to remove this file from sharepoint Library using Client Object Model....
2
votes
1answer
1k views

In a SharePoint List I cannot see items that are in a folder

I have a sharepoint list (Not Library), where I am programmatically adding in a folder: SPList list = web.Lists[ListID]; SPFolder parent = list.RootFolder; SPFolder child = ...
0
votes
2answers
365 views

Custom action with javascript doesn't navigate in DisplayForm

I have a strange issue, basically, I have the following custom action: <CustomAction Id="Navigate.DisplayMenu" Title="Navigate to:" RegistrationType="ContentType" ...
1
vote
1answer
129 views

Custom Page inside SharePoint 2010

i am building a .aspx Terms & condition page for my Intranet with Save & Cancel buttons: When we click on Save the user save inside a list as he agree on the terms & Condition content &...
1
vote
2answers
369 views

Auto sign in OWA web part using c# in sharepoint 2010

I need the OWA web part to automatically login the current user. How to do so using C#
0
votes
1answer
46 views

I set up in Sharepoint Create Elements, and edit elements only created by user

http://screencloud.net/v/2xVc But when manager Is created a element it's generate me error. How do If on development If i Can delete element? Please help. I have got this sort of code: for (...
-1
votes
2answers
43 views

Timer job fails while trying to data [closed]

I'm fetching data from a excel file and creating sharepoint groups for each entry. There are around 10000 entries for which i need to create sharepoint groups I created a SharePoint custom timer job ...
3
votes
1answer
10k views

How to set a lookup field by c# code

I have a list in SharePoint and it contains a lookup field. Now I want to insert an item to this list, but don't know how to work with the lookup field. I tried the following code but no item is added....
0
votes
1answer
121 views

Change .aspx on a SPView

I'd like to create a SPView for my list that points to a complete custom aspx page. And I need to do that through c# code. Even if I could just override the AllItems.aspx in a Visual Project Project, ...
3
votes
1answer
2k views

Customizing discussions list in SP2013 with JsLink

I'm working on a community site and was looking at ways to modify UI of the discussion list that is presented to the user (and possibly more going forward). It is my understanding according to the ...
0
votes
1answer
695 views

I want to delete attachment and listitem but using this code it deletes all the listitems

private void DeleteFromSharePointList(HyperLink hp) { SPWeb web = SPContext.Current.Web; web.AllowUnsafeUpdates = false; SPList myList = web.Lists["Document cv"]; ...
1
vote
1answer
801 views

how to add multiple attachments to only one ListItem

This code creates a new listitem for every attachment but i only want to create 1 listitem and add all attachments to it SPList myEmployeeDocList = web.Lists.TryGetList("Document cv"); if (...
1
vote
1answer
1k views

Modifying List View in C# Doesn't Work?

I am trying to modify a view for a list in a Feature Event Receiver. The list is created in the same function; and the columns all added to it. When I look in the List Settings via the web interface, ...
1
vote
4answers
4k views

Collection was modified; enumeration operation may not execute.

I have made it work to delete attachment but can not delete listitem Error: Collection was modified; enumeration operation may not execute. private void DeleteFromSharePointList(HyperLink hp) { ...