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

learn more… | top users | synonyms (3)

0
votes
1answer
46 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
66 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 ...
1
vote
4answers
543 views

Linking one-to-many (Employee to Salary History) lists in SharePoint

Here is my issue: [Edit]: Alright, this is almost turning into a separate question at this point...my apologies. To cut right to the chase, here is my business requirement. I have an Employee record ...
4
votes
1answer
109 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
2answers
1k views

Could not load file or assembly or one of its dependencies. The system cannot find the file specified

I am really baffled by this issue. I am very new to SP 2010 Development, so Your speak will have to be really dumbed down. But essentially I have this activation method I re-factored - Still ...
0
votes
1answer
41 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
103 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 ...
1
vote
1answer
478 views

Get all items with specific fields without query - SharePoint Client Object Model

Is it possible to get all items from a single list (getting specific fields) without using a CamlQuery? If I try to use context.Load(oList, ...), I can't use the Include method as the List class ...
1
vote
1answer
223 views

Secure Store Service did not performed the operation. System.ServiceModel.EndpointNotFoundException:

I have been having trouble with Secure Store. When I deploy, or IISRESET my Secure Store works for a few hours, then Secure Store Dies as I get this Error: ...
2
votes
3answers
62 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
85 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?
0
votes
3answers
450 views

remove div tags from textbox

Any clue why i get the output in my textbox_moreinformation look like this?: COLUMN VALUE I'm working with two webparts, the provder webparts values i want to display on my consumer, and i only want ...
1
vote
0answers
15 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
1answer
44 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(); ...
0
votes
1answer
70 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 ...
1
vote
0answers
28 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
29 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
54 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 ...
5
votes
3answers
73 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 ...
3
votes
1answer
157 views

SPListItemVersionCollection - iteration performance

This question is related to my issue described here: SharePoint 2010 Performance troubleshooting On SP 2010: Does anyone knows if there is some performance limitations while using ...
2
votes
2answers
44 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 ...
1
vote
3answers
2k views

The remote server returned an error: (401) Unauthorized sharepoint

Here is my scenario:- I have my Sharepoint server hosted on Domain A and I have my machine on Domain B. There is not any trust between Domain A and Domain B. I am trying to access the Sharepoint ...
0
votes
3answers
3k views

How to close an infopath form in C# style?

I tried XDocument.View.Window.Close(true); but it tells me "The name 'XDocument' does not exist in the current context" I even tried thisXDocument.View.Window.Close(true); but still same error. What ...
0
votes
2answers
1k views

I need to create a custom calendar in sharepoint2010 for scheduling Appointments for a Marketing Firm

I need to create a custom calendar in sharepoint2010 for scheduling Appointments for a Marketing Firm, but I'm still unexperienced on SharePoint development. For my requirement be able to add date ...
2
votes
0answers
16 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
23 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 ...
3
votes
2answers
742 views

change the default tile size in Sharepoint 2013

Hello, I create an app using the Promoted Links in Sharepoint 2013. I chose to do this because the feature has the awesome hover effect and is easy to customize the image. The issue is that I ...
1
vote
1answer
42 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: ...
3
votes
5answers
1k views

Attachments to Documents

I have a document library. I want to be able to add supporting documents to a document(I am using a custom content type based on document). Ideally I would like to add them as attachments so ...
1
vote
2answers
146 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
0answers
44 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
80 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
1answer
58 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 ...
0
votes
3answers
652 views

custom document library web part with shared documents

I've been struggling a lot to create custom web part that looks similar to "Document library" in share point. I've tried several approaches but finally figured out it. Here's my piece of code: // ...
2
votes
1answer
44 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 ...
0
votes
3answers
71 views

List users in SharePoint group running as system

This works as local administrator only, but I'm trying to figure out how I can make it work with NT AUTHORITY\SYSTEM. It starts spitting out group members but fails with access denied on a specific ...
3
votes
2answers
5k views

How do I disable\stop or enable\start Sharepoint 2010 on my Windows 7 development machine

I used the SharePoint 2010 Easy Setup Script to setup my Windows 7 machine for Sharepoint Development. However, I don't want the Sharepoint services hogging up CPU in the background when I'm doing ...
0
votes
1answer
112 views

Check-In & Checked Out files inside folder in Document library using Client Object Model

I am not able checkin/checkout the files in sub folders in the document library using client object model. Below is the code I am using. public void CheckOut()// CHECK OUT FUNCTION { try { ...
2
votes
4answers
272 views

Problem connecting Visual Studio 2013 to SharePoint 2013

I'm having a big issue in connecting Visual Studio 2013 to SharePoint 2013. When I create a project in VS2013, I choose SharePoint Empty Project and then the URL of my SharePoint site, when I click on ...
1
vote
1answer
1k views

SP2010: Best Practices to use SPAudit

I would like to use the security audit log report of a site collection, and evaluate the entries e.g. each hour. The focuss lays on actions/events performed on the access rights on the site. Which ...
2
votes
1answer
32 views

Cannot toggle personalization scope programmatically

I'm trying to switch personalisation scope for the current user: protected void lnkToggleMode_Click(object sender, EventArgs e) { try { var wpmgr = ...
2
votes
1answer
25 views

How can I know from list id that it is a list or a library?

I want to know whether the current list which I have is Custom list or a document library. How cant I check this programmatically?
1
vote
1answer
39 views

How to connect SharePoint 2013 and Visual Studio 2012 to create a simple form?

I am a beginner when it comes to SharePoint so please bear with me, I apologize in advance for my inaccuracies. Here is what I need to do... I need to build a form in C# .NET in VS 2012, deploy it ...
0
votes
1answer
37 views

Getlistservice.asmx ignoring caml query

I am using Sharepoint 2013 Online. I have the following code using the /_vti_bin/lists.asmx web service XmlDocument camlDocument = new XmlDocument(); XmlNode camlNode = ...
0
votes
3answers
1k views

Custom List Form Will Not Deploy

A demo List Form using Visual Studio 2010 to test and experiment with a few things. Nothing at all was added inside the project. Functionality, etc, will be added later, but at this point it was ...
5
votes
3answers
1k views

Why don't folders work when adding an XsltListViewWebPart to the page via code?

I have an issue with adding an XsltListViewWebPart to a page for a Document Library. When I do it using the code below everything works fine unless I create a folder and upload a document there. Such ...
0
votes
1answer
46 views

User Impersonation in a High Trust SharePoint App using the client-side object model

As I understand it, high trust apps have the ability to impersonate a user (link): The app is considered high-trust because it is trusted to use any user identity that the App needs, because the ...
1
vote
2answers
91 views

Library event receiver - Object reference not set to an instance of an object

Yesterday I asked, where custom columns can come from. You helped me and told me that maybe it's event receiver. I created new event receiver and I added that try catch part: (Of course I change ...
0
votes
0answers
31 views

Problem creating content types programatically on a Content Type Hub

So I've been having issues with a module I built to create content types. It goes by steps like this: 1 - I create an empty content type (it may or may not inherit from another content type -which ...
0
votes
1answer
35 views

Create a list from list template from list template gallery folder

Hi I need to create list programatically from list template which is in inside folder of List Template Gallery (List Template -> folder -> template.stp.)