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
1answer
38 views

Replace top link navigation in SharePoint 2010

What it is the recommended way to replace the "top link navigation" by hardcoded links? (in SharePoint 2010)
0
votes
1answer
18 views

Dynamically build url to documentset homepage

I have some methods using CSOM that are being called form an external program. In one of these methods I check if a document set exists on a certain location, and if it does I want to return the url ...
3
votes
3answers
258 views

How to retrieve profile-picture and workphone from user profile

How can I get profile image from spuser and also phone? Guid fieldID1 = item.Fields.GetFieldByInternalName("User").Id; string valueField1 = item[fieldID1].ToString(); SPFieldUserValue userField = (...
0
votes
1answer
22 views

How to change the Theme for Team Discussion in hierarchical manner?

I need to show standard theme for the Team Discussion on my page. Is there any way to change the theme for Team Discussion Webpart? Also Is there any place where I can get ready-made CSS and themes ...
13
votes
7answers
43k 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
55 views

How to use SMTP configured on SharePoint 2010 server in custom WebPart to send email?

The outgoing SMTP is configured to the SharePoint 2010 server. Where as in my custom webpart, need to use the configured settings to send email from webpart itself. Is there any mechanism in object ...
0
votes
0answers
27 views

SP2007 - dynamically add/delete rows from SPGridView;

I want to create GridView like this : This is code for my UI: <asp:gridview ID="Gridview1" runat="server" ShowFooter="true" AutoGenerateColumns="false"> <Columns> &...
0
votes
0answers
9 views

SP07 - Create GridView with dynamic Rows in C# Class Library [duplicate]

HI everyone. I need to create GridView with dynamic Rows(add/delete) in C# Class Library on SharePoint 2007. I need this ASPX code : <asp:gridview ID="Gridview1" runat="server" ShowFooter="true" ...
0
votes
1answer
30 views

How can I display the current SharePoint user from a c# Web Form hosted on IIS

I'm stuck on my project. I have Web Forms published in IIS that are shown in SharePoint 2010 site. From that Web Form, I want to show the current user in SharePoint. My solution is from [http://www....
0
votes
0answers
22 views

Gridview in a Webpart and its lifecycle

Please consider that i am new to developing with sharepoint and also that the code isnt mine. I only have to bugfix it. This being said now to my question. I have a problem with a custom Gridview ...
4
votes
2answers
136 views

Check if user profile exist programmatically

I am trying to get user profile image from user profile. Here is my code sample: SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new SPSite(...
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
37 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
48 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
21 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
22 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
3answers
73 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
27 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 ...
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
50 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
221 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 SecureString()...
4
votes
1answer
89 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: ...
0
votes
0answers
26 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 ...
0
votes
2answers
2k 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 href="http://sharepointdev:12341/sites/mirror3/...
0
votes
1answer
41 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 ...
0
votes
0answers
24 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
44 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
22 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
93 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 ...
1
vote
0answers
21 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 https://mycompany.sharepoint.com/teams/teamname/a/b/...
0
votes
1answer
112 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
46 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
27 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 ...
3
votes
0answers
64 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 = web.Lists....
7
votes
4answers
22k 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
46 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
16 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
37 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
53 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
13 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
71 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
13 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
34 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
28 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
84 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
1answer
78 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
166 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
41 views

How to handle currency values correctly in CSOM?

I have a currency field inside a SharePoint List. When I retrieve that field the result type is "double". As it should be according to the documentation. But we all learned that double is a bad ...