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
472 views

How to update metadata?

I have following code (didn't list the whole code) behind a button on a InfoPath Managed Form. and it works meaning I can submit data to a list. Now I have 2 controls on the form that is ...
1
vote
1answer
725 views

InfoPath code to delete all rows of repeating table and then add back one default row

I have the code on a clicked event to reset a repeating node (deleting all existing rows - see code)... I am looking for the best way to add back a default row. I tried using xmlwriter, but this ...
0
votes
0answers
7 views

TopNavigationBar not showing items

I am adding navigation items to the TopNavigationBar via code, and they are not showing up when checking the site but the code doesn't error out. I if I iterate through the nav items in the ...
0
votes
1answer
518 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, ...
0
votes
1answer
26 views

How do I programatically edit the contents of an .aspx SitePage or page or wiki?

I'm trying to programatically edit a page that is being transitioned from server #1 to server #2, #3... etc. I tried including the page inside a module, and later on opening it and extracting its ...
1
vote
0answers
11 views

Delay after a subsite is created

I'm stuck after creating a new subsite programmticly. I have created an remote event receiver after a employe is added a new subsite is created under /sites/employes/. That works fine but after the ...
0
votes
1answer
310 views

SharePoint Claims authentication on external zone : Could not retrieve the IIS Settings. Parameter name: context

SPClaimsUtility.AuthenticateFormsUser(Context.Request.UrlReferrer, txtEmail.Text, txtPassword.Text); This authenticates the user properly and lets me through to a page that needs authentication on ...
1
vote
2answers
39 views

How to itetrate through files in a document library

I've been creating a provider hosted app and I'm stuck at retrieving Documents titles using CSOM C# my code is as follows. var spContext = ...
0
votes
1answer
684 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 ...
0
votes
0answers
8 views

Sharepoint 2010 retention on site per site basis

I have a site collection with existing sites underneath it and will be creating new sites through a site template written in VS 2010 using C#. The site has two document libraries which store custom ...
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
655 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 ...
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 ...
1
vote
1answer
291 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(); ...
0
votes
0answers
9 views

DocumentSet.Create parameters and how they relate to fields

I'm looking at the DocumentSet.Create method to create DocumentSets programmatically and I'm a little confused about the name parameter. I presume this is going to populate the Name field in the item? ...
4
votes
2answers
437 views

Set a date/lookup in ListInstance elements.xml

I have two lists. The first one has customers and the second one has Orders. Now i want to add some (test) data in the elements.xml of the listinstances. For customers this works without a problem ...
0
votes
1answer
20 views

Remove user from SPFieldUserValueCollection

I have a "person or group" type column in my calendar list as "Participants". I need to add and remove users from this column. Adding users works fine. When trying to remove a user it does not get ...
0
votes
0answers
16 views

Add Check mark in gridview ✓ in c#

Ta I have a gridview display some columns from a list, and I have a column named "Tax" its type is boolean, I want to put ✓ if it's "Yes" and X if it's "No" here's my code : SPSite oSite = ...
0
votes
2answers
54 views

Sharepoint 2013 web part does't impersonate current user, while SP 2010 does?

I'm developing full trust web part deployed in GAC that access soap web service on localhost. Web service uses windows authentication. SP 2010 web part impersonates current user while SP 2013 sends ...
0
votes
1answer
24 views

How to get the unique item from sharepoint list

List Name Social Column name Category(Choice Field),Values(Text ) Category values modified ................................................ Facebook sameple ...
3
votes
7answers
5k views

ArgumentException when trying to access SPListItem value

I have a tool to update all items in SP (link replacement). The tool works most of the time but sometimes it throws me an ArgumentException ("Value does not fall within the expected range."). Here is ...
1
vote
1answer
302 views

Error 401 on ExecuteQuery SharePoint 2013 production SharePoint Server

I create a farm solution that query in a list of SharePoint 2013. When I run my solution in a development server using Context.Credentials = new NetworkCredential('user', 'pass', 'domain'), the query ...
1
vote
1answer
33 views

Some javascript not working in web part

I'm noticing that not all of my Javacript - all of which worked in a basic ASP.NET Web Forms application - is working. I'm not sure what could be causing this. For example, the following JS/C# calling ...
0
votes
2answers
64 views

SharePoint 2013 Workflow - How to retrieve the SPWorkflow object associated with a SPListItem?

Here's the scenario: I have a SPListItem in hand, which i know has a started workflow associated. The workflow has a task created for approval. I want to access the SPWorkflow and then the ...
0
votes
0answers
14 views

Modifying a custom Application Page in a Document Library throws Exception

We have a SharePoint (2013) Solution where we put ASPX Pages in Modules, which in turn are automatically deployed in a Document Library. Those files work fine with the Code behind Assembly that is ...
0
votes
1answer
289 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 ...
0
votes
1answer
318 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 { ...
0
votes
2answers
41 views

Creating new site columns or renaming existing ones,, which approach I should follow

I have a team site and I have created a new Issue Tracking lists inside it. Then I went to the Issue content type I found these columns defined by default:- Currently I need some of these and I need ...
1
vote
1answer
650 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 ...
0
votes
1answer
17 views

Assembly Issues with Workflow

I updated a custom workflow (pure c# code) in SharePoint. Everything looked fine at first, but now I found the following errors in the ULS-Log: Load Workflow Assembly: ...
1
vote
1answer
618 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
288 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 ...
0
votes
1answer
1k 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 = ...
1
vote
1answer
327 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
22 views

Redirect after item is added in the main window, not in the pop up dialog box

I have an issue in SharePoint 2010, in ItemAdding event i've created some action to be taken when the action is happening and the item is being added, so after that i would like to make sure that the ...
0
votes
0answers
14 views

Sharepoint workflow tasks Items

Good day, Im trying to get a task id of a specific task in a workflow. I would like to do this in the createTask activity. I have tried using /taskProperties.TaskItemId/ but i seem to get back "-1" ...
0
votes
0answers
15 views

How to prevent my Issue tracking App from saving the images that are added to the list items , inside the same folder

I found this problem inside my Issue tracking App. now i added an Issue tracking App inside my team site. but i found this problem. let say a user wanted to add a new item and he did the following:- ...
0
votes
1answer
755 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 ...
0
votes
1answer
37 views

Users with different permission levels are seeing different page layouts?

I am working on an enterprise wiki site collection. And I have edited the EnterpriseWiki.aspx page layout , where I added some new columns and I have also remove the Page rating. Now users with ...
0
votes
1answer
7 views

Content Approval Set to No In SharePoint List

I want to set content approval "no" in sharepoint list in version setting programmatically at the time of list creation. How to do that?
1
vote
1answer
343 views

Check Home Page Sharepoint 2010

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

New custom Create form does not auto complete “Owner“ field

I have an Issue Tracking list , and I have created a custom Create form using SharePoint designer , as follow:- The problem I am facing is that the owner field will not autocomplete the people ...
-1
votes
1answer
31 views

Caching problem with my Visual Web Part when adding it to my List's Create Form

I have the following web part inside my visual studio :- [ToolboxItemAttribute(false)] public partial class VisualWebPart1 : WebPart { // Uncomment the following SecurityPermission ...
0
votes
1answer
294 views

SharePoint App download file from url

I have a SharePoint 2013 app where I want to download a file. in the web project I get the url from a file in SharePoint and I want to download it using the following code: WebClient webClient = new ...
5
votes
2answers
377 views

How to get List by Url using SharePoint 2013 CSOM

SharePoint 2013 CSOM API contains the following methods for accessing List object: ListCollection.GetById method - returns the list with the specified list identifier ListCollection.GetByTitle ...
0
votes
1answer
384 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
24 views

Get user session ID

I have a problem with SharePoint session. Is there any way to retrieve Session ID or Transaction ID of an user in SharePoint by C#?
1
vote
0answers
26 views

Office 365: Authenticating from Dynamics CRM Plugin to Sharepoint

I am trying to authenticate to Sharepoint 2013 from a Dynamics CRM 2013 plugin, all within a single Office 365 environment. I am ultimately trying to copy an email attachment from Dynamics CRM to ...
0
votes
1answer
26 views

How can I get the mark-up for “add new item” link inside my list view, that opens inside a dialog box

I have the following list view:- But I need to add the “+ Add new item” link inside another page. So can anyone advice how I can get the mark-up for add new item which will display the form inside ...
0
votes
1answer
619 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; ...