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

learn more… | top users | synonyms (3)

6
votes
1answer
2k views

Attach a file to the list item

I attach a file to the list item when it is updating and when new item added. Additional condition when item updating - if the file already exists, remove it and replace the new one. I receive events ...
1
vote
2answers
272 views

Retrieve all site collections

I want to retrieve all site collections in an Online tenant through Visual Studio: I can do it via Powershell: get-sposite on-premise server : Get-SPSite on-premise again: var sites = ...
4
votes
1answer
73 views

How to programmingly create a “Link to a Document” in an ASP.net web application?

I have a asp.net web application which requires to upload files to a SharePoint document library. I got that working. Now, I need to know how to code using C# in my web application to create a "Link ...
0
votes
2answers
198 views

Create a new site collection c#

I'm trying to create a new site collection in Sharepoint Online tenant with Visual Studio. 1) I found http://msdn.microsoft.com/en-us/library/office/ms448720(v=office.14).aspx which says that the ...
0
votes
1answer
25 views

Wrong hyperlink is generated for custom central administration action group image

I have a custom action group deployed to central administration; something like "Contoso IT" in this picture: The problem is that that for some reason, the hyperlink for "Contoso IT" (the title) is ...
6
votes
1answer
375 views

Programmatically set a WebPart title to a $Resources value

