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
69 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
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
64 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
51 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
29 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 ...
6
votes
0answers
62 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
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
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
104 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
46 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
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
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?
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(); ...
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
55 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
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 ...
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 ...
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 ...
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 ...
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 ...
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: ...
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
81 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
148 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
61 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
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 ...
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?
0
votes
1answer
38 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 = ...
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
47 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
92 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
32 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.)
0
votes
0answers
25 views

Programmatically change zone of the alternate access mapping url in SharePoint2010

In my application programmatically i need to change the zone of alternate access mapping url I am able to get alternate access mapping url of webapplication but not able to change zone for the same,i ...
0
votes
0answers
80 views

Adding ListViewWebPart with CSOM

I have to add a few webparts to a default page using the Client side object model. For the most part this goes fine, I can add a XSLT and content query webparts. However, when i try to add a ...
0
votes
2answers
45 views

How to determine custom application page URL independently of the environment/farm?

I have deployed a custom ribbon button and when a user clicks it, I open a custom application page - I have deployed the page to _layouts mapped folder. To open the page (with JavaScript), so far I'm ...
0
votes
1answer
23 views

Can not adding Solution to Sharepoint

In visual studio I am getting below error while deploying my project to SharePoint site. ** Active Deployment Configuration: No Activation Run Pr-Deployment Command: Skipping deployment step ...
0
votes
1answer
17 views

Download image from Imagelibrary

I have an event receiver that should download images from an imagelibrary, and do some stuff with that copy. There will be several images with the same customid that i want to grab, so I loop over all ...
0
votes
1answer
41 views

ListData.svc not getting managed metadata

I have written a C# agent that pulls data from SharePoint using the ListData.svc web method, parses the XML data, then puts it in SQL and it works great, however ListData.svc does not appear to expose ...
-1
votes
1answer
80 views

Deleting all nodes from QuickLaunch

This is my code to delete the QuickLaunch Navigation Nodes. I am using the SharePoint 2013. public void 2013NodeOrders(string siteUrl, string quickLaunch) { ...
0
votes
0answers
45 views

ListFieldIterator is not functioning as expected in List Form

I have customized my new form for my list using the below guide. ...
1
vote
1answer
18 views

Is there an event to watch for when a user follows a person/document/site/tag?

We are doing R&D on integrating the updates post in Confluence with the SharePoint newsfeed. One thing I need to do is create a "listener" that can update a central content store when a user ...