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

learn more… | top users | synonyms (3)

0
votes
1answer
2k views

Register a global.asax into a SharePoint Site

I'm trying add a .asax file into a SharePoint site. I've been following this tutorial. It's quite simple but I'm new to web programming, and I didn't understand where I must insert (and how) the ...
0
votes
1answer
419 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 ...
0
votes
1answer
714 views

How to change a date format in CAML

I got a wrong date format to a CAML. I have got (yyyy-mm-dd) and must to be understand by CAML to the format(dd-mm-yyyy), how can I do this. I tried by String.Format("{0:yyyy-mm-dd}", dateISO1);, but ...
8
votes
5answers
18k views

Get Site Collection full URL using javascript

I want to get the URL for my site collection. One way I thought I could do it was using the window.location in javascript and getting it that way. I know that you can use ECMA script and the client ...
2
votes
4answers
1k views

Document Properties Demotion from ListItem field is not working

I have a content type in a library configured with a word document as a template, it is the default content type. When creating via the UI from New item entering information into the DIP sets values ...
0
votes
1answer
9 views

Adding Custom Ribbon to List Tools

I Think I have tried every variation from all of the sources I can find, except for the correct one. I want to add a ribbon button the the List Tools tab on lists. Here is what I am doing: ...
0
votes
0answers
17 views

How do I retrieve a custom property from a Microsoft.SharePoint.Client.Folder?

