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
0answers
279 views

Getting error when doing a jquery ajax funtion to a webpart aspx page

I want to send data using ajax from jquery to c# (note: im sending request to the same page). I am following this tutorial http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/. ...
2
votes
2answers
478 views

SPSite.Usage.Storage And SPSite.StorageManagementInformation Are Returning Different Values

When every I use SPSite.Usage.Storage and I use SPSite.StorageManagementInformation with to retrieve all the documents for the Site Collection then I sum the sizes of all the documents then I get a ...
11
votes
5answers
10k views

SP.UI.ModalDialog.showModalDialog using the html option

http://msdn.microsoft.com/en-us/library/ff410058.aspx says that you can use the option html to display html text in a modal. I have a string like this; var html = ...
0
votes
1answer
19 views

Strange behaviour Generic List

I have written some code to delete minor versions after a specific time. I don't know how it is possible, but it only deletes uneven versions, and not the even ones. Below part is to find all ...
0
votes
1answer
289 views

RichHtmlField showing html markup in display mode

I am trying to render html tags with text in RichHtmlField control in SharePoint. Following is html code. <%@ Register TagPrefix="Publishing" ...
0
votes
1answer
22 views

Web control is not safe

I have a code which is deployed with the delegate control, but when i try to call it in the logs i see an error: class 'My.Custom.MyWebControl': The control with assembly name xxx' class name ...
-1
votes
0answers
17 views

How to create sharepoint 2010 workflow

How to create sharepoint 2010 workflow using sharepoint designer? How to check valid user in sharepoint 2013
0
votes
0answers
10 views

Problem with DWS Webservice and VS 2010

I have a problem since I switched from VS2013 to VS2010 for a compatibility problem. The problem is that I have my root site "Accueil" and a subsite "PiCRM" and my program can only create folders ...
7
votes
3answers
755 views

Custom 404 Pages

I have followed Microsoft's instructions for custom 404 pages in SharePoint by setting the web application's FileNotFoundPage property. I am now still getting a 404 error if someone types a site ...
0
votes
1answer
23 views

SharePoint 2013 workflow issue

We are developing custom workflow in our SharePoint 2013 project using Visual studio 2013. We have got one issue while updating list items in the custom workflow. Modified By field is changed to ...
-2
votes
0answers
21 views

How to take IIS backup in SharePoint Server

How to take IIS backup in SharePoint Server ? How to create Users and how to allocates permissions to the Users ?
1
vote
1answer
275 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 ...
7
votes
1answer
1k views

Manage trust/add certificate

I try to add a certificate under "central administration>security>manage trust" but I always get the following error: The Root Certificate that was just selected is invalid. This may be ...
2
votes
1answer
467 views

SPContext.Current.FormContext.OnSaveHandler Not Firing from Custom Field Type Control

I am having the exact same problem described here. Unfortunately because I don't have 50 points yet I can't comment on it so I have to create a new duplicate question. I mean it's not "100% EXACTLY" ...
1
vote
1answer
561 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 ...
1
vote
1answer
27 views

Web Part Namespaces include class name in SharePoint 2010

My client is upgrading from WSS 3.0 to SharePoint 2010 (yes, I know the year is 2014, but baby steps). I am migrating my custom solutions to work in in 2010. My current issue is the way SharePoint ...
2
votes
2answers
39 views

Problem in batch processing data with angular bracket

Trying to insert some data into multiline of text SharePoint field using batch processing. It was working fine if it doesn't have any words within <> angular bracket. If it has any words inside the ...
1
vote
1answer
283 views

How to programmatically access and manipulate Discussion item and replies?

