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

learn more… | top users | synonyms (3)

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
89 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
188 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
655 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
129 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 ...
0
votes
3answers
228 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
30 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
89 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
167 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
196 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
341 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
64 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 ...
1
vote
1answer
137 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
59 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 ...
1
vote
2answers
429 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
77 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
26 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
20 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
64 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
198 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
69 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
21 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 ...
2
votes
0answers
72 views

How to automatically switch to Edit Mode after creating a page?

When adding a new page to SharePoint (through Pages list) and clicking OK, the user is redirected to Pages list. How to force SharePoint to open that page in Edit Mode? I've been thinking about ...
3
votes
2answers
150 views

Where to store data needed by a custom timer job?

I have a custom ribbon button in each document library and when a user clicks it, I'd like to store some library-related data (URL, id ...) in a way that would make it available to a custom timer job. ...
0
votes
0answers
43 views

Sharepoint integration into Learning Management System

I am new to Sharepoint and read different msdn articles. I developed sharepoint app with office365 Trial account and now i want to give demo to integrate this into LMS but issue is they want me to ...
1
vote
2answers
178 views

Why does SPList.GetItems(string fields[]) return more fields than specified?

I'm using SPList.GetItems(string fields[]) to obtain only specific item fields from a document library: SPListItemCollection items = list.GetItems("UniqueId", "Name"); However, iterating the items ...
0
votes
1answer
64 views

How can I differentiate an user from a workflow while in an ItemUpdating Event

Is there a way to differentiate an user from a workflow while in an ItemUpdating Event? To show the my problem here's the ItemUpdating method: public override void ...
1
vote
0answers
26 views

deploying wsp onto a different sharepoint server

I have created a share point project that works on a development share point site. When I compile it to WSP and upload it to share point online, and activate it, it doesnt work.. I always start ...
2
votes
1answer
44 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 = ...
0
votes
0answers
40 views

How to : Visual Studio 2010 create Sharepoint List and define data source?

I have this ugly requirement of creating a SharePoint list (could be a custom or an calendar) which displays the companies upcoming events, the problem is that x department updates an excel sheet ...
1
vote
2answers
137 views

Error while adding a Calculated column to a list using Client Object Model

I am trying to add some fields to list using the client object model. Everything is working except the Calculated field. Every time SharePoint gives the error: An error occurred while parsing ...
2
votes
1answer
89 views

Add file without checking in

I have a question. How can I add a file without checking it in directly? I add file like this: Library.RootFolder.Files.Add(fileName, buffer, overwrite); But when I do that I suppose the file is ...
0
votes
1answer
905 views

Set values in repeating table fields programmatically

I have some logic which calculated a list of dates that are to be displayed in the repeating table. The repeating table structure is as shown in the image: The code that I have used to set data in ...
1
vote
1answer
443 views

SharePoint Foundation 2013 - Audit log

Can I read from audit log, how many times item has been clicked? I know that I can do it using Server edition, but what about Foundation? What I have done: Central Administration, I enabled Secure ...
0
votes
1answer
127 views

Assign value to Date Control in InfoPath form programmatically

I need to assign a calculated value to date field in infopath form. I am unable to assign the value as I get "schema validation found non- datatype errors" error. The following is my code: int ...
1
vote
1answer
65 views

Get SPFolder by Folder's Name

I'm working on a web part that gets all the children of a SPFolder. The catch is I only have the folder's name. Would this be possible using a CAML query? If not how could I construct the folder's ...
2
votes
1answer
663 views

Creating a Registration Form in SharePoint 2013

I need help with this task. I would like to create an app/webpart in SharePoint 2013 Foundation that displays a list of events. Users can see this and if interested can signup for which ever event by ...
0
votes
2answers
309 views

How to assign my custom permission level to my TestGroup?

I have created one group Name: TestGroup and one permission level Name: Custompermisionlevel How can I assign the permission level(Custompermisionlevel) to my group programmatically? I'm using this ...
0
votes
0answers
31 views

Publishing Image Always Null in Code

I'm building a web part that outputs fields from child site welcome pages. I use publishing images to allow users to select the background images from a library. Whenever I attempt to get the images ...
0
votes
1answer
49 views

Develop Sharepoint 2013 web parts from client using VS 2012

How I can develop my visual web parts from my client using VS 2012? When I want to create a sharepoint 2013 project I receive a message that sharepoint server does not installed on my client. Is ...
0
votes
1answer
216 views

Trying to view custom application page in browser results in “404 FILE NOT FOUND” error

In VS2010 I created a new .NET 3.5 solution and inside a new project for SharePoint 2010 (empty project called "SPAppPageTest"); I deployed it as a farm solution. I added a new application page, ...
2
votes
3answers
2k views

Get absolute URL to listitem's default display form

I need to have an absolute URL of a listitem's display form - currently I do it the following way: On http://mydomain.com/: item.ParentList.ParentWeb.Url.TrimEnd('/') //"http://mydomain.com" + "/" ...
0
votes
2answers
192 views

Cross-site collection navigation in SharePoint 2013 Foundation

Is there a way create or activate cross-site collection links. So if I'm under the Accounting Department site I can go into the Marketing Department site. I looked all over sharepoint and no luck.
1
vote
1answer
72 views

Injecting dynamic list content into an alert template email

I have tried, and successfully failed, to determine a way to inject the emailed item's value from a universal custom column into the default alert emails generated by SharePoint, in both the subject ...
2
votes
1answer
377 views

Programmatically trigger “New document” action in a document library

I've been asked to check if it is possible to trigger the creation of a new document linked to a content type. Like, to make it simple, you have a webpart, a button, you click it, and it opens the ...
2
votes
2answers
474 views

Client Object Model don't work without “cookies”

Problem could be reproduced for all types of Client Model Object (Managed, JS, etc..) for example (Managed Client Model Object): using (var context = new ClientContext("http:\\WebApplicationURL")) { ...
0
votes
1answer
1k views

Failed to retrieve the COM class factory for component with CLSID SP.SPRequest

On SharePoint 2010, we have one service running at SharePoint WFE which is using the SharePoint server API. If the SharePoint and our service are not used for couple days, we may get the following ...