Greets, I have a reference to a Microsoft.SharePoint.Client.Folder object: Folder folder = _libraryClientContent.Web.GetFolderByServerRelativeUrl(PATH_DEV_DOWNLOAD + ...
0
votes
0answers
13 views

upload and download the file same name but different extension from the document library

I am using the Client Object Model (Copy. Asmx ) To upload and download the file from the document library. I am having the mandatory File ID for the each Document. I tried to upload the the ...
0
votes
1answer
855 views

Creating an Approval workflow based on the list values using visual studio 2010

I have a list with the company name, business process and workflow initiation. The Business Process could be Purchase Order/ Leave Request. Workflow Initiation is a radio button which could be ...
2
votes
1answer
72 views

Sharepoint Deployment not updating webparts

Alright. I have just made changes to a custom webpart that was already deployed to Sharepoint. I made a few deploys, some changes... and suddenly, a code that was in the front-end of the webpart ...
0
votes
1answer
23 views

How to develop for SharePoint 2013 on VS 2012

I am new in sharepoint platform. To prepare my development pc for sharepoint development I have installed sharepoint server 2013 ,vs2012 ,sql server 2008 r2. I start reading book “Beginning ...
1
vote
1answer
676 views

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

I have a sharepoint list (Not Library), where I am programatically adding in a folder: SPList list = web.Lists[ListID]; SPFolder parent = list.RootFolder; SPFolder child = ...
1
vote
1answer
27 views

using SPSecurity.RunWithElevatedPrivileges

SharePoint 2013 on-premise What is the difference of using: SPSecurity.RunWithElevatedPrivileges(() => { using (SPWeb web = site.OpenWeb()) { .... } } with ...
0
votes
1answer
21 views

Not getting RootWeb Url

Quite new to this sharepoint.se I just go ahead an post you my code which is not working: using (ClientContext clientContext = new ClientContext(m_WebSiteUrl)) { ...
1
vote
4answers
2k views

Where is the SharePoint 2013 SDK?

I want to try out SharePoint 2013 with Visual Studio 2012. I'm trying to locate the SharePoint 2013 SDK. Google points me to older posts about Beta SDK releases. Visual Studio 2012 only has ...
2
votes
1answer
22 views

How to change Document Library webpart's toolbar type programmatically?

I want to edit document library webpart to change Toolbar Type to 'No Toolbar' programmatically using C#. Actually I want to hide 'add new document' button. I have created a document library ...
0
votes
0answers
298 views

Adding a SharePoint list to an Update Panel

I am trying to add a SharePoint list to an AJAX Update Panel. I am doing this by adding a ListViewWebPart to the Update Panel. My code: SPList fcsRequestList = web.Lists.TryGetList("Requests List"); ...
1
vote
1answer
108 views

SharePoint Designer Workflows read .XOML file programmically using c#

I need to get list of all the workflows using a custom activity. I visited a workflow using designer and have the name of the activity. I just need to read that xoml file and see whether that file ...
1
vote
0answers
21 views

Rejecting an Approved document Versus Rejecting a Pending document

I have Enterprise Wiki site collection which contains a document library.I have set the following settings for the document library:- Require content approval for submitted items? >>> Set to Yes Who ...
2
votes
1answer
678 views

Iterating over user profiles in Sharepoint Online 2013

With the on-premise instance of SharePoint, I am able to call the GetUserProfileByIndex from the User Profile Service to iterate over user profiles. However, with SharePoint online 2013, I get the ...
2
votes
1answer
302 views

Workflow gives “Error Occured” when uploading file to document library

I am mapping one xml document to another. When it is done, I am uploading that document to a document library. Here is the code that does that: MemoryStream ms = new MemoryStream(); ...
2
votes
4answers
18k views

Server Error in '/' Application. Runtime Error

I am new to SharePoint. I am developing a web part. I that I have created the .aspx page. When I am going to access that page by the URL it throws an error like. Runtime Error Description: An ...
0
votes
1answer
802 views

Sharepoint 2013 Site Title only show parent site

I have a team site and am using the Site Title snippet, but I don't want that changing to show my subsite titles. For example here is an example team site hierarchy we are using for our companies ...
2
votes
1answer
1k views

System.ServiceModel.ServiceActivationException “A relative URI cannot be created because the 'uriString' parameter represents an absolute”

The client object model code in my application is throwing the following exception. How to solve it?. System.ServiceModel.ServiceActivationException: The service '/_vti_bin/client.svc' cannot be ...
0
votes
1answer
29 views

C# - Creating new SharePoint user in .Net Membership provider

I have an external-facing SharePoint site that uses a .Net membership database to house claims user accounts. I'm attempting to build a solution in C# that creates a new user account in the database ...
0
votes
0answers
13 views

Entity PIcker Editor How to differentiate between picker Browser and Check Name ValidateEntity

Is it possible to differentiate between Browse and Check Names ValidateEntity method? I have an item picker field control. I click Browse, do a search, select my record and then click ok. ...
0
votes
0answers
14 views

People picker with autocomplete AND search button

I'm aware of ClientPeoplePicker control which has autocomplete but no Validate and Search buttons. I'm also aware of PeopleEditor control which has Validate and Search buttons but no autocomplete. ...
1
vote
1answer
24 views

Development Environment SharePoint 2010

I have some questions about SharePoint 2010 development environment. I want to develop a solution package. Should development environment is the same version as environment production? If I need ...
0
votes
1answer
392 views

Check-In & Checked Out files inside folder in Document library using Client Object Model

I am not able checkin/checkout the files in sub folders in the document library using client object model. Below is the code I am using. public void CheckOut()// CHECK OUT FUNCTION { try { ...
1
vote
1answer
128 views

Repeating headers in a 2010 DVWP for printing

I have a DVWP with several hundred rows. I have the print view set up correctly. The format looks good. The one requirement I have and cannot find a solution for is to make the column headers ...
1
vote
1answer
2k views

Load properties of list item client object model c#

I have a situation where I need to load items from the list and which columns to be loaded cannot be hardocded, as it will be decided on user input. I have following code. ocamlQuery.ViewXml = ...
0
votes
1answer
160 views

Sharepoint OneDrive for Business and C# WPF Windows 7

I have a question and I would appreciate for your help. I have WPF C# desktop application (windows 7) . And I want to connect to OneDrive For Business (SkyDrive Pro) account and to get the files from ...
0
votes
0answers
16 views

Sharepoint 2010 SPListItem.Tasks returns threw an exception of type 'System.ArgumentException'. What could be the cause?

I am going through a list item and getting each item, then get each workflow task for that item. I am able to retrieve the tasks for some items but not others. One difference I am able to find ...
0
votes
0answers
7 views

What is an efficient setup for designing and testing O365 web parts?

I have just been immersed into the deep end of sharepoint development; and then some: developing web parts for O365 sharepoint. Right now I am using a 'deploy and see' development model, but I would ...
0
votes
0answers
14 views

Update list item with managed metadata field returns The security validation for this page is invalid

Using SharePoint 2010 Server I'm attempting to programtically update a managed metadata field in a document library. I'm able to do it without issue on all other non-managed metadata fields. When I ...
0
votes
0answers
19 views

Download a file from Sharepoint from a domain different of the user C# 403

The following code works with my user in my OneDrive for business to download some file, but when I try access to another OneDrive company where my user has permissions it returns 403 forbidden. I ...
2
votes
1answer
21 views

Ribbon Button in List, which sends Data to C# code

First, I'm not really a developer, but since I'm the only "sharepoint-guy" in my company I need to learn this, too. So here's my problem: I need a ribbon button, which sends data of the marked item to ...
0
votes
0answers
17 views

Call PerformancePoint charts in custom asp.net control programmatically

How can i call a performancepoint chart(designed in dashboard designer) in custom asp.net user control programmatically from the performance point content library. I have successfully designed ...
3
votes
1answer
368 views

making an SP.UI print dialog

I'm thinking of adding a print button to my list ribbon , the minute I click on this button a print dialog appears showing the list of the available printers on my computer. so this printdialog i was ...
0
votes
0answers
36 views

Inconsistent behavior when SharePoint enable/disable the Approve/Reject links, inside my enterprise wiki site

I am working on an enterprise wiki site collection, which have two libraries. then i set "Requires content Approval for submitted items" inside the versioning settings. now if i have an approved or ...
0
votes
2answers
53 views

Change “created date” and “created by” values for my default publishing site's welcome page, after a backup/restore

I have developed an enterprise wiki site collection inside my staging server , then I backup , restore the enterprise wiki inside my live server. But currently the created data for my welcome page is ...
1
vote
1answer
21 views

How can i write exception errors to a multiline text field in a SharePoint list from an event receiver

I have a document library on my SharePoint online site, when a user uploads a file in the library a c# itemAdded event is triggered to read the file and store the information in a separate list. This ...
0
votes
0answers
34 views

Error when trying to reference an excel sheet inside SharePoint document library “The file name, directory name or volume label syntax is incorrect”

I have the following :- SharePoint document library. Inside the document library i have; Visio diagrams + excel sheet. now i am using an Add-in inside the Visio drawings to reference the Excel sheet ...
0
votes
0answers
14 views

Upload and retrieve attachments from list via Silverlight (c#)

How can I upload attachments to a SharePoint 2010 list programmatically, and then retrieve those attachments from the list via Silverlight (c#)?
0
votes
1answer
7 views

External Content type linq error

I have a list with an externa content type. I am tring to fetch the element by server side code, but i get this exception: Microsoft.BusinessData.Infrastructure.BdcException This is my ...
2
votes
1answer
318 views

Extract text from document in a SharePoint 2013 library

I would like to extract the text from documents stored in a SharePoint 2013 online document library. I have the document loaded using: ClientResult<Stream> data = file.OpenBinaryStream(); ...
1
vote
2answers
355 views

Windows 8 App using COM dlls of Sharepoint gives error “Cannot resolve Assembly or Windows Metadata file 'System.Web.Services.dll'”?

I have created a sample app using Windows 8 C# XAML to get site info of SharePoint 2010 using COM Dlls. I have added reference of: C:\Program Files\Common Files\microsoft shared\SharePoint ...
1
vote
1answer
528 views

Upload document to Sharepoint 2013 Online using webservices

I have a client who is implementing customer portals in Sharepoint 2013 Online. The current program distributes documents to the customers by mail. Now we have to upload the documents to the customer ...
0
votes
2answers
711 views

GetitembyId in list

SPWeb web = SPContext.Current.Web; SPList list = web.Lists["MyList"]; SPListItem item = list.GetItemById(1); item["Title"] = TextBox_Name.Text; item["ProductNumber"] = TextBox_ProdNum.Text; ...
1
vote
4answers
6k views

How to enable ViewState when developing asp.net form in web part?

I have a web part with a simple asp.net/c# form. The first thing I noticed is that the form controls are not keeping their values after a postback. I thought this seemed weird since my web.config has ...