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

learn more… | top users | synonyms (3)

4
votes
3answers
160 views
+50

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
2answers
17 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 ...
3
votes
1answer
30 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
1answer
406 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
0answers
8 views

Reference DLL class Library in MasterPage [migrated]

I know this has been asked in many different ways, but I can't figure out why I cant create an instance of a class registered in the dll of a class library that I have referenced in my project, and ...
0
votes
1answer
13 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
27 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 ...
0
votes
1answer
324 views

Working Twitter Feeds on Sharepoint 2013?

been trying to get a Twitter feed to work in SharePoint 2013 for some time but it just doesn't seem to be playing ball. I've tried a couple of methods (embedding the code straight in and also using ...
0
votes
2answers
513 views

How to open a file using Item Id in SharePoint document library?

I am working on SharePoint Foundation 2010. I want to open file from a link. I found a solution "Link To Document" content type. But in "Link To Document" content type we need filename of original ...
2
votes
4answers
2k views

How to invoke server side code from Ribbon

I want to create a Button in my Ribbon which modifies some fields in my items.. In details I want to select more than one element and select my "link" button and make the elements be "linked" by an ...
1
vote
0answers
15 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 ...
0
votes
0answers
4 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
1answer
332 views

How tu change a date format in CAML

I have got a wrong format of date to a CAML. I have got (yyyy-mm-dd) and must to be understand by CAML to the format(dd-mm-yyyy), how could I done this. Please help me. I tried by ...
5
votes
10answers
3k views

What technical skills do you use most when developing/deploying SharePoint?

(I think my question is sufficiently different from this question to justify asking it. My question is not about useful SharePoint resources, but what technical skills you actually need...) I'm a ...
2
votes
5answers
867 views

How to detect where a memory leak is in my application?

I have a web part that loops through web apps, sites, and webs. I'm using DoesUserHavePermissions() to check whether or not the user has access to the site. I'm getting an error and I've made sure to ...
0
votes
0answers
21 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 ...
0
votes
0answers
19 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
1answer
32 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
0answers
7 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
1answer
323 views

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

I have a sharepoint list (Not Library), where I am programatically adding in a folder: SPList list = web.Lists[ListID]; SPFolder parent = list.RootFolder; SPFolder child = ...
0
votes
0answers
15 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 ...
2
votes
1answer
732 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 ...
0
votes
1answer
330 views

List Onload event

What I want to do: I have a custom list that contains a lot of items. When an user loads the list, all items of his view should be checked. If there is a special value in the listitem a notifiaction ...
1
vote
2answers
409 views

Remove Sharepoint RadioButtonChoiceField Focus on application page

I have an application page with a bunch of asp textbox controls and then a sharepoint RadioButtonChoiceField control. When the page loads it will always set focus to the RadioButtonChoiceField is ...
1
vote
1answer
335 views

Sharepoint - Office 365 login on PHP

I'm trying to implement a simple login with Sharepoint on a PHP existing application. I have read many information (some related to Client side login -but only works for windows AFAIK-) and forums ...
0
votes
1answer
1k 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 ...
1
vote
2answers
504 views

Retrieving attachments from SP List

I want to retrieve attachments from a sharepoint list. But don't really know how to, any suggestions? SOLVED: Check code under picture. public void MyData(string prod) { SPWeb web = ...
0
votes
1answer
33 views

SP 2010 Development Concepts

I'm building a custom addon for a SP 2010 instance. I've been able to get a Visual Web Part in visual studio deployed to my SP instance and debug it. As far as I can tell I have all the normal ...
0
votes
1answer
34 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
19 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 ...
0
votes
1answer
27 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 ...
1
vote
5answers
67 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
0answers
16 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
21 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; ...
0
votes
2answers
32 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
2answers
349 views

Open in a new window a document stored in SharePoint in C#

My problem is simple. From an aspx page, I need to open in a new window a document stored in Sharepoint. To access the document in SharePoint I need to provide credentials. To open the document in a ...
1
vote
3answers
90 views

Can I programatically move sites or content between 2007 and 2010?

Using the SharePoint Object Model on a SharePoint 2007 environment and the remote object model to talk to a SharePoint 2010 environment would it theoretically be possible to migrate sites or content ...
1
vote
1answer
148 views

using calculated field in calculated field

I have field1, field2, field3, calcfield1, calcfield2, complexCalcField1 Calcfield1 and Calcfield2 use field1, field2 and field3 for its values. ComplexCalcField1 uses Calcfield1 and Calcfield2 for ...
0
votes
1answer
488 views

Render label using itextsharp to pdf and word

Could not load file or assembly 'itextsharp, Version=5.4.1.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca' or one of its dependencies. The system cannot find the file specified. I have added ...
0
votes
1answer
339 views

Build a visual web part that shows a document library

Ok so I need to build a visual web part (Has to be Server side and done in visual studio c#) that shows a document library. On selection of the document library, the web part must output the entire ...
0
votes
1answer
64 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
25 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 ...
1
vote
2answers
782 views

Workflows and SQL Server Databases

Is it possible to create a workflow that is started by activity in a SQL Server database that is outside of SharePoint? Using a WebPart to put and modify data in a database isn't a problem. ...
0
votes
1answer
507 views

Create TermStore (SPServiceApplicationProxy) Programmatically

Is it possible to create a new custom TermStore Programmatically? something like SPServiceProxy proxy = SPFarm.Local.ServiceProxies.Where(s => ...
0
votes
4answers
48 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 ...
3
votes
1answer
39 views

Access Selected Items from List View

The following returns selected items correctly from standard list and document library types. var context = SP.ClientContext.get_current(); var items = ...
1
vote
2answers
623 views

This Page has been modified since you opened it. You must open the page again. Refresh. When I postback to another site from button

If I button post one sharePoint site page to a page on another I get This Page has been modified since you opened it. You must open the page again. Refresh I have a webpart page with an asp.net ...
0
votes
0answers
8 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 ...
1
vote
0answers
40 views

How do I make a dynamically created SPList read-only in browser, but editable in code?

In code, I create a SPList. I write to this list programatically, but I would like the list to appear read-only for all users (perhaps excluding admins only) in browser only, i.e. I don't want to ...
0
votes
2answers
2k views

Custom Timer job throws an error : “Value cannot be null. Parameter name: uriString”

I am facing an issue while trying to write the custom Timer Job in SharePoint 2007. Have overridden the Execute method public override void Execute(Guid contentDbId) { using (SPSite ...