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
24 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
37 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
70 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
502 views

Sharepoint 2013 Site Title only show parent site

I have a team site and am using the Site Title snippet, but I don't want that changing to show my subsite titles. For example here is an example team site hierarchy we are using for our companies ...
0
votes
1answer
54 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 ...
2
votes
1answer
47 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
1answer
406 views

Display Attachments in Webpart

whats the problem? 123 should be with bild1.gif and second image with bild2.gif
0
votes
0answers
11 views

Developer Dashboard for extended application

I have extended web application used by internal and external users . Recently the external users are facing performance issues ,so i enabled the developer dashboard . My concern is the developer ...
0
votes
1answer
31 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
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
67 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
546 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
1answer
43 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
109 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
481 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
225 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
89 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
454 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
45 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
58 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
74 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
45 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
24 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
795 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
43 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
159 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
46 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
87 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
64 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
654 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
45 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
73 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
116 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
295 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
33 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 = ...