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

learn more… | top users | synonyms (3)

5
votes
2answers
3k views

How do I remove all users from an SPGroup object?

I have an SPGroup object populated, how can I remove all members from the group, so that essentially I start with a fresh group. I can't delete and recreate it, so I need a way to work with the ...
1
vote
1answer
26 views

After adding mapped Layout folder in Visual WebPart project showing null reference error in Sharepoint 2010

I wanted to use css file to my visual WebPart. Developing it in VS2012. Initially worked fine without .css after deployment. After following steps here, updated the .wsp. It is also working fine. But ...
0
votes
1answer
40 views

Console application triggering event receiver

I have console application collecting data from SQL and either creates or updates the item in a SP list. I have added an event receiver to that list, this triggers if an item has been updated and ...
0
votes
0answers
19 views

How to store null Value in sharepoint listitem

I have total 5 textbox and 2 textbox value are mandatory, remaing are not mandatory. If user does not enter value in not mandatory textbox then store in list null value of those textbox. But not ...
1
vote
1answer
18 views

SPHierarchyDataSourceControl permissions

I am new in developing sharePoint. I try to use SPHierarchyDataSourceControl of sharepoint to display a SPTreeView of all sites, doclibs and folders in my site. I set the property "Web" to ...
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 ...
0
votes
3answers
50 views

Application page as home page

I am developing a SharePoint 2010 Project totaly in Visual Studio and C#. I do not want to use SharePoint Designer and configuration via browser. I need to set a LAYOUT page (application page) as ...
0
votes
0answers
25 views

How to customize Job timers SharePoint 2013?

I have created a job timer using visual studio, it is going to execute every month. And in a list it creates 1 new item per job timer execute. But the problem stays that if I change the date-time i.e ...
1
vote
1answer
760 views

Getting the User Profile Picture URL by E-Mail via CSOM

I've seen many questions about how to achieve the User Profile Picture URL via the CSOM (Client-Side-Object-Model) API. However none of the solutions worked or they required the Account Name of the ...
0
votes
0answers
13 views

How to get all the files and folders in the SharePoint Document Library using client object model [duplicate]

How to read all the files and folders in the SharePoint Document Library using client object model? I need to read all the files and files in the sub-folder's. Thanks in advance.
0
votes
1answer
38 views

How to define department roles hierarchy in SharePoint 2010 and get user's Manager information in c#?

Having the SharePoint site where need to configure the access to the lists and libraries according the roles and permissions. How to define following hierarchy in SharePoint 2010 site. What groups I ...
0
votes
1answer
57 views

Use Current User's Credentials for SharePoint Online C#

I am currently using my account's credentials to run some custom code in my SharePoint Online provider-hosted Add-in. I am passing the credentials this way: SecureString passWord = new ...
4
votes
1answer
71 views

What is the best custom C# Library for REST API

I'm going to write a lot of code that works with SharePoint lists and libraries over REST and C# (HttpClient) I want to create or find helper classes that help me do the following tasks over REST: ...
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 ...
0
votes
0answers
19 views

How can I add my custom App Part to the front page?

I've created a custom app-part and published it to the catalog that I'd like to add as an app-part into a page. I've added the app to the site but it isn't showing when I try to insert it as an App ...
1
vote
2answers
857 views

How to Create WF with C#

I have learned about Workflow by dropping and clicking and the next phase is learn how to create WF with C# based this link ...
0
votes
2answers
1k views

Reference a custom CSS file inside my seattle.html

I want to reference a custom CSS file inside my seattle.html file. currently I find the following in the default seattle.html master page: <link ...
0
votes
1answer
28 views

I would like to create a customize grid view on a sharepoint page in SP2013

I would like to create a customize grid view in SharePoint using a list that has already been created. the tools I have to do so are SharePoint designer and a CEWP. I have some coding experience but ...
1
vote
1answer
681 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
0answers
14 views

How to create a save button in infopath form?

I have an infopath form that submits to a sharepoint library. I have also created a button to submit for which works fine, for every time that is clicked a new form will be save with a unique name in ...
0
votes
3answers
26 views

Changing VS 2012 Ultimate to VS 2012 Professional, is there any impact on SharePoint?

In SharePoint 2013 Uninstalling VS 2012 Ultimate & installing VS 2012 Professional on SharePoint 2013 server, will it impact existing applications development on SharePoint 2013?
0
votes
1answer
35 views

Users getting access denied, until secondary alias is set

I am facing a bit of a strange issue, let me try to elaborate. There are three users Normal user Admin user Secondary admin Pro-grammatically I am provisioning site collection using below code: ...
0
votes
2answers
16 views

How to set permission to Control in WebPart in this scenario?

I am having the Visual Webpart in VS2012 for SharePoint2010 site. On this webpart there is Publish button. I want to make visible and enabled to HR Group.What Permission I need to set for HR Group ...
0
votes
1answer
38 views

Programmatically read Excel file in SharePoint 2013 sandbox solution gives permission error

