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

learn more… | top users | synonyms (3)

9
votes
3answers
4k 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
0answers
4 views

The workflow could not update the item, possibly because one or more columns for the item require a different type of information

I am working on an EnterpriseWiki Site collection, and i define the following workflow which fires when modifying the wiki page,, where its first step is to check if the Wiki page name & title is ...
0
votes
1answer
22 views

Copy list from Sharepoint Online to another list

I want to copy a list (as it is with the same properties/metadata) from Sharepoint Online to another list in another tenant. I want to also copy all the properties and metadata of each item. I'm ...
16
votes
3answers
4k views

How to access my “Outgoing E-Mail Settings” from code?

Is it possible for me to pull the values that are in: Central Admin -> System Settings -> Configure outgoing e-mail settings from my code behind using the object model?
1
vote
1answer
4k views

Limit a user group to a specific view created via InfoPath 2010

I have created a new view called 'RequesterView' (via InfoPath 2010) to add items to a issue tracking list. The purpose of this is to limit the visibility of certain fields such as 'Assigned To', 'Due ...
0
votes
2answers
198 views

Event receiver not firing Document Library

I have a local development environment in my VM.(SharePoint server 2013 SP1,Visual Studio Ultimate 2013-update3). I'm trying to add an event receiver to a document library on ItemDeleting. Deleting a ...
0
votes
0answers
1 view

Doxygen not creating call graphs for C# methods if namespace contains the classname

I am using Doxygen to create call and caller graphs for a large C# project which is a SharePoint 2010 solution. This solution has many components and I noticed that some of them (console applications ...
3
votes
2answers
134 views

Can someone help me use SharePoint 2010 to do data processing?

TL;DR: I need to create a system in SharePoint in which a user uploads an Excel (or CSV) file to the site from a webpage. The site takes the uploaded document and uses it to populate a list. Then it ...
0
votes
1answer
26 views

Set a Lookup reference to a Field that already exists

I need to set the lookup reference to a field that already exists (of type lookup) that is not pointing to yet. I can get the lists and the fields but I don't know how link to each other. Can you ...
0
votes
0answers
16 views

Visual Studio workflow and web part

I am still new to c# and I have been asked to design an Approval Workflow in visual studio. I want to concatenate a web Part link with the task id that is created by the workflow to send it through ...
0
votes
1answer
20 views

How to add a button that triggers custom C# code on a list

I have a list of (email) objects which has a lookup field. When an email is received in my document library, I have added code to the EmailEventReceiver to see if the email address matches an ...
0
votes
1answer
96 views

Copying list items's attachments

I have to modify a .Net console application written in C#. The application references the following assemblies : Microsoft.SharePoint Microsoft.SharePoint.Client Microsoft.SharePoint.Client.Runtime ...
1
vote
2answers
30 views

How to create SharePoint provider-hosted-apps without Windows PowerShell

I already had create SharePoint provider-hosted-apps. But with Windows PowerShell there was an error and all SharePoint services was changed so I need to create SharePoint provider-hosted-apps without ...
0
votes
1answer
15 views

remove the “page name” field from the EnterpriseWiki.aspx page layout

I am working on an Enterprise wiki site collection inside SP 2013, currently when a user wants to create a new wiki page he will go through the following steps:- Enter the wiki page name, as ...
0
votes
1answer
22 views

Lookup list does not exist error

While looping through my sharepoint's list fields, I found that there are some "in-built" Sharepoint fields (for example, Check In Comment) that are lookup fields. However, when I try to use ...
1
vote
1answer
837 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
0answers
11 views

Custom Workflow Code Activity

I am trying to create a custom workflow activity that inherits from CodeActivity and thus has code behind. In the XAML, I changed the declaration for and I added a partial class with the same name ...
0
votes
1answer
811 views

Build a visual web part that shows a document library