How to access and manipulate Discussion item and replies? I have a discussion board that has a check box, based on the input I switch the permissions of that discussion post for a specific user (from ...
0
votes
1answer
31 views

How to check sharepoint list date column is empty?

How to check sharepoint list date column is empty? I want to check in back end code. IEnumerable<DataRow> x = from laptop in dtList.AsEnumerable() join ...
0
votes
1answer
270 views

Sharepoint modal popup don't shown when the Infopath form are on the site

I tried to add Infopath form on my project, but when I add the Infopath form some of PopUp which are corelated with Infopath and shows errors od data didn't shown What should I do to shown A Modal ...
1
vote
1answer
294 views

Check Home Page Sharepoint 2010

How to check page is homepage/default page programmatically in C# sharepoint 2010
0
votes
2answers
30 views

SPUtility Send Email for mulitple users

I am trying to send an email to multiple users using SP Utility Send Email I am using visual studio, c# But i am facing issue, as i am trying to specify email addresses as a ,b Should i be using ...
-1
votes
0answers
17 views

sharepoint and infopath issue

I want to get data from one of my sharepoint list to one of the field in my form. I have found the below code, please suggest me if it is good enough. GetSPListData() { //We need to get sharepoint ...
6
votes
4answers
15k 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 ...
1
vote
1answer
518 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 = ...
4
votes
2answers
3k views

SPFolder vs SPListItem

I've trying to build a tree view which will show a Sites Lists and folders. This is an external application so I have to communicate with WSS3 through web services. Site |-List | |-Folder | ...
0
votes
2answers
336 views

How to find out the logged in user in workflow?

I have a sequential workflow in SharePoint 2013. I want to update a list item field with the name of the user who modified a specific workflow task. How can I get this done in c#?
0
votes
2answers
587 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 ...
0
votes
1answer
303 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
0answers
34 views

How to validate multiple fields with c# custom code on button click before submitting

My main goal here is to pop up a validation box that lists which fields have not been populated(still empty) before allowing the user to submit. I know you can use the method built into InfoPath but ...
7
votes
1answer
2k views

Programmatically add quick launch link to a modal dialog box

I have implemented a feature that once activated adds a heading called Home, and a link underneath to a NewForm.aspx like such: // Add Home node var mainListsNode = new SPNavigationNode("Home", ...
7
votes
1answer
679 views

Client Object Model SystemUpdate

I need to have the SystemUpdate functionality from the Client Object Model. Is there any way I can do it since the ListItem.SystemUpdate() does not exist? Another solution would be to disable the ...
6
votes
4answers
18k views

Error occurred in deployment step 'Activate Features': <nativehr>0x80070002</nativehr><nativestack></nativestack>

I have a feature. On the FeatureActivated event I am creating a list if it is not there. I also have an EventReceiver that in the elements.xml on the Receivers node has the attribute ListUrl. This is ...
6
votes
1answer
2k views

Attach a file to the list item

I attach a file to the list item when it is updating and when new item added. Additional condition when item updating - if the file already exists, remove it and replace the new one. I receive events ...
1
vote
2answers
104 views

Retrieve all site collections

I want to retrieve all site collections in an Online tenant through Visual Studio: I can do it via Powershell: get-sposite on-premise server : Get-SPSite on-premise again: var sites = ...
0
votes
1answer
665 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 ...
4
votes
1answer
49 views

How to programmingly create a “Link to a Document” in an ASP.net web application?

I have a asp.net web application which requires to upload files to a SharePoint document library. I got that working. Now, I need to know how to code using C# in my web application to create a "Link ...
0
votes
1answer
723 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
1k 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
2answers
65 views

Create a new site collection c#

I'm trying to create a new site collection in Sharepoint Online tenant with Visual Studio. 1) I found http://msdn.microsoft.com/en-us/library/office/ms448720(v=office.14).aspx which says that the ...
0
votes
1answer
789 views

Error: Unexpected response data from server - user Profile properties displays

I get the mentioned error message when i try to display the User Profile properties by using JSOM(Java Script Object Model) Error: Unexpected response data from server. The error occurs for around 1 ...
0
votes
1answer
21 views

Wrong hyperlink is generated for custom central administration action group image

I have a custom action group deployed to central administration; something like "Contoso IT" in this picture: The problem is that that for some reason, the hyperlink for "Contoso IT" (the title) is ...
6
votes
1answer
273 views

Programmatically set a WebPart title to a $Resources value

I need to programmatically add a web part to a page where the title is using a $Resources:Filename,Key; string. I know I can use SPUtility.GetLocalisedString() to retrieve the correct value (and loop ...
0
votes
1answer
516 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; ...
0
votes
1answer
24 views

What permissions are needed to develop apps on SPO 365?

I'm new with SPO365, but from what I read, to deploy and test apps I need a developer site (site collection), but I don't have access to create it, neither access to Central Admin. Does my developer ...
0
votes
1answer
43 views

Implement multi select lookup using listbox control in aspx page

How can I implement the multi look up select list items functionality in SharePoint using asp.net C#? Please help me with some code, I am using two list boxes and have added a add remove button on ...
0
votes
0answers
5 views

Timer Thread Method not executing properly

I have a method that refreshes a grid view, I need to run this method on a page every 60 seconds. To do so I have implemented the following timer thread: var timer = new System.Threading.Timer( ...
0
votes
2answers
31 views

How retrieve custom fields only when using SPListItemCollection?

Hi with following code I am retrieving a DataTable from a List: using (SPSite site = new SPSite("http:...")) { using(SPWeb web = site.OpenWeb()) { ...
2
votes
1answer
300 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
2answers
2k views

Error when using ItemAdded event handler to update columns on newly uploaded document

I have an ItemAdded event handler connected to a document library, in order to automatically populate certain fields when a new document is uploaded: public class AutoPopulateDocumentFields : ...