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

learn more… | top users | synonyms (3)

1
vote
0answers
633 views

The remote server returned an error: (401) Unauthorized. Using CSOM in ASP.NET MVC 4

I'm trying to pull data through SharePoint 2013 BDC Models that I have imported from my ASP.NET application which works fine when I run either locally on my machince or locally on the server. ...
0
votes
0answers
74 views

Simultaneous update, delete and add a list item to a sharepoint List object

In the MSDN documentation for C# CSOM, there are separate examples for adding, updating or deleting a single list item from a sharepoint list object (ListItemCollection) Is it possible to combine ...
1
vote
0answers
44 views

CAML Query scheme in depth

I have a plan to develop my own version of the CAML builder app - as a pet project and in order to improve this field. :) It would be nice to support all the capabilities of the CAML query scheme ...
0
votes
2answers
45 views

How can I compare the date of files with REST query?

I am using SharePoint OneDrive for Business and connected to this storage REST API. And I need to get metadata only files created or updated after some concrete time For example, I need all files, ...
0
votes
3answers
187 views

Can we create Excel file using c#?

I would like to know if it is a good idea to create an excel file using c# in sharepoint? I've tried to find js libraries but despite ExcelBuilder which seems really complicated to use i can't find ...
0
votes
1answer
55 views

CSOM list item manipulation

Short and sweet : I'm parsing an XML document and adding new job openings into a sharepoint list as well as deleting them if the job id's and deleting them if the particular job id is not present in ...
0
votes
0answers
34 views

Is it possible to diplay dropdown on the SPGridView in SharePoint 2010?

Have created the Webpart based on - http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview It does work however, the region column should be displayed as a dropdown as it is ...
0
votes
0answers
170 views

Why edit option is not working on the SPGridView in SharePoint 2010?

Have created the Webpart based on http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview It does work however I want display the results based on the filter value as below it ...
1
vote
1answer
38 views

Data Retention in sharepoint 2010

I had uploaded a document in document library and had given data retention period as 1 day then i had run two timer jobs information management policy and expiration policy that document got deleted ...
0
votes
0answers
94 views

Sharepoint OneDrive for Business and C# WPF Windows 7

I have a question and I would appreciate for your help. I have WPF C# desktop application (windows 7) . And I want to connect to OneDrive For Business (SkyDrive Pro) account and to get the files from ...
0
votes
2answers
89 views

Custom webpart to display HTML form which supports adding additional dataRow on the fly?

