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
2answers
339 views

Filtering List using CAML query and Binding it to dropdown in C#

I have the following code which retrieves all items from list "Employee Info" and bind it to Dropdown list EmployeeDD. if (!Page.IsPostBack) { DataSet ds = new ...
0
votes
1answer
35 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 ...
1
vote
2answers
53 views

How to display charts dynamically other than by using MSCharts?

I would like to display a pie chart in a custom SharePoint application page. One option to do this is by using MSCharts and <asp:Chart> tag. However, getting this to work requires modification ...
0
votes
0answers
16 views

Sharepoint online + Crm online integration

I need to create one solution for SharePoint online which get data from crm online. Questions : How to authenticate to crm online from SharePoint online. How get data from crm online to SharePoint ...
0
votes
0answers
33 views

Calling sequential web requests asyncronously server side in SharePoint 2010

I have a SharePoint 2010 page that requires me to call 2 web requests sequentially, and then redirects a user to a website. This is what I have came up with, but have a feeling I am wrong ...
0
votes
0answers
59 views

Design tab and content assist missing for Application Page's aspx file

I have created a simple Application Page which I am deploying in SharePoint 2013. Everything works fine except the Visual Studio 2012 designer for aspx file does not show any content assist for ...
0
votes
1answer
57 views

How to get the version comments using webservice?

IN a Nintex workflow(not really relevant), I need to get the User comments for a page, (the last version comments), however Nintex does not show comments in the item properties. For this I need to ...
0
votes
0answers
109 views

SharePoint hybrid environment app deployment problem

I'm setting up the environment for developing low-trust apps - I want it to be a hybrid environment with SharePoint on premise installation and SharePoint online developer site, so the authentication ...
0
votes
0answers
23 views

Update BCS Value Programatically

Here is my issue, we had a BCS definition with a value being stored as an int. we had to update that definition so the value is now stored as a string. However do to most of our values being stored of ...
0
votes
2answers
70 views

Are farm admin privileges required to update SPContentDatabase property bag?

If I store custom data inside SPContentDatabase.Properties, must I be farm admin to be able to update it? E.g. SPContentDatabase contentDatabase = GetContentDatabase(); ...
1
vote
1answer
39 views

How to enable non-admin users to store custom application data at a farm level?

When a normal (non-admin) users click my custom-made ribbon button in a document library, I would like to write the document library's information to some persistent farm-wide store (or at least a ...
0
votes
1answer
149 views

How to deploy ItemAdded event receiver to the entire farm? [duplicate]

I have created an ItemAdded event receiver that is supposed to process new documents/files after they've been added to any document library in the farm - i.e., I'd like the event receiver to ...
1
vote
0answers
31 views

File name of previous versions when versioning is on

How to get the file name of previous versions in a document library with versioning turned on. The OOB version history UI does not show the previous file name if the file name is changed. Suppose the ...
0
votes
3answers
157 views

Collapsible asp.net control for SharePoint2010

I have a custom Instantiation form with a lot of CheckBoxes in SP2010. Now I've to put the CheckBoxes into different categories which should be collapsible, like you can see in the picture below. Is ...
1
vote
1answer
56 views

From Java World to SharePoint

I am newbie in Microsoft world. In fact I am planning to move in SharePoint development. I am just wondering, to ask some questions before moving to this world. I have knowledge in Servlet, and ...
0
votes
1answer
72 views

Create a sharepoint groups does not work, index out of range

The following code has been tested in dev, test environments and it works perfect. However when I run it on qa environment I get the following exception: ...
0
votes
0answers
166 views

O365 Autohosted App: CSOM read items from a list -> Unexpected response data from server

I have created an autohosted app for O365. I'm using a mix of the CSOM and SSOM. When I try to retrieve items from a list (MyList) with the below javascript code I receive an error: unexpected ...
0
votes
1answer
91 views

Can SPPersistedObject settings be updated by normal users if ran with elevated privileges?

I have a custom ribbon icon "Enlist" deployed to each document library. A normal (i.e. non-admin) user can click this icon; when he does, I would like to permanently save the document library ...
0
votes
1answer
45 views

Creating a .wsp for SharePoint 2013 from a SP2010 compatible project

I have a rather old SharePoint project that I believe goes back to SP2007, and is currently working fine with SP2010. My current process for creating a .wsp for sp2010 is to use WSPBuilder. It seems ...
0
votes
3answers
72 views

How can I provision Custom Default.aspx to sites?

I have created a Custom Default.aspx and through the code you see I can use it as "Home Page". SPWeb web = osite.OpenWeb("/anotherSite"); SPFolder oFolder = web.RootFolder; oFolder.WelcomePage = ...
0
votes
1answer
694 views

Load properties of list item client object model c#

I have a situation where I need to load items from the list and which columns to be loaded cannot be hardocded, as it will be decided on user input. I have following code. ocamlQuery.ViewXml = ...
0
votes
1answer
249 views

Export my Enterprise Wiki aspx pages to a PDF files

Our client has asked if we can add a link to their current Wiki pages named "Export to PDF", so when the user click on the link the Wiki content will be exported inside a pdf file ? i got confused if ...
0
votes
1answer
35 views

Unattended execution of C# scripts

I'm a beginner designing automatizing tasks. I have 2 scripts in C# .These scripts generate two XML docs which are connected and synchronized with two native lists in a SharePoint Portal through ...
0
votes
0answers
19 views

Limit filetype for one Document Library in a site? [duplicate]

I have a document library in our main site that I'd like to restrict to PDF's only. I know I can block filetypes for an entire site, but is there a way I can limit a particular library to only accept ...
0
votes
1answer
68 views

Coding best practice display name vs internal name in itemUpdated event receiver

In an itemupdated event receiver, when referring to list fields, is it better to use the field's internal name, or its display name? Is there a clear guideline or best practice, or is this a ...
1
vote
1answer
96 views

What's the fastest way to develop custom native-looking SharePoint pages?

I'm trying to develop a couple of custom application pages for SharePoint 2010 that will be accessible from the central administration page as a part of my application, basically serving as a front ...
8
votes
2answers
112 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 ...
4
votes
1answer
131 views

Logging in Apps, where, and what other options do I have

If I am using a provider hosted app with the code below, its not clear to me how can I monitor logs, provider hosted apps runs in this case in a separate iis site, correct? The System.Diagnostics ...
0
votes
1answer
98 views

splongoperation and executiontimeout

Does SPLongOperation overrides setting of executionTimeout in layouts/web.config for sharepoint 2010 standalone/farm and 2013 standalone? As I have a long running process which works fine in a ...
4
votes
3answers
466 views

Is there a way to get Folder object from ListItem one?

This is my first post, so I'd like to say hello to everyone. I'm trying to get Folder object by its path in SharePoint 2010 client application using Client Side Object Model (.Net 4.0). I need to ...
2
votes
1answer
84 views

Add Publishing Pages to specfic subsites programmatically in FeatureReceiver

Currently, I have created subsites programmatically in FeatureReceiver method and have a way to create publishing pages, but they are being created on the root site. Is there a way to target a ...
1
vote
0answers
23 views

How can I print all the PublishingWebControls:RichHtmlField content inside my EnterpriseWiki.aspx as a pdf file

I am working on an enterprise wiki site collection , and using the SharePoint designer I have manually added a link named “Print to PDF” as follow:- But I am trying to implement the link ...
2
votes
3answers
101 views

How to find the creation date of the Web Application?

I wanted to find how the count of the web application in the farm increases in the past year. For this I wanted to find out the date when each web application is created. Is there anyway to find the ...
2
votes
2answers
195 views

How i can programmatically get all the SharePoint team-sites?

In my SharePoint site in "SharePoint admin center" page (Admin-> SharePoint) I have a list of the teamsites of my organization. How can I get this list programmatically?
2
votes
1answer
167 views

Extract text from document in a SharePoint 2013 library

I would like to extract the text from documents stored in a SharePoint 2013 online document library. I have the document loaded using: ClientResult<Stream> data = file.OpenBinaryStream(); ...
1
vote
0answers
39 views

Where i can override the OnInit method

I need to write the following farm solution to override the InInit method as follow:- protected override void OnInit(EventArgs e) { var request = HttpContext.Current.Request; ...
1
vote
1answer
37 views

Performance: SQL query vs SPListItemCollecion

A project I'm working on has me pulling lots of data from another SQL database (via a c# webpart) and I'm curious about the best approach to make it as speedy as possible. The two thoughts I had were ...
2
votes
1answer
277 views

Open one page after another in a modal dialog

My client wants me to create a modal dialog that acts like a popup window. Can this be done? Here's the issue: The visitor is editing some basic database data via a form in the original browser ...
0
votes
0answers
16 views

Developer Dashboard for external application

I have web application used by internal and external users . I have enabled the developer dashboard . The developer dashboard is seen only for internal users . How can i set the developer dashboard ...
2
votes
2answers
168 views

How to handle app installed, uninstalled, upgrading events?

I am following this blog post http://blogs.msdn.com/b/vesku/archive/2013/10/02/ftc-to-cam-custom-actions-and-property-bag-entries.aspx On the video and the download it shows how to handle the app ...
6
votes
3answers
107 views

SPList.GetItems(view) vs SPList.GetItems(query)

Which solution from the two is the most efficient one: 1. Using SPList.GetItems with a given view as a parameter 2. Using SPList.GetItems with a given query as a parameters and then retrieving from ...
0
votes
1answer
112 views

How to append sharepoint required parameters for APPS, in asp.net mvc apps?

According to the documentation for sharepoint apps, we need to always append the SP Host web url, so that the app can get the context from the host web. The Sharepoint Context provider and the token ...
2
votes
0answers
22 views

Filter and sort related data from multiple lists

I've been working on ways to collect data from a few lists, do some calculations on it and set up user controls to filter/sort that data. Ultimately I want a web part (or similar) that a user can use ...
1
vote
1answer
42 views

Override text in emails sent by newsfeed alerts

Working with the SharePoint social newsfeed (not Yammer). We would like to change some of the wording in the emails (such as change the word SharePoint to our specific branding) that get sent when ...
1
vote
1answer
87 views

Looking to retrieve user's groups in SharePoint

I am running SharePoint Foundation 2010. I have a claims based site setup to use a trusted token provider. I am passing it a set of claims that determine the user's group. They look similar to this: ...
1
vote
0answers
57 views

How to get all page layouts in SharePoint using c sharp [closed]

How to programmatically fetch list of all page layouts in site collection and create a page programmatically using any page layout. Where are the Page Layouts stored?
3
votes
1answer
185 views

2013 Collaboration - How to programmatically get a list of all the community sites a user has access to?

Is there a way to get a list of all of the community sites that a user has read/write access to, using an API that can be easily consumed by C#? We would like to get a list of all of the community ...
1
vote
2answers
644 views

Moving Document Libraries within same Site Collection using C#

I have C# code for Moving Document Libraries and its Items within same Site Collection maintaining its Metadata like "Modified", "Modified by" etc. Can anybody modify this code to move an entire ...
1
vote
1answer
127 views

Debugging custom membership provider - An unexpected error has occurred.

I used this video tutorial to get started and created a custom membership provider: http://channel9.msdn.com/Blogs/BomBom/Building-your-own-MemberShipProvider-in-ASPNET-20-and-use-it-in-SharePoint ...
2
votes
2answers
124 views

“nativehr” error while trying to delete list items through ProcessBatchData

Plain and simple, I'm trying to delete a massive amount of items from a list as quickly as possible using a c# app, and have seen references to batch processes being the best way to do this. Not ...