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

SharePoint 2010 Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown

Arg, so this is really starting to hurt. So I am trying to get back the version history of an item on SharePoint. Whenever I try to get back anything from this SharePoint webservices, I get the ...
0
votes
0answers
9 views

Very lost with ASP.NET program trying to generate chart.js charts

I'm a young developer who was given the task to create a dashboard using some data from a company's database. I've never been exposed to C#/ASP.NET and I have very little experience doing real world ...
0
votes
0answers
8 views

How to check extension of choosing picture in SP 2013 Picture Library

I need to check pictures extension when user has chosen picture and try to upload it into picture library. I've found the way to edit master page with js script, but i haven't to edit master page. ...
3
votes
3answers
35 views

SharePoint csom convert enhanced rich text to plain text

I am trying to get the value of an Enhanced Rich text column and set it to another Multi line of text (Plain text) column. When I use the below line, string richtext = li["...
2
votes
1answer
70 views

How to change the “Parent Content Type”

I have requirement to create multiple content types to a single website in Sharepoint 2013, I have did it using the template files, but the problem in for all newly created content types the parent ...
0
votes
0answers
13 views

Error on Task User Control when Loading Data

private void LoadData() { try { if (SPContext.Current != null) { SPList taskList = SPContext.Current.List; SPListItem task = ...
1
vote
1answer
629 views

Create navigation headings in SharePoint Online programatically

Is there a possibility to create headings with multiple links in the navigation bar (i.e. top link bar) in SharePoint online using c3 or PowerShell? My initial guess was to use ClientContext to gain ...
3
votes
1answer
24 views

Add Site Name to column in NewEdit Form using Client object model

I've been able to Get the site name (adding this to editform via CEWP) but I don't know how to modify the script to be able to update the field ProjectName with the Site Name. Any ideas? Thanks so ...
1
vote
1answer
102 views

“Invalid data has been used to update the list item. The field you are trying to update may be read only.”

I have created a custom content type based on the built-in "Event" content type. which have two columns "Start Time" and "End Time" of type Date and Time. now i can add a new item using the quick edit ...
0
votes
0answers
24 views

How to Create Folder with permission while feature activation?

I have created feature with event receiver.When the feature is activated one folder should be created in this path (C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15) when i was ...
0
votes
2answers
41 views

How to add custom CSS to my c# code? SharePoint 2013

I have created a visual webpart and I need to add custom css on it. Example I want to add the following css: .google-visualization-orgchart-node { text-align: center; vertical-align: middle; width: ...
2
votes
2answers
58 views

Retrieve non-mapped attribute from Active Directory using C# code in SharePoint 2013

How can I retrieve a non-mapped attribute from active directory (like Birthday), in SharePoint 2013 using C# code? With "non-mapped" I mean a property not synchronized with the user SharePoint ...
1
vote
3answers
77 views

Get Date of Joining and Date of Birth of all users from Active Directory in C#,SharePoint2013

I want to retrieve date of joining (hire date) and date of birth (Birthdate) of every user from Active directory. How can I achieve this? i tried something like using (var context = new ...
4
votes
1answer
29 views

Project template for SharePoint 2016 is missing

I have installed Visual Studio 15 (Enterprise) in my SharePoint 2016 RTM environment. Thereafter, I have installed Office Developer Tools. Unfortunately, SharePoint 2016 template is missing.
0
votes
1answer
63 views

How to display a photo to Organization Chart?

I have a list like following and I have an organization chart based on this list: I need above the name to be displayed an Image from Publishing Image and it is also Publishing Image column type ...
0
votes
1answer
12 views

Sharepoint 2013 consult get only 100 objects

I have thes JSON, I need to get back 100+ or more items, but json only caught 100 objects : Code: function GalleryContentPopulate(url, listname, target) { var eng = false; var queryGallery = "$...
0
votes
1answer
18 views

Set Allow this document library to receive e-mail in Incoming E-Mail - CSOM

How to programmatically set Allow this document library to receive e-mail in Incoming E-Mail section for Document Libraries in C# code? I could set other Incoming E-Mail properties as follows: ...
3
votes
2answers
685 views

REST API ItemCount on oData BCS List

I have a list generated from a BCS oData provider and I am attempting to get the number of items in the list so I can generate a $top on my request rather than bring back only the 100 item generic ...
0
votes
1answer
36 views

Facing Error while accessing SharePoint site list, The remote server returned an error: (401) Unauthorized

I am getting following error "The remote server returned an error: (401) Unauthorized." While I'm trying to read a website hosted in sharepoint. I have tried following code to access my ...
0
votes
2answers
2k views

FileNotFoundException :<nativehr>0x80070002</nativehr><nativestack></nativestack>

Error related to System.IO.FileNotFoundException. Trying to get Survey 1, Survey 2 from Custom list Survey with 2 Columns: Title Url - Contains URL of Survey 1 or Survey 2 Custom Survey list ...
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 ...
1
vote
4answers
51 views

Get SPListItem ItemsData

I have the list of items in object SPListItem item. Is it possible to extract certain data from the ListItems property? The reason I want to do that is because I have a FieldName "AssignedTo" which ...
1
vote
0answers
34 views

Upload a file and write version history comment using a custom “Author” / "Editor using C#

I'm trying to programmatically upload a file to SharePoint (2016)/ office 365 and modify the Created by /Modified by and also add a history comment along with this operation. The idea is I cannot ...
0
votes
0answers
19 views

Error with Workflow that creates a Task

I've already created two workflows that create a task and both are giving me errors. What am I doing wrong? I've created a workflow that sends a e-mail already and it did just fine. Can I have some ...
0
votes
0answers
36 views

sharepoint hosted App on the site gives this error - Unable to open this page. Try this

I've SharePoint hosted app. When I publish the app in sites, app is not opened but in developer site it works perfectly. And I've activated site developer feature on site where I need the app. App ...
1
vote
1answer
2k 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 ...
1
vote
1answer
1k 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
0answers
23 views

Office 365 Workflow development in Visual Studio

I have some experience with web applicaiton development in Visual Studio and some Sharepoint Workflow development in SP designer 2013. I am feeling a need to develop a more sophisticated workflow than ...
0
votes
0answers
21 views

Error when opening a website in SharePoint Designer 2013

I have a SharePoint 2013 website, and I am trying to open it via SharePoint Designer 2013. I am getting this weird error as shown in the screenshot below: One thing to note here is that, this ...
2
votes
4answers
911 views

Send invitations to Outlook with ICS format from a SharePoint Calendar List

I'm looking for the best way to implement sending invitations from a SharePoint list of events. Scenarios: Create an Event Creation of a repeating event Exception recurrences Delete an event I ...
0
votes
1answer
662 views

Sequential Workflow: The file has been modified by SHAREPOINT\system on

I have a squential workflow that takes Account IDs as plain text from a InfoPath input and converts them into a SPUser field. I can't get the the item to update bc an exception is throw on the Update ...
0
votes
1answer
43 views

SiteUsers.GetByEmail() returns user not found error

I have a custom webpart in which I get the SPUser object from email address, see the code below. It was working fine for like an year now , but since yesterday it gives a "User cannot be found" error. ...
1
vote
2answers
29 views

Follow site programatically

In SP 2013 on prem, I am developing a web part using c#. All my functions work except follow/unfollow a site for a user. So I am turning here for some inspiration, looking for some code snippets or ...
0
votes
1answer
22 views

Show up modal in navbar

I have a navbar where I want to show a modal if I click into one item's Title. So now I show my navbar in JS menupopulator like this: function completeMenu(data, target) { var prefix = "<ul ...
0
votes
1answer
25 views

Grid-view in visual web-part!

I have created a visual web-part and I have a dropdown list and a gridview on it. on c# I have created a query: string selected = DropDownList1.SelectedValue; query.Query = @"<Where>&...
1
vote
1answer
46 views

How to retrive Image URL from Custom List,in sandbox solution using Visual studio(C#)

I'm trying to retrieve image/attachment url from custom list, while I am fetching image url and passing to img tag then it returns true rather Image URL,like src="true" and i want it like src="http://...
0
votes
3answers
11k views

Download files from document library using C#

Task: There are some Excel files or documents on SharePoint site that I need to download to my local drive. I'm a newbie to C#, so please give me directions on how to start and complete my task. I ...
1
vote
1answer
709 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 ...
0
votes
1answer
18 views

Use LINQ GroupBy with SPListItemsCollection

I have a SharePoint list containing some items. I would like to apply grouping to the items using LINQ, preferably with .GroupBy method. This is the list of fields that the list item is consisted of: ...
2
votes
1answer
3k 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 ....
2
votes
2answers
44 views

Problem with RunWithElevatedPrivileges and Context

I'm trying to modify two properties I have in several documents in my SharePoint library. This is the code I use to get into the library: public SPArchiveBDI(string sharepointsite, string ...
2
votes
2answers
1k views

Custom Web Part getting instantiated twice on a Page Layout with WebPartID=“00000000-0000-0000-0000-000000000000”

A specific custom web part is being instantiated twice on a certain page layout, even if it’s only declared once on the page layout. Declaration like this: <%@ Register tagprefix="...
3
votes
1answer
1k 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
910 views

How to create SPQuery by filtering date interval

I have a custom aspx form where I retrieve list items by filtering two values EventDate and EndDate. I have a realization but it returns nothing: DateTime eventDate = Convert.ToDateTime(properties....
5
votes
0answers
128 views

can i access a Custom Property for a term set inside my Search Serivce Query Builder

I am working on an enterprise wiki site collection. and we need to implement an expiry policy for the wiki pages, so if the wiki page is set to be expired or a it is linked to a certain term , then to ...
0
votes
1answer
673 views

Sharepoint list to XML including the headings?

We store data regarding Scrum sprint retrospectives in a SharePoint list. I have to create a chart for visualizing this information (which is not part of this topic/problem), so I need to somehow ...
1
vote
1answer
23 views

Using resx file from javascript code inside elements.xml

I'm looking for changing my title using a file .resx. I thought i'll just have to change title with my resx file for example : title : Resources:MyFile,MyTitle but it's not working <...
1
vote
2answers
658 views

How to get all major versions of List or Library Item using C#?

I have document library which has over 100 items. Each item has over 30 to 40 major & minor versions. I want to get only major versions of particular item programmatically using C#. foreach (...
3
votes
1answer
58 views

SPSite currentSite using try/catch block

What is a better approach when it comes to writing code for sharepoint 2010 applications: using (SPSite currentSite = new SPSite("SiteName")) { using (SPWeb currentWeb = currentSite.OpenWeb()) ...