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
24 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
28 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 ...
2
votes
2answers
48 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
98 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
58 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
3answers
34 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 ...
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
0
votes
1answer
23 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
47 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
122 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 ...
0
votes
1answer
49 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 ...
2
votes
1answer
476 views

How to programmatically access and manipulate Discussion item and replies?

How to access and manipulate Discussion item and replies? I have a discussion board that has a check box, based on the input I switch the permissions of that discussion post for a specific user (from ...
0
votes
0answers
17 views

Custom site columns created & deployed using visual studio did not appear inside my site collection [duplicate]

I have followed the same steps mentioned inside this MSDN article for creating site columns using visual studio https://msdn.microsoft.com/en-us/library/ee231593.aspx . now inside my visual studio i ...
0
votes
1answer
27 views

What determine if a farm solution need to be activated at each site collection or not

I am totally confused on how WSP files need to be deployed and activated inside SharePoint 2013.now I have the following three scenarios where i dealt with WSP files inside my SharePoint 2013 :- I ...
0
votes
0answers
24 views

Creating custom site columns using Visual studio will not show the new site columns [duplicate]

I want to create new site columns using visual studio, so i did the following steps:- create a new SharePoint 2013 empty project. i add two site columns as follow:- <?xml version="1.0" ...
0
votes
0answers
60 views

Adding a custom ribbon tab breaks grouping by function in sharepoint list

So, I found this tutorial online as to how to add a ribbon tab in sharepoint 2013. While it works, whenever I add an OOb library or list and use grouping in that list, the items cannot be expanded but ...
0
votes
1answer
23 views

Creating site columns using Visual Studio

I am in a situation that i need to create 2 site columns named "Asset Type" of type "Drop-down List" that have the same name (Asset Type), but different choices. But using the CA UI i can not create ...
0
votes
2answers
90 views

C# : Access denied reading SharePoint groups from context user

I've made a SharePoint Provider Hosted App. Into the App Web Project, displayed through a Web Part in my SharePoint Page, I have a web page named Default.aspx. On this page I have a button, on which ...
2
votes
1answer
30 views

Can't Open file binary in SharePoint.Client

This bit of code works for me: Microsoft.SharePoint.Client.File file = ctx.Web.GetFileByServerRelativeUrl(@"/Shared%20Documents/Email%20Body.html"); var _stream = file.OpenBinaryStream(); The ...
0
votes
0answers
21 views

Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain

I have two different SharePoint webparts which are working fine on development environment, but when I deploy their wsps on production environment it gives me the error which shows that the production ...
0
votes
1answer
36 views

How can I get user information from user ID?

I am writing a very small C# console app and I am making an HttpWebRequest to get the list items in a task log and send a daily summary email to everyone with something 'assigned to' them, showing ...
1
vote
0answers
17 views

Is there a way to preserve the Content Type Hub 's column setting (such as drop down choices) when using the CT inside a new site collection

This is my first time where i use Content Type hub. but i found this scenario which i can not understand:- i create a new Site collection (CSA) which act as a Content type hub. inside this CSA i add ...
3
votes
2answers
80 views

SharePoint 2013 Custom Timer Job - Unable to schedule to execute every 3 hours

I have a timer job that needs to be executed every 3 hours. Unfortunately, SharePoint's scheduling classes do not facilitate this. How can I achieve this? Suggestion 1: Thought of running the timer ...
11
votes
1answer
1k views

The remote event receiver callout failed

I've created an AppEventReceiver for my High Trust Remote app, when I deploy the app through Visual Studio 2012 I get the following error The remote event receiver callout failed The HTTP request is ...
0
votes
0answers
37 views

EventHandler for one «save» button, not more

I have a list-form aspx-page with codebehind. On this page are inserted two «SharePoint:SaveButton»-buttons "Save" with different id. <SharePoint:SaveButton runat="server" ControlMode="New" ...
0
votes
0answers
19 views

Update Editor for specific version

i want to update the "Editor" for a specific version of an item. It´s no problem to update the "Editor" for the whole item, but i need it for a specific comment / version. This is my code: ...
0
votes
0answers
13 views

Is it possible to edit .resx file manually?

I have a resourcefile in the SharePoint 14 hive called SPMailRevision.resx. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Resources\) I have a solution that refers to this ...
1
vote
2answers
91 views

Programmatically set the description field of a URL in a Links List

