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
8 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 ...
3
votes
1answer
454 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
15 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
455 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
32 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
29 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
22 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
19 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
822 views

In a SharePoint List I cannot see items that are in a folder

I have a sharepoint list (Not Library), where I am programmatically adding in a folder: SPList list = web.Lists[ListID]; SPFolder parent = list.RootFolder; SPFolder child = ...
1
vote
1answer
499 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
50 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
935 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
820 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
11 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
23 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
13 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
18 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
9 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
23 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
89 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 ...
4
votes
1answer
2k views

System.ServiceModel.ServiceActivationException “A relative URI cannot be created because the 'uriString' parameter represents an absolute”

The client object model code in my application is throwing the following exception. How to solve it?. System.ServiceModel.ServiceActivationException: The service '/_vti_bin/client.svc' cannot be ...
5
votes
2answers
706 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
494 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
5k 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 ...
0
votes
1answer
16 views

Taxonomy access denied

Trying to access the Taxonomy in a SP 2013 solution (VS2012, C#), but always get a access denied (unauthorized access) on the TaxonomySession object if I am logged in as a "normal" user. If I am ...
0
votes
0answers
20 views

Get all group names of logged user exists, using c# SharePoint 2013?

Using SharePoint 2013, how do you get all group names of existing logged users, using c#?
1
vote
3answers
41 views

Adding user to a SP Subsite Group Errors on production server

The Subsite has unique permissions. It does not inherit from parent. The Code just fall over on production server. /// <summary> /// Method to add user to subsite /// ...
0
votes
1answer
483 views

Reference a custom CSS file inside my seatle.html

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

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

Error related To System.IO.FileNotFoundException`,trying to get survey 1,survey 2 from Custom list Survey list HAVING 2 Columns- 1)Title 2)Url :-Contain URL OF survey 1 or survey 2 Custom ...
0
votes
1answer
21 views

How to make page that redirects dynamically based on URL

Sorry for bad title, I really don't know how to describe this problem. Any suggestion is welcome. I have to implement one custom button in ribbon bar in all documents to move files from one doc lib to ...
3
votes
1answer
864 views

Setting an audience from declarative WebPart?

I have a module that deploys some page. I'm adding webparts to these page, using a <AllUsersWebPart> node within a <View>: <View WebPartZoneID="Body" WebPartOrder="5" ...
2
votes
2answers
40 views

Custom Field get wrong display name on custom lists

I've declaratively created around a total of 50 custom fields. They are included in a content type. The problem is when i create a custom list that uses the content type the fields get a missmatch ...
1
vote
1answer
94 views

Get slowest page results programmatically?

We can get slowest page report through following path from central administration. CA > Monitoring > View health reports I want to gather this information by code. Please guide me if you have any ...
0
votes
0answers
50 views

List field manipulation based on rules

he following situation: I have got list (List A) with the following fields. Field A ->String Field B-> String Field C →LookUp to another list Field D → Calculated field Field E On creating or ...
0
votes
1answer
505 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
3answers
24 views

how to get the sitecollection url in ascx file

I am trying to add a hyperlink for a document which is uploaded in the document library. I don't want to hardcode the url by giving the specific sever url like http://xyz:1112/documents/abc.doc. I ...
0
votes
1answer
29 views

Cannot validate SharePoint URL in Visual Studio

Using VS 2013 Update 4. Office tools Udpated. SharePoint 2013 installed locally. I can browse the site as expected. However, when I go to VS and try to create a solution I get this I also cannot ...
1
vote
2answers
561 views

how to update properties of item in doc set with client object model

I've been able to create doc sets and upload files to it with the client object model. I am having difficulty updating the properties of the files in the doc sets. Here is what I've tried: public ...
0
votes
0answers
16 views

List all users on Office 365 using C# [duplicate]

I want to get a list of all users on Office 365 using C# I've seen powershell script, but need it using CSOM
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 ...
0
votes
1answer
22 views

Creating a sharepoint test site from a live site collection

So I have a live site collection that I need to update but don't want to make changes on. What the best practise to do this? Do I create a web app and site collection. Then do a back up of the live ...
3
votes
1answer
34 views

modifying a site column using powershell without affecting its child list columns

I have a site column of type "Text", and users have assign this column a default value at the list level. so now my site column contains null default value, while its child list columns are having a ...
1
vote
0answers
94 views

How to retrieve a SharePoint list item using document ID only

How can I retrieve a SharePoint list item using just the document ID? I am accessing a SharePoint 2013 server (with document IDs enabled) remotely from a .NET application. I do not know which site or ...
2
votes
1answer
2k 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
1answer
41 views

CAML query ignoring OrderBy element

I can't seem to return a set of items in the order I want while using a CAML query. I want to grab the newest item in a specific folder, so I want to query the folder, order it by ID (though I'm ...
0
votes
1answer
867 views

Web service timeout issues

I've seen some posts on timeout errors but nothing I think that will help me. I have a custom web service running on a sharepoint server. It creates site collections and is being called through a ...