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
12 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
17 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
40 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
20 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 ...
0
votes
3answers
23 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
28 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
15 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
0answers
40 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
21 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
32 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
1answer
90 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
1answer
39 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
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
23 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
1answer
20 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 ...
2
votes
1answer
28 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
8 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
2answers
59 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 ...
1
vote
0answers
16 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 ...
0
votes
1answer
26 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 ...
0
votes
0answers
30 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" ...
3
votes
2answers
59 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 ...
0
votes
0answers
18 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
12 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
82 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 ...
0
votes
0answers
16 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
21 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
18 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
0answers
20 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
33 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 ...
1
vote
0answers
31 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
2answers
77 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 ...
0
votes
0answers
26 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 ...
0
votes
0answers
17 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; ...
2
votes
2answers
38 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 ...
0
votes
0answers
33 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
32 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
42 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 ...
0
votes
1answer
27 views

Entity Relationship using Lists in SharePoint

I am creating an application using SharePoint List for storing the data. The data design would pretty much similar like if you are going to put it in a relational database, with items like many to ...
0
votes
1answer
16 views

Target Audiences for a wiki page does not have any effect

I am working on an Enterprise wiki site collection , I have defined that only users inside a SP group named "owners" are the Target Audiences for a wiki page as follow:- but currently all users ...
0
votes
0answers
10 views

Event receiver to update enterprise wiki page's Title once its Name is changed

I need to automatically update the wiki page title when its wiki page name get updated , currently i am doing this using workflow as follow:- so i am checking if the Name != Title, and update the ...
0
votes
1answer
37 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 ...
1
vote
4answers
75 views

Best practice location to deploy CSS/JS/image files

For SharePoint development, I am used to placing all the images/CSS/JS files into the mapped layouts folder (..\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS) using Visual Studio. ...
1
vote
2answers
55 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 ...
0
votes
0answers
6 views

Custom Edit form inside my Enterprise wiki site collection will not include the “Name” field

I am working on an EnterPriseWiki site collection, and using SP designer 2013 i created a new Edit Form based on the EnterpriseWiki content type. but when i checked the fields that are defined inside ...
0
votes
1answer
34 views

Error when trying to edit/delete a copy of the seatle.master master page. “Server error. This file may not be moved,deleted,renamed or otherwise ”

I am working on an enterprise wiki site collection inside SharePoint 2013. and using sharepoint designer i copy the seatle.master and i past it so i get a new master page named seattle_copy(1).master, ...
-2
votes
2answers
32 views

closing “windows.open” [closed]

does anybody knows how I can close a _blank-tab. I have a custom button in my ribbon bar, which should send the URL of each selected list items (not just one). Now, the problem is that I couldn't ...
2
votes
1answer
116 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 ...
1
vote
2answers
39 views

Best practice for updating list data periodically?

I have a SharePoint list that contains a list of all of our company domains and their expiry date. I've been asked to have this list whois each domain periodically and update the expiry date within ...