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

Update user profile property [PreferredName] throws PropertyNotEditableException in sharepoint 2013

I'm trying to update the PreferredName property in the User Profile. When trying to do so I get a PropertyNotEditableException. using (SPSite elevatedSite = new ...
0
votes
0answers
6 views

How to get display names on BDC associations

I'd like to use the BDC model in my SharePoint site and manually call the various methods that are used by BDC (finder, specific finder, and so on). I'm trying to "learn the ropes" so I've created a ...
0
votes
0answers
16 views

How i can remove views from my discussion board List name “Answered Questions” & “Unanwered questions”

I have added a discussion board list inside my team site. but i want to remove some views such as ; Answered question , unanswered questions , etc.. I am not sure if these are standard view or just a ...
0
votes
0answers
23 views

Disable/remove the “Best Reply” link inside my discussion board app

I have added a new Discussion Board APP inside my team site collection, but i do not want users to mark specific replies as "Best Reply".. so is this possible to remove or hide the "Best Reply" link ? ...
1
vote
2answers
45 views

disable event receiver in sharepoint list

Can anyone tell me that how can i disable an event receiver on one SharePoint list while adding an item in other? For example i want to disable event receiver on list B while i add item in list A. I ...
3
votes
2answers
52 views

Modify SharePoint Quicklaunch on Feature Activation

i want to edit the SharePoint Quicklaunch. I put the following code into the Feature Activated EventReceiver. SPNavigationNodeCollection nodeCollection = spWeb.Navigation.QuickLaunch; ...
1
vote
1answer
17 views

SPAuditEntry MachineName and MachineIP properties

I am using the SharePoint Audit Query to build a custom audit log system. For each hit, I need also the machine name or machine IP. On the object SPAuditEntry there are two MachineName and MachineIP ...
1
vote
3answers
3k views

Get context token for SharePoint 2013 provider hosted app (on-premise) with web project hosted on azure

I have an on-premise SharePoint environment for which I'm developing a provider hosted app using visual studio. The web project is hosted an azure. The app project contains a custom ribbon button that ...
1
vote
2answers
2k views

Attach file in CustomList Item using Sharepoint.Client object

