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
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
34 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
26 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
43 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
39 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
49 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
96 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
36 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
84 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
24 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
2answers
931 views

Delete Item in Document Libarary using Client Object Model?

I have custom Database, this Database having SharePoint Item URL like(http://site.com/Shared Documents/a.pdf), so my challenge to remove this file from sharepoint Library using Client Object Model.
0
votes
3answers
3k views

Could not load file or assembly 'Microsoft.Sharepoint.Sandbox' or one of its dependencies

I created an ASP.net webapplication and i have used assemblies Microsoft.SharePoint; and Microsoft.Office.Server.UserProfiles in it.. i get a run time error "Could not load file or assembly ...
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
0answers
50 views

ListFieldIterator is not functioning as expected in List Form

I have customized my new form for my list using the below guide. ...
0
votes
1answer
43 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
83 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) { ...
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 ...
2
votes
0answers
35 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
85 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. ...
2
votes
1answer
422 views

What are the current options for a Sharepoint Online trial from Windows XP?

A year ago I had 30-day trial for Office 365 (Sharepoint Online 2010). Everything worked fine from my Windows XP SP3 (x86. 32-bit) for development from Infopath Developer and Sharepoint Designer ...
0
votes
0answers
29 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
120 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
47 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
2answers
60 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 ...
1
vote
0answers
24 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 ...
0
votes
0answers
17 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 ...
2
votes
1answer
55 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 ...
7
votes
4answers
4k views

Automatically add pssnapin Microsoft.Sharepoint.Powershell

I am developing in Sharepoint and I like more Windows Powershell than Sharepoint Management Shell. Every time I restart the development machine, I have to run Add-PSSnapin ...
1
vote
1answer
40 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 ...
0
votes
1answer
219 views

Set values in repeating table fields programmatically [closed]

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
111 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 ...
2
votes
1answer
150 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
1answer
41 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 ...
0
votes
2answers
92 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 ...
2
votes
2answers
105 views

Novice Developer

I have not been able to find any related subject here related to training patterns, Some of us who have gone through the C# basics and moderate courses as well as some other courses may be at loss ...
0
votes
0answers
29 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
37 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
284 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 ...
2
votes
3answers
340 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" + "/" ...
35
votes
61answers
6k views

List of SharePoint development tools

What tools do you consider essential in your SharePoint development toolkit? One answer per tool please so the community can vote!
0
votes
1answer
66 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, ...
0
votes
2answers
59 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
0answers
50 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 ...
5
votes
4answers
11k views

Get Site Collection full URL using javascript

I want to get the URL for my site collection. One way I thought I could do it was using the window.location in javascript and getting it that way. I know that you can use ECMA script and the client ...
4
votes
1answer
1k views

JavaScript error using date picker inside an update panel?

I placed the SharePoint date picker control inside an update panel and when I click on the calendar it gives me this error: Microsoft JScript runtime error: The value of the property ...