I have created a console application which creates a site collection and updates a links list in an existing sharepoint site which acts as a site register. The code for adding a new entry to the list ...
2
votes
2answers
3k views

Create list from custom template using csom, c#

I would like to create a list based on a template (.stp uploaded to the list template gallery), it almost works with this code: ClientContext context = new ClientContext("<Your Site URL>"); ...
0
votes
2answers
770 views

Upload attachment in a document library using c#

Our client is running CRM and SharePoint and they would like to upload attachments from CRM into SharePoint 2013 Online. I started searching the web for some help and I came to this Microsoft page. ...
0
votes
0answers
19 views

Timer job disable

Can I raise some kind of event when a timer job has been disabled from central admin? I need to logwhen a user disable a timer job. (without removing a feature)
0
votes
2answers
38 views

the type or namespace name 'runtime' does not exist in the namespace

I'm writing a deployment application to programmatically deploy site collections and apply templates and master pages. When I try to build the application I get a bunch of errors about a missing ...
1
vote
0answers
28 views

Programmatically get usage statistics for lists and items

I understand it is possible to get usage data for the web and a site collection, however, is it possible to get detailed usage data for every list in a site and every item in those lists ...
1
vote
2answers
64 views

Can i create 2 site columns that have the same name

I need to create 2 drop-down lists site columns named security, but which contain different choices. one drop-down is used for manager sub site, while the other is used in staff sub site. now seems ...
1
vote
0answers
28 views

Actions on tasks displayed on the gantt view

I want to know if it is possible to drag and drop tasks in the gantt view or resize.
2
votes
1answer
36 views

CustomSolution Error - Object reference not set to an instance of an object

atm I'm implementing a custom solution in our SP 2010 farm to receive emails on an specific custom list. With the following code it's possible to add one entry, with an email-body contains one line ...
8
votes
6answers
29k 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
2answers
46 views

How can I remove excess code in Content Query Web Part Body text on Home page?

I have a Content Query Web Part added to a SharePoint 2010 site home page. I've got it set to pull in all Announcements from all sub sites. I've set the content to pull in the Body content of the ...
0
votes
2answers
107 views

Get List Column names C#

I want to Iterate through all List items and its columns names without hard coding the columns names. I only need columns names visible in Sharepoint list settings. but below code is giving me too ...
1
vote
0answers
59 views

How to get the correspond listItem from the last major version of a file via CSOM

I am trying to get the last major version of a file in a sharepoint-list by using CSOM with the following Code: var web = clientContext.Web; var list = web.Lists.GetByTitle("MyList"); ...
0
votes
1answer
45 views

Send task mail notification programmicaly

I have a case, where I need to change task Assigned To field value. And when it is changed, then it should send notification to new person. Here is the question, is it possible to send (resend) Task ...
0
votes
2answers
111 views

Create lookup field with additional columns with Provisioning Engine CSOM C#

I have a template.xml with some columns, content types and list. I have a lookup column call Fase that comes of the Fase list and this list has a Orden Column. I need to add Orden field as an ...
0
votes
0answers
50 views

Calling codebehind method for javascript

i need to popluated a dropdonwlist in my Sharepoint app page. I wote a C# function for that. The Function should be called when a ModalDialog gets closed. In the callback function i change the value ...
2
votes
1answer
148 views

Rename the uploaded document in document library using the client side object model

I already uploaded the document in SharePoint document library using CSOM. Now I need to Rename the uploaded file using CSOM, how to achieve this via CSOM? pls look the code below and do the need ...
0
votes
0answers
22 views

SharePoint dialog box send javascript object

I am opening a dialog box like this in javascript, i want to pass object back to asp.net application page, but not sure how, var options = SP.UI.$create_DialogOptions(); options.url = url; ...
0
votes
0answers
55 views

Timer Job property bag empty

I need to set some properties in the timer job property bag In the FeatureActivated event I use this code to set the property: MyJob job = new MyJob (JobName, webApp); // Set my custom property! ...
1
vote
0answers
43 views

Strange behavior appears when using Updatepanel on web part in Sharepoint 2013

Strange behavior appears when using Update-panel on web part in Share-point 2013. In FF and Chrome post-back leads to full page refresh after small idle between requests (around 2 minutes). Example: ...
0
votes
1answer
73 views

SharePoint 2013 C# get all websites and sort alphabetically

I am currently building a visual webpart for an on premise SharePoint farm in C#. I am currently able to get all of the webs and also get all of the list items within each web, using the CAML Query I ...