Ok so I need to build a visual web part (Has to be Server side and done in visual studio c#) that shows a document library. On selection of the document library, the web part must output the entire ...
3
votes
1answer
946 views

Url to an item with Client Object Model

Regarding my question, at this moment i'm writing some client object model code and I can't find a way to retrieve create make an url ... My question now is: How can I create an url to an item? I ...
4
votes
9answers
529 views

What are the best resources for SharePoint 2010 development?

What are the best resources for SharePoint 2010 development? Please do one answer per answer.
6
votes
2answers
478 views

HTML in SPGroup.Description

I am trying to add a group (SPGroup) programmatically. Everything works fine except for one thing. I would like the group's description to include a link to it's site. Similiar to the look-and-feel in ...
1
vote
1answer
1k 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
24 views

Why the Name field is not included in a custom Edit form for a Wiki Page library

I am working on an EnterPriseWiki site collection, and using SP designer 2013 i created a new Edit Form based on the EnterpriseWiki content type. but when i checked the fields that are defined inside ...
0
votes
1answer
53 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 ...
1
vote
0answers
50 views

SP2010 - Visual Web Part - Storing metadata in folders in document libraries

I want to store a number to folders to enforce ordering. I noticed these three pages Get Property Set Property Add Property And I want to know if it's possible to use these to add a number to the ...
1
vote
1answer
20 views

How I can force the Update item Action inside SharePoint 2010 workflow to be part of the edit operation which fires the workflow

I am working on an Enterprises wiki site collection inside SP 2013. and i define a workflow that will do the following, when the wiki page is modified:- Check if the Wiki page name and wiki page ...
1
vote
2answers
19 views

Check permissions of groups on a document library folder, write out the group names and permissions

I can get to the document library folder/item like this: SPDocumentLibrary docList = (SPDocumentLibrary)web.Lists["Documents"]; string caml = "<Where><Eq><FieldRef Name='ID' ...
1
vote
0answers
111 views

Create TreeView C# for Office 365

I am currently building an Outlook Addin which enables users to save E-mails directly into SharePoint Online. but before the E-mails get saved, they Need to be prompted by a Windows which has a ...
2
votes
4answers
881 views

Is it possible to read a sharepoint website using C#

I am new to sharepoint technology. I want to know if it is possible to read a website hosted in sharepoint. I can see that page after I log in. Can I do that in C#? And do I have API to do the log in ...
0
votes
1answer
13 views

How to upload a file in a folder and set it's title?

I am uploading files on a SharePoint folder with this code: var clientContext = GetClientContext(); var folderName = "Folder"; var fileName = @"C:\Users\user\Desktop\file.pdf"; folder = ...
6
votes
6answers
14k views

How can I get the root site collection from SPContext.Current?

With SPContext.Current I can get the current site or current web. However, I would like to get the root site collection for my current web application. I know that I can get the web application from ...
0
votes
0answers
26 views

how i can force my wiki page title to be equal to the wiki page name using SP workflow

I am working on an EnterPriseWiki site collection, and i need to make sure that the wiki page title will always be equal to the wiki page name. so i wrote the following workflow which will execute ...
0
votes
1answer
28 views

SharePoint - Reference file in item properties

(Disclaimer: This is the first time I deal with SharePoint) I am trying to add a file in SharePoint and reference it in a property of a list item. The property type is 'Sparqube Lookup Classic' (I ...
0
votes
1answer
14 views

How to programmatically add Active Directory groups to a Sharepoint group

Which is the proper way to add an Active Directory group to an SP group? I've tried with no luck. I'm using SCOM. Thank you User user = web1.EnsureUser("TheOwners"); User user = ...
0
votes
1answer
30 views

Renaming the enterprise wiki page home page to an already exsisting name , will no longer define it as the home page

I am working on an Enterprise wiki site collection , and i found this strange behavior:- Currently we have our home page URL as /Welcome.aspx Now if I edit the home page properties and i change the ...
0
votes
0answers
20 views

how to set the wiki page title to be always equal to the wiki page name

I am working on an Enterprise wiki page, and each wiki page come with two properties Title & Name . Now SharePoint by defualt allow to modify the wiki page name , and i can add the Title to the ...
1
vote
1answer
25 views

How to remove “Open Web Part Page in maintenance view” when editing the wiki page properties

I am working on an Enterprisewiki site collection inside SP 2013, and currently when contributor users edit the wiki page properties by going to "Page Option >> Edit Properties" , then will find the ...
1
vote
1answer
31 views

Increase tile size of promoted link in Share point 2013

I create an app using the Promoted Links in Sharepoint 2013. I chose to do this because the feature has the awesome hover effect and is easy to customize the image. The issue is that I have been ...
1
vote
2answers
40 views

How to send an email if a field value is changed

I am working on an Issue Tracking List inside SP 2013. And I have a field named Issue Owner. I want to create a workflow that should be executed when an issue item is edited and at the same time the ...
0
votes
2answers
44 views

Hidding columns from the EditForm for my wiki site

I am working on an EnterpriseWiki site collection, and when users edit the page properties as follow:- then will get all the fields inside the EnterpriseWiki content type as follow:- now i want ...
0
votes
1answer
15 views

SCRIPT5007: Unable to set property 'ListId' of undefined or null reference

I am working on an enterprise wiki site collection, now when the user edit the properties of the page he will be redirected to the following page :- so i wanted to hide all the fields except the ...
0
votes
0answers
16 views

Error when accessing RSS feed using WebClient

I have SharePoint list RSS feed which I'm fetching using C# from custom Timer Job on another SharePoint server. I can access the feed with a browser (and with that specific user account) just fine, ...
0
votes
1answer
23 views

how to remove the “Content Type” field from the Enterprise Wiki page content type

I am working on an Enterprise wiki site collection , now when users go to (Page Option >> Edit properties >> Edit Properties) as follow:- they will find a field named "Content Type" as follow:- ...
1
vote
0answers
14 views

How to properly increase the limit/point settings for Sandbox Solutions?

I have a SharePoint 2013 event receiver in Visual Studio. The solution does some processing of XML files (without getting in to too much detail). I am having an issue with the event receiver timing ...
0
votes
0answers
13 views

Skin File For SharePoint 2013 WebPart

How Can I apply a custom theme/skin to SharePoint 2013 visual web part in visual studio 2012, like we do in asp.net
2
votes
1answer
27 views

How to upload images to picture library using JavaScript?

I want to upload multiple images to picture library using JavaScript. I am building SharePoint hosted app. In which I have created a Picture Library in side Project Solution using Visual Studio and ...
0
votes
2answers
860 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 ...
1
vote
1answer
54 views

Adding an item to a List when clicking a WebPart Properties 'OK' button

I have a superb Web Part downloaded from Codeplex which essentially is a Countdown Timer in jQuery. (spCountdown) The code itself works perfectly, however I want to tweak it, in what I thought would ...
0
votes
1answer
481 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
2answers
33 views

Cannot return an item's Author and Editor properties in CSOM

I have a utility which makes updates without affecting the ModifiedBy/Editor field. Before any updates are made, I store the user value in one of two ways: CamlQuery camlQuery = new CamlQuery(); ...