I need to programmatically add a web part to a page where the title is using a $Resources:Filename,Key; string. I know I can use SPUtility.GetLocalisedString() to retrieve the correct value (and loop ...
0
votes
1answer
30 views

What permissions are needed to develop apps on SPO 365?

I'm new with SPO365, but from what I read, to deploy and test apps I need a developer site (site collection), but I don't have access to create it, neither access to Central Admin. Does my developer ...
0
votes
1answer
119 views

Implement multi select lookup using listbox control in aspx page

How can I implement the multi look up select list items functionality in SharePoint using asp.net C#? Please help me with some code, I am using two list boxes and have added a add remove button on ...
0
votes
0answers
7 views

Timer Thread Method not executing properly

I have a method that refreshes a grid view, I need to run this method on a page every 60 seconds. To do so I have implemented the following timer thread: var timer = new System.Threading.Timer( ...
0
votes
2answers
42 views

How retrieve custom fields only when using SPListItemCollection?

Hi with following code I am retrieving a DataTable from a List: using (SPSite site = new SPSite("http:...")) { using(SPWeb web = site.OpenWeb()) { ...
0
votes
2answers
2k views

Error when using ItemAdded event handler to update columns on newly uploaded document

I have an ItemAdded event handler connected to a document library, in order to automatically populate certain fields when a new document is uploaded: public class AutoPopulateDocumentFields : ...
0
votes
2answers
77 views

Linq get Distinct or first from multiple group

Ok, I'm not understanding something here with what I am attempting to query here. I have a list like the following. Title Subject Content Date ...
0
votes
0answers
17 views

Translate GUIDs to library, list, webpart, or component name

I have a list of GUIDs used but I don't have a reference to tell what each guid is for. Could I programmatically convert these Guids to something more useful such as Guid ==> "Document Library" ...
1
vote
2answers
3k views

Trying to get user's manager: Getting SPServiceContext with SiteSubscriptionId of {00000000-0000-0000-0000-000000000000}

I am trying to get a user's manager with this code: SPSecurity.RunWithElevatedPriviliges(delegate { SPSite site = new SPSite(SPContext.Current.Site.Url); SPServiceContext context = ...
0
votes
1answer
244 views

Programmatically (C#) set date field to blank in 2010

I have tried setting my date field to an empty string ("") and setting it to "01/01/0001". Both returned the error "String is not formatted as date time". I have several thousand items across a few ...
0
votes
1answer
49 views

Developing Apps in Sharepoint

I want to learn how to develop apps for SharePoint. I created a new developer site collection. When I try to install NAPA I get the following message "Sorry this app is not supported on your server." ...
8
votes
2answers
113 views

How do I delimit Property bag values so search treats them as individual searchable words?

currently I'm using the property bag with values that are comma separated something like: web.AllProperties["fruits"] = "bananas, apples, oranges, tomatoes"; Currently search is treating them as one ...
0
votes
1answer
143 views

CAML query where date field is greater than another date field

Is it possible to write a CAML query that uses another field as the Value part of the filter? For example in SQL it would look like this: WHERE Field1 > Field2 This was by best guess but it is not ...
0
votes
1answer
54 views

color picker in custom webpart properties

I want to have custom color picker in web part properties to let users select colors for headings. Any idea how to achieve this.
0
votes
1answer
391 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
0answers
30 views

Replace default List View Web Parts

As the title explains, I am trying to remove the default Web Parts that are associated to list items and replace them with my own custom web parts. Here is what I've attempted so far: SPList list = ...
0
votes
1answer
32 views

how to check if domain group has any kind of permissions to web after ensure

I am adding user to web, he might be added or might not be. I want to only give him permissions if he already doesnot have/has. How can i check. SPSite site = new SPSite(webUrl); ...
0
votes
3answers
65 views

Building a Sharepoint project - the big picture

I'm a Sharepoint beginner so my question could be naive but I wasn't able to find any answer. Could someone give me a brief guide about developing a complete, enterprise class solutions in a shorat ...
1
vote
1answer
178 views

groups.getByName(groupname) is undefined

I have copied some snippets of code from here to test if a user belongs to a certain group, I am using Sharepoint 2010, however I am getting an method is undefined error. I am making sure that sp.js ...
2
votes
0answers
81 views

Is it possible to dynamically hide specific custom retention actions in the dropdown menu?

I'm dynamically creating custom retention actions for information management policies. My problem is that in the retention action dropdown menu, I would like to show only some custom retention actions ...
2
votes
4answers
3k views

How to Password Protect a SharePoint Object (Reassuring High Level Users That its secure)

Edit to clarify: The purpose of this isn't to replace SharePoint security or to add some extra super security or about trust in SharePoint, it is instead to consider something that is very much ...
3
votes
1answer
139 views

Does adding custom code to native SharePoint aspx files automatically result in an unsupported state?

I want to add some custom code to one of the native SharePoint's aspx files in the hive (14\TEMPLATE\LAYOUTS). Specifically, I wish to implement a Page_LoadComplete event that does some additional ...
1
vote
1answer
37 views

Compare Credentials to his one's own login credentials

I would like to compare the current user credentials with my UserAccount and if they are identical then I would like to have an alert, but It doesn't work. I don't know why.I hoept that you can help ...
0
votes
0answers
52 views

This Webpage Is Not Available With SharePoint

I've create a new Cloud Business App for SharePoint in Visual Studio 3013. I've added no code or altered the project in any way. The only thing I've done is created the Cloud Business App from one of ...
0
votes
2answers
54 views

Move SharePoint list items into folders that exists in the same list programmatically?

Respected members of StackExchange, kindly help me with your kind suggestions to solve the issue. I have +20,000 items in a SharePoint list that i want to move into the folders that also exists in ...
2
votes
2answers
30 views

Complete new tasked with creating a SharePoint website… where do I begin?

I know a little bit about what SharePoint is (some kind of website designer kit that lets users design their web pages), but that's about it. I am tasked with assisting the creation of a website ...
0
votes
1answer
42 views

Why does client side .js or JQUERY sometimes not function at all and at other times does function?

SharePoint 2010 Enterprise on our network. Same site, same page, same time of day, same code behind yet sometimes our client side code functions and sometimes it doesn't. when pulling the custom ...
2
votes
2answers
1k views

Custom SharePoint 2010 Timer job not running

I have created a custom timer service to create a list. It's scheduled in minute using FeatureActivated event. I was able to globally deploy the solution. But the my timer job is not running. It's ...
0
votes
1answer
588 views

Create TermStore (SPServiceApplicationProxy) Programmatically

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

sharepoint development environment

Does Microsoft provide free online development environment for SharePoint 2010? If yes . Please can you share the link and how to access it Even if access is limited to one month or so...
0
votes
1answer
314 views

How to get specific list items in Document Library subfolder?

I'm attempting to retrieve items from a subfolder in a document library. I must get these items where value is 'Like'. How can I do this via C# using the SP object model or by CAML query? this is ...
2
votes
2answers
313 views

Sharepoint multi-column validation

I've got a custom list that contains multi collumns. The validation is made by a custom contenttype. Now I want a combination of two columns to be unique. Until know I did not found a way to solve ...
3
votes
2answers
797 views

Attach ListItem to TaskItem

I've created a custom approval worfkflow for an listitem. Now I need to see the values of the item in the taskitem. So I think one way would be to attach the ListItem to the TaskItem. Does anybody ...
0
votes
1answer
45 views

SP13: Document Library Check-in/out settings

Recently our network went down and after it came back up a few of the document libraries lost its functionality. Prior to the shutdown, when an end-user checked out a pdf and made changes to the pdf ...
0
votes
2answers
43 views

how to give popup for a panel?

I have panel control in my web part. I used some 10 controls in this panel with in a div so I need to show this div in the popup .so which I need to keep in popup either with panel ID or div ID. ...
0
votes
0answers
34 views

How to export images from PPT to SharePoint Library

I am using below code to export slides as images from a PPT - Microsoft.Office.Interop.PowerPoint.Application appPpt = new Microsoft.Office.Interop.PowerPoint.Application(); ...
3
votes
1answer
59 views

Multithreading works with a self made parrallel loop, but not with the native one

In a project, I have a quite complex operation that takes few seconds to execute. The operation requires to work with a SPListItem object. Because my operation has to be executed with a bunch of ...
1
vote
1answer
187 views

Forms Based Authentication Sharepoint 2013 Application Forbidden error 403

I am making a Provider-hosted application for SharePoint 2013. I debug this application on a Development Collection with both Windows Authentication and FBA (Form Based Authentication) activated. I ...
7
votes
1answer
313 views

Passing a Kerberos Ticket to a web service

I'm trying to pass a Kerberos ticket onto a webservice through a custom webpart. The webservice is a WCF service, but it is a 3rd party web service that is not claims-aware. The web service doesn't ...
0
votes
2answers
31 views

Where should I put 3rd party assemblies needed by my project if GAC is not an option?

SharePoint makes it easy to deploy various resources via mapped folders in your Visual Studio project, e.g. Images mapped folder is where you put images needed by the project. My question is: where ...
3
votes
2answers
163 views

Using jQuery in SharePoint 2013

I'm trying to implement a solution in SP 2013 where the global navigation docks to the top of the browser as you scroll down. Like on this site. The dev at this site provided the jquery he used to ...
0
votes
1answer
1k views

Download files from document library using C#

Task: There are some Excel files or documents on SharePoint site that I need to download to my local drive. I'm a newbie to C#, so please give me directions on how to start and complete my task. I ...
12
votes
8answers
8k views

Event Receiver Firing for all Lists - even when ListUrl is set

I have two custom list definitions - List 1 and List 2, both with different ID's for the Type in the elements.xml. List 1 is called 'List1' and the other is called 'List 2', note that the second list ...
2
votes
1answer
562 views

Customizing discussions list in SP2013 with JsLink

I'm working on a community site and was looking at ways to modify UI of the discussion list that is presented to the user (and possibly more going forward). It is my understanding according to the ...