The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.

learn more… | top users | synonyms (3)

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
10 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
27 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 ...
0
votes
1answer
630 views

Retreive Items from SharePoint list using c# client object model

I am trying to retrieve the Author and Editor column values of a sharePoint list using C#(SharePoint client object model). Instead of displaying the value of Author field, it is getting displayed as ...
0
votes
1answer
1k views

Creating an Approval workflow based on the list values using visual studio 2010

I have a list with the company name, business process and workflow initiation. The Business Process could be Purchase Order/ Leave Request. Workflow Initiation is a radio button which could be ...
3
votes
2answers
61 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
33 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
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
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
84 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
2k 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
736 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. ...
2
votes
1answer
1k views

Error: Unexpected response data from server - user Profile properties displays

I get the mentioned error message when i try to display the User Profile properties by using JSOM(Java Script Object Model) Error: Unexpected response data from server. The error occurs for around 1 ...
0
votes
2answers
980 views

How to change a date format in CAML

I got a wrong date format to a CAML. I have got (yyyy-mm-dd) and must to be understand by CAML to the format(dd-mm-yyyy), how can I do this. I tried by String.Format("{0:yyyy-mm-dd}", dateISO1);, but ...
0
votes
0answers
17 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
24 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 ...
2
votes
4answers
1k views

Is it possible to read a sharepoint website using C#

I am new to sharepoint technology. I want to know if it is possible to read a website hosted in sharepoint. I can see that page after I log in. Can I do that in C#? And do I have API to do the log in ...
1
vote
0answers
20 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
57 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
24 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
35 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
28k 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
43 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
80 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
34 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
40 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
96 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
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 ...
2
votes
1answer
119 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
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 ...
1
vote
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
1k views

InfoPath code to delete all rows of repeating table and then add back one default row

I have the code on a clicked event to reset a repeating node (deleting all existing rows - see code)... I am looking for the best way to add back a default row. I tried using xmlwriter, but this ...
1
vote
1answer
453 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 ...
0
votes
0answers
20 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; ...
6
votes
4answers
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 ...
0
votes
0answers
34 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
45 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
215 views

Updating List View Web Part property in page

I have a List View web part (In the page > Add web part > App > document library name). I need to update the TitleUrl property of this web part through C# code. The SaveChanges() method below works ...
0
votes
1answer
907 views

Getting fully qualified FieldUserValue instead of actual user name from SharePoint

I'm working on my first C# program, and it's a pretty simple program that uses a view of a SharePoint page to go through and delete things that are older than 5 days on that page. Before deleting the ...
0
votes
1answer
28 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 ...
1
vote
4answers
79 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. ...
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 ...
1
vote
0answers
37 views

JQuery does not work anymore when refresh the page SharePoint 2013

I want to change value of span by jquery (selecting by ID and CSS). The script works, but when I refresh the page, it does not work anymore. I want to change the value 0 which CSS is ...
3
votes
1answer
451 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 ...
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, ...