SharePoint 2013 server, I'm site collection administrator. I've copied an Excel file into documentlibrary, I like to read the excel file and update custom list with the Excel values. I've got the ...
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
1answer
793 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 = ...
2
votes
1answer
2k 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 ...
1
vote
0answers
14 views

2013 CSOM development-accessing List directly as user doesn't have permission to access teamsite

I want to perform CRUD to a list from a console app or Asp .NET website. I am granted access to the list, but not the team site: accessing this ...
0
votes
1answer
600 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 ...
0
votes
1answer
92 views

Upload files to SharePoint using C#

I'm trying to upload files to a folder using SharePoint and C#. I managed to create folders with my code and it works fine. This is my Document class: [DataContractAttribute] public class Document ...
-1
votes
2answers
33 views

How to refresh a sharepoint list from C# console application

Is there any way to refresh a sharepoint list from C# console application. (NOTE: By refresh I mean the same that we achieve by doing a Ctrl + F5).
0
votes
0answers
16 views

How to get manager email id of selected user in people picker control?

I want to send mail to selected user in people picker control and CC to the his manager. Able to send the email to user. But how to get his manager email Id in C# Web part? Basically How to distribute ...
4
votes
0answers
44 views

SPView.RenderAsHTML() Paging and Filtering not working

I have displayed a sharepoint list view on webpart using SPView.RenderAsHtml() method with following code: System.Text.StringBuilder sb = new System.Text.StringBuilder(); SPList list = ...
7
votes
4answers
20k 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
1answer
39 views

How to edit a SharePoint WebPart backend code

I am not a SharePoint Developer but I have a background in programming. And now, can someone please help me on how to edit a SharePoint Web Part? I am using SharePoint designer and what I can only see ...
0
votes
1answer
15 views

SP07 - Get items from choice textbox and insert into DropDownList (-programmatically-)

I have a list(WayBill) with column(ProdyctType). I need to get this items and input then into dropDownList. This is my columnType in SP07: This is my code: protected override void ...
0
votes
0answers
32 views

Ideas from experience SP Devs

just started SP dev and bludgeoning through a bit as im self learning. Just wondered if anybody had any pointers on a couple of things I want to do: I have a custom choice field in a list. This is ...
1
vote
1answer
43 views

Where do I get started on building an HTML5 form in SharePoint?

Working on a project to build an HTML5 form within SharePoint that will read and write to a SQL database. Can't find much online about how to get this implemented. I am very well versed in HTML and ...
0
votes
0answers
11 views

Does the SharePoint 2013 REST API support syncing of Users and Groups?

The SharePoint 2013 REST APIs enables callers to synchronize SharePoint items using the GetListItemChangesSinceToken resource As the resource name suggests, a call to it will return changes to list ...
1
vote
4answers
59 views

How to give one ID to Set of web parts in SharePoint?

I am trying to show/ hide set of web parts on click. I already wrote the coding and I can hide/show web parts one by one on click and the reason is that each web part has unique Id. Now I am facing ...
2
votes
2answers
3k views

How to add content to Content Editor Webpart programatically?

So I have the standard Content Editor Webpart (MSContentEditor.dwp). The title i can set via webPart.Title (MSDN). I can't find any property where I would set the content editor's content. I ...
1
vote
0answers
11 views

Weird workflow problem with custom activity

We have a Visual Studio workflow that I built with VS2013 and running on SharePoint 2013 (it is a SP2013 workflow). The workflow is an application for leave, and after it had been in use for a few ...
0
votes
0answers
23 views

Replace SharePoint 2013 Discussion Board Username by FullName

I need to replace the default SharePoint 2013 discussion board Addedby/Author/RepliedBy field(currently it is username) in to custom field example user's Full name. I am using FBA authentication to ...
0
votes
1answer
25 views

Programming in sp2013

What is the best way to edit the sp 2013 html/css and js? Currently i am using a text editor, and then uploading the newly edited code to the sp site. Is there not a better and more effective way to ...
2
votes
1answer
68 views

Get all users who have permission to a specific folder

I am working with SharePoint 2010 . I have a folder in my SharePoint document library. I am trying to get the users who have any permission or role to that folder programmatically. But can't find a ...
3
votes
3answers
2k views

How can I implement SharePoint JSGrid filtering and grouping functionality?

I am working on SharePoint JSGrid. I am able to implement the sort functionality in JSGrid. Now I want to implement the grouping and filtering in my custom JSGrid. For filtering we have to attached ...
3
votes
1answer
59 views

Is it possible to write any c# or server side code in SharePoint hosted app?

I want to render some code dynamically so is it possible to write any c# code in my SharePoint hosted app? And if not, then what are some alternative approach to achieve such goal?
0
votes
1answer
80 views

Page Viewer Web Part will not work when i access my SharePoint sites using https

I am working on sharepoint server 2013 web application. and i added a Page viewer Web part which is showing an external system. the url for the external system is (http://HRWebApplication). now when i ...
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 ...
2
votes
4answers
681 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 ...