Would like to build a WebPart which will display an HTML form(allow the users to add the data rows as many as required) and will insert the data into the SharePoint list on the submit (based on ...
4
votes
2answers
150 views

How to get only custom fields from a list?

I am working with the Client Side Object Model. In a console application I am retrieving all fields from a custom list. The problem is the Clientcontext fetches me a bunch of internal fields I do not ...
2
votes
1answer
383 views

Resource Time Tracking template in SharePoint 2010?

Do we have any free SharePoint 2010 solution to track the resource efforts? Something like:
1
vote
1answer
41 views

Has anyone embedded C# code in a SharePoint Content Query XSL?

Has any ever tried calling an embedded C# function from within content query XSL? Contrived example: The exception in the SharePoint log is: System.Xml.Xsl.XslTransformException: ...
0
votes
1answer
82 views

Can't delete SPWeb from PowerShell or C# Object Model

I have a very strange situation - two sub webs were created through some code but it errored out part way through the process and now I am left two webs I can't seem to delete. The strange part is ...
0
votes
2answers
25 views

numeric column to autofill

I created a column for a number and I selected default value and populated the box with 180. I does not fill the field with the default. How do I autofill?
0
votes
0answers
38 views

sharepoint web service set approver emails to approval workflow

I am developing sharepoint 2010 and I would like to call approval workflow remotely. I am doing it via web service with ...
1
vote
1answer
425 views

Find a farm's database server and instance in PowerShell

Through PowerShell, how can I find the SQL server name AND instance where my databases are stored? Assuming I am not using an alias and can't check cliconfg. In servers in farm, I can see the server ...
0
votes
0answers
67 views

How to change From email address from workflow 2010 using custom action?

I want to change the From Email address when I send email from my workflow. I have used the CodePlex reference. Code which I have use to change the From address is as below. MailMessage mail = new ...
0
votes
2answers
64 views

Add file to subsite with C# knowing only URL?

I would like to use C# to add a file to a library in a subsite. I believe SPWeb will only reference the site I am on. In an ItemAdded eventreceiver, I want to use something like SPFolder ...
0
votes
0answers
18 views

How do I list sites from a SPServiceApplication?

I need to enumerate all Project Server Sites into a user interface based on a SPServiceApplication. How can I do this using C#? Also I need some common way to do this because I have similar ...
0
votes
1answer
43 views

SPFile.OpenBinary method from URL

I would like to use this method to get the byte information from a document based on its URL so that I can copy it to a new location. I have only seen examples using file.OpenBinary(); where file is ...
0
votes
1answer
279 views

How to get plain text out of a multi line text field in Client Side Object Model?

I am trying to read plain text from a MultiLineTextField in a List. This is how my code looks so far: //Get connection ClientContext context = new ClientContext("URL"); Web site = context.Web; ...
0
votes
0answers
39 views

Use Dictionary from WCF in External Content Type

Is it possible to use a Dictionary which is returned from a custom WCF Service for an External Content Type in SharePoint (2013)? So far I was not able to use a Dictionary in SPD because I cannot ...
0
votes
2answers
56 views

SharePoint Jquery Condition

I am very new to SharePoint development and code. I do have a requirement to have a conditional Jquery in SharePoint list form. In a list there are 5 columns/fields and all are text type. If a user ...
0
votes
2answers
41 views

Sharepoint 2010 Application Deployment

I have a VS2012 solution with a few visual web parts in it. When I run the project it deploys it to my local server and my web parts are available for my local sharepoint. How can I deploy these new ...
0
votes
1answer
142 views

How to Attach file to Outlook Application

I am trying to attach a file to outlook Application using java script.Its working fine in IE 10 and above but not in any other browsers. Here is my requirement. For Document Library a. When a user ...
3
votes
1answer
782 views

C# using REST to update a list item in an ASHX page

We have an existing ASHX page in our 2010 farm that users hit to pull in some RSS data. I'm wanting to do some tracking on the usage of this page. I don't want to IIS log parse for this so my thought ...
0
votes
2answers
68 views

SharePoint Online DEV and UAT Environment Set up

We have recently moved to Office 365 and as part of this we have started using the SharePoint Online. I need to set up both DEV and UAT environments and start Developing few Webparts, Workflows and ...
-1
votes
1answer
192 views

how to upload the excel file to sharepoint office365

I have to upload the files[excel] to share point server(online) office 365, using .net c# code only i have only the destination url and excel files. note:I dont have the sharepoint installation. ...
0
votes
2answers
58 views

How to programatically get a link to custom timer job settings?

I have created a custom timer job and deployed it to all web applications. In a custom central administration application page, I would like to show links to this timer job (e.g. 2 links if there are ...
1
vote
2answers
83 views

Advance Search For Find Document with Column

I have a Document Library that contain large number document with four kind of content type. My Documents Contain specific column that inherit from content type. Now I need to design an advance search ...
3
votes
1answer
168 views

Retrieve approvers from SPD Approval workflow programmatically

I have configured SharePoint OOTB Approval workflow on a library. In workflow I have added 3 stages of approval and 1st stage of approval is completed so workflow is in 2nd stage of approval. Now I ...
0
votes
0answers
75 views

Fire events on TIME changed in date picker

I am making a visual web part that has a date and time picker. Essentially, I would like the first of two date pickers to update the second date picker as long as the second one has not been modified ...
0
votes
0answers
66 views

Excel rest request in C# gives unauthorised exception

I'm trying to call an Excel rest request through my C# console program. the problem is that every time I put in my login details in the console and the request is sent. I get an unauthorized exception ...
1
vote
0answers
59 views

sharepoint programmaticaly add list item under current user 0x80070005 (E_ACCESSDENIED))

Please help me. In our company, we developed an application under the Apple device to work with the company's internal services , including it in this application it is possible to send messages to ...
0
votes
0answers
89 views

Excel Rest c# program giving error

I'm facing these issues while I'm trying to compile a simple example of using the excel rest API: Error 4 The type or namespace name 'RangeResponse' could not be found (are you missing a ...
1
vote
1answer
70 views

Test-SPContentDatabase doesn't return information

I run Test-SPContentDatabase like this: public string Test_Associate(string DbName,string UrlApp) { Runspace runspace = RunspaceFactory.CreateRunspace(); // open it ...
0
votes
1answer
82 views

run SharePoint management shell with c#

I have some ps1 that I need to run it with SharePoint management shell. I dont have the possibility to run it with the traditionnal powershell even i havce the administrator role : public string ...
0
votes
0answers
25 views

How to create WebPart configuration page

I want to make my WebPart configurable by the configuration page, instead of standard toolpart. What I want to achieve, is that after opening the standard configuration of the webpart (Edit Page=>Edit ...
4
votes
4answers
554 views

Custom Sign In Page has an SPContext.Current that is always null

Important Update (based on feedback received so far) I do not have Visual Studio installed on the SharePoint 2013 Server. All code is compiled in Visual Studio 2012 remotely using references ...
0
votes
1answer
144 views

Visual Web Part as consumer of PPS Filter Provider

How do you turn an existing Custom (Visual) WebPart into a WebPart that is a Consumer-capable WebPart of Provider WebParts? References are applenty but very few are actual design patterns that ...
0
votes
0answers
126 views

Is it possible to show a 'My Activity' web part on a SharePoint site if 'My Sites' is not available?

Is it possible to show a 'My Activity' web part on a SharePoint site if 'My Sites' is not available? For example, say there's a SharePoint installation dedicated to particular (custom) SharePoint ...
0
votes
1answer
54 views

Unable to trigger workflow

A sharepoint info path form calls this ASMX web service. The webservice inserts items into a sharepoint list like so... item["Area"] = Area; ...
1
vote
5answers
392 views

How do I get SPUser Object?

I'm unable to get SPUsers/user. As an example I have here a User (Approver): <User ID=\"31\" Sid=\"\" Name=\"Approver\" LoginName=\"i:0#.w|domain\\approver\" Email=\"approver@domain.se\" ...
0
votes
2answers
88 views

How to read and output the XML within an SPFile?

I have this line of code that retrieves an XML file and saves it as an SPFile object SPFile XMLFile = SPContext.Current.Web.GetFile("C:\\Users\\maleem\\Documents\\XMLTest.xml"); I want to get the ...
0
votes
1answer
181 views

Can I deploy a sandboxed solution from Visual Studio to SharePoint online?

Apps are great for many things but hosting a service for a one-off customization of a host web seem a little overkill. I want to use a sandboxed solution for things like branding and data structure ...
0
votes
0answers
122 views

Office 365 Client Object Model, Unauthorized Exception

I have been trying to read the contents of a list from a Office 365 site. I used this link as reference. Code: var clientContext = new ClientContext(siteUrl); SecureString passWord = new ...
0
votes
4answers
115 views

How to develop/test Sharepoint functionality on a desktop machine?

so far I have very profound knowledge in C# developement of desktop applications with Winforms. Now my task is to learn sharepoint. But there are some points I do not understand. As far as I got it ...
0
votes
0answers
29 views

Mapped taxonomy field value

I have a taxonomy field that has 2 subcategories and each subcategory is having their own child categories. If my taxonomy field is mapped with to 'Category B' instead of 'Parent Category'. I am ...