Hi is there a way to attach file in specific Custom list item? Currently i tried to add files on the root folder using below code: using (ClientContext context = new ...
0
votes
1answer
21 views

Are SharePoint class libraries backwards compatiable?

I have a solution that will be accessing both SharePoint Online and SharePoint On-Premise. Both SharePoint Online and SharePoint On-Premise require the following DLL's: Microsoft.SharePoint.Client ...
2
votes
2answers
158 views

List files and folders in Office 365 Sharepoint site

I'm hoping I can list and add folders and files to a specific Office 365 SharePoint site using Office 365 client API. (NOTE - I originally posted this Q to StackOverflow and was recommended to ask ...
1
vote
1answer
508 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 ...
1
vote
2answers
13k views

enableSessionState=“true” Done what more to do?

Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom ...
0
votes
0answers
22 views
1
vote
2answers
34 views

How to use Microsoft.SharePoint.Client.File.SaveBinary method?

I want to save a file from document library to local drive. I am using the Client Object model approach model in development. The following is the code that I use: ...
2
votes
0answers
20 views

Enterprise Keywords textbox on a page

I have a question regarding the Enterprise Keywords Textbox. Normally, if Enterprise Keywords are active you can add keywords on new form or edit form, there, when you type they are automatically ...
0
votes
3answers
240 views

Move SharePoint list items into folders that exists in the same list programmatically?

Respected members of StackExchange, kindly help me with your kind suggestions to solve the issue. I have +20,000 items in a SharePoint list that i want to move into the folders that also exists in ...
2
votes
1answer
1k 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" ...
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 ...
3
votes
1answer
439 views

workflowAssociation not displaying workflow

I have created a feature. In the FeatureActivated event I am creating some lists. I am then trying to attach a custom workflow to one of the created lists. However when I do this the workflow history ...
1
vote
1answer
58 views

Save Excel file locally using client object model and C#

I have a scenario where I have been able to get the file that I want to download using a CAML query. I am using client object model approach. I need to save this file locally. Please guide how can I ...
0
votes
2answers
288 views

Looking for an additional feature - Cross site lookup field

We want to implement the cross site lookup in our environment and decided to use the solution available at http://sp2010filteredlookup.codeplex.com. Unfortunately, there is a missing feature that ...
1
vote
2answers
45 views

How do I stop my style from being overwritten?

I'm working on a SharePoint Online Wiki page. I've edited the source on the page and then added the following style container: <style> .ms-core-listMenu-verticalBox { DISPLAY: none } ...
2
votes
2answers
50 views

Get document from document set by caml query

I have a requirement to fetch a single document from a document set. I have 5 different custom content types that have document set as the base type. Each document set has numerous documents. I want ...
1
vote
1answer
34 views

What's the best way to extract data from Sharepoint to SQL server database?

The source data are from MS Project on SharePoint. The business would like to see the updates of MS project near real time. We have the reports pulling the MS project data off SQL server database. ...
0
votes
1answer
27 views

Show Dialog when Input value changes

I am working on a Sharepoint application Page to Uplaod a File to a document libary. The Upload can take a bit of time so I want to display the waiting for it Dialog. I check if all requiered fields ...
0
votes
1answer
35 views

Is it supported to save a sub site as a templete while its site collection has the “SharePoint Server Publishing Infrastructure” feature enabled

I was reading many articles that saving a sub site as a template might not be supported under certain scenarios, even if the "save site as template" link exists for the sub-site. now in my case i have ...
3
votes
1answer
462 views

making an SP.UI print dialog

I'm thinking of adding a print button to my list ribbon , the minute I click on this button a print dialog appears showing the list of the available printers on my computer. so this printdialog i was ...
6
votes
5answers
4k views

Redirect From one app page to another

I am creating a Provider hosted app. In that I have created two different .aspx pages. I want to redirect to the other page. But I am not able to find it out how to redirect. When I check my ...
1
vote
1answer
459 views

Listbox in webpart has no selection

I'm having a problem that's really blowing my mind right now, because it seems like some basic .net functionality isn't working properly. No doubt I'm missing something really obvious. I could really ...
1
vote
1answer
20 views

Get the previous version of a document and set the link to a field

How can I access the link to a previous version of a document in a library and assign that value to the new version of the document? eg. Version 2 has been submitted and I want a link to the pervious ...
0
votes
0answers
38 views

How to change date formating to yyyy-MM-dd

I have got this code: dzienStart = Convert.ToDateTime(properties.AfterProperties["DzienStart"]).ToLocalTime().AddHours(-1.0); dzienStart = Convert.ToDateTime(dzienStart.ToString("yyyy-MM-dd")); ...
1
vote
1answer
37 views

Where to store often used class in Sharepoint 2010?

I have a helper class which is often used in number of webparts. The file contains useful methods. Everytime when I create a new webpart in Visual Studio, I need to import this file into the project. ...
1
vote
2answers
28 views

How to call PowerShellscript.ps1 on SharePoint List list item created.?

Context of Problem: I have a projects list in SP2013 root site collection, when a user creates project item. I have a powershellscript.ps1 file which will carry out following 1. Create subsites 2. Set ...
0
votes
0answers
26 views

Hiding a web part programatically using CSOM

I have gone through this article in MSDN: https://msdn.microsoft.com/en-us/library/office/ee539301(v=office.14).aspx There is no example mentioned to hide a webpart. I am trying to programatically ...
1
vote
1answer
506 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
58 views

SSOM Embed Code when inserting list item

Clicking this button in the list's ribbon, I can properly embed HTML so SharePoint doesn't strip anything out. I have some HTML that I need to insert into a list item field via C# code. How do I ...
0
votes
1answer
939 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
831 views

Problem after transferred a solution from SharePoint Foundation to SharePoint Server

After I transferred my solution from SharePoint Foundation to the production SharePoint Server some features don't work from My project. I am getting error when I try to add another web part or a list ...
0
votes
0answers
14 views

SP Client PoplePicker set Value from Listem Field

I have a Sharepoint ClientPeoplePicker and in my codebehind I want to set the user displayed in it. I get The user from a Sarepoint List Field of the Typ User and Group: SPFieldUserValue userField ...
2
votes
2answers
5k views

Using SPQuery with SPList.GetItems(SPView)

I have a web-part which displays a variety of items in a spgridview based on a SPView. Additionally, I have implemented a search module which when a keyword is entered should get all items that has a ...
0
votes
2answers
50 views

get sharepoint DateTimeControl selected date?

currently i m creating Visual web part , with SharePoint DateTimeControl trying to get select date from DateTimeControl programmatically .. how to get DateTimeControl selected date value.
0
votes
0answers
18 views

SPClientTag parameter in URL is 0

I developed a Provider-Hosted app for SharePoint Online. It worked long time very good, but now I have problems to get the correct SharePoint context. I am using TokenHelper.cs in the latest version. ...
0
votes
0answers
22 views

Why user is able to connect to to site using CSOM when he is not authorized

I am using the following code to connect to a site using CSOM in C# application. ClientContext context = new ClientContext("http://myserver"); Web web = context.Web; context.Load(web); ...
0
votes
0answers
10 views

Problem with domain Login in Sharepoint 2013 get “domain\\login”on VS

I get a problem if I programming on Sharepoint in Visual Studio I geting a login name with two \\ -- "domain \\login" How to lose one \? Please help.
1
vote
1answer
27 views

Archive SharePoint list items with attachments to another site collection

I have a SharePoint list having more than 2,00000+ records. Its an email enabled list. I got a requirement to move items which are of DateModified > 60 to another list having the same template in ...
2
votes
2answers
96 views

SPSite.Exists always returns false

I am trying to determine if a site collection exists, but the SPSite.Exists method always seems to return false regardless if the site collection exists or not. Snipp: bool exists; Uri uri = new ...
5
votes
2answers
734 views

Adding custom colours to the colour picker

Is it possible to add your own colours to the colour picker. If so how do you do so?
1
vote
1answer
499 views

SiteMapProvider for MySites' breadcrumb

My question is regarding the site map provider. I have a breadcrumb in the mysites and i use SPContentMapProvider to build the breadcrumb, but the problem is it always shows 'Home', so if im on my ...
0
votes
2answers
6k 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 ...