Tagged Questions

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
0answers
19 views

SharePoint Trust Relationship Thumbprints in C#

I've been trying to find a way to get all of the certificates which are currently loaded into the SharePoint 2013 'Manage Trusts' section of Central Administration. I'd like a way to enumerate all of ...
3
votes
1answer
504 views

Change masterpage from Seattle to Oslo using CSOM, Sharepoint online

Using CSOM and c#, I would like to change the master-page from Seattle to Oslo. Can anybody help me?
0
votes
1answer
134 views

Create Sharepoint group and assign permission, Sharepoint online

Using c# i would like to create a sharepoint online group and assign a permission to that group. According to this: http://msdn.microsoft.com/en-us/library/fp179912.aspx i am able to create roles, ...
1
vote
1answer
193 views

Forms Based Authentication Sharepoint 2013 Application Forbidden error 403

I am making a Provider-hosted application for SharePoint 2013. I debug this application on a Development Collection with both Windows Authentication and FBA (Form Based Authentication) activated. I ...
0
votes
2answers
46 views

How can one learn the overall Sharepoint development ecosystem? [closed]

Since Sharepoint is such a huge platform with so many components and it can be used in so many different ways, I was wondering if there are good examples of sample projects which demonstrate how the ...
2
votes
2answers
51 views

Problem in batch processing data with angular bracket

Trying to insert some data into multiline of text SharePoint field using batch processing. It was working fine if it doesn't have any words within <> angular bracket. If it has any words inside the ...
0
votes
1answer
50 views

How do you tell if a site (SPWeb) was unsuccessfully provisioned programmatically?

I have an application that is running periodically using the task scheduler. The Application gets a list of projects from a database and checks to see if there is a corresponding sub-site in the ...
0
votes
0answers
54 views

SP 2007,Unable to cast COM object of type 'MSt.SharePoint.Library.SPRequestInternalClass' to interface type 'MS.SharePoint.Library.ISPRequest'

Unable to cast COM object of type 'Microsoft.SharePoint.Library.SPRequestInternalClass' to interface type 'Microsoft.SharePoint.Library.ISPRequest'. This operation failed because the QueryInterface ...
2
votes
2answers
66 views

asp.net project and sharepoint project

I have a problem with asp.net project, I can't acces to my sharepoint site, I have a error message when I do : using (SPSite site = new SPSite("http://<SharePoint_Site_URL>")) So I'm asking ...
0
votes
0answers
24 views

Digitally Signing Forms using _Signature never valid

I have a problem with a SharePoint project in VS 2010. I try to sign an Infopath form from my SharePoint project (with C#) but when opening my signed form I've got a message box that says : One ...
0
votes
2answers
305 views

How to get groups and their roles/permissions on each individual subsite, without including groups from child elements (such as libraries)?

Using CSOM and C#, how can I get the groups that have permissions on a site along with their roles, given that I have the name of the subsite? Language might be a barrier here, and I tend to explain ...
0
votes
2answers
53 views

How to detect when a new item version is added in an event receiver?

Is there a way to detect (in C#) if a new item version was added in either ItemAdded or ItemUpdated event? I would only like to execute some code when either new item is added, or a new version of the ...
0
votes
1answer
74 views

Unable to add .exe file to SharePoint 2010 using Client Object model after it has been removed from blocked files list

Language: C# Framework: .Net 4.5.1 Environment: SharePoint 2010 - Windows Server 2008 R2 My software is used to upload files to sharepoint. It works perfectly well for the majority of files. However, ...
0
votes
1answer
47 views

Is a Standalone SharePoint 2010 Server Good Enough as a Test Environment for Production SharePoint Farm

I have inherited SharePoint 2010 at work and would like to test some features we are not utilizing. I would like a testing environment for SP but being limited on resources, I want to set this up on ...
-1
votes
1answer
38 views

Master Page Format Change

I am taking the plunge to change a master page format. I am wanting for the text to appear in the middle of the page with a frame around the text. Question. Does anyone know on how this can be done? ...
0
votes
1answer
66 views

Sharepoint Current user

I am using following code in masterpage to print current user welcome, <%= Microsoft.SharePoint.SPContext.Current.Web.CurrentUser.Name%> My output is as follows welcome, Smith, Rick ...
1
vote
1answer
41 views

How to embed SPList to a custom application page?

I have a custom central admin list and would like to insert it to a custom application page in a way that would make it look exactly like it does if you access the list via its URL - i.e. it should ...
0
votes
1answer
503 views

Do I have a future career as a SharePoint developer? [closed]

I'm a recent graduate with a BS in Business Administration/Management Information Systems. I've been working as an intern in corporate IT for a large company for the past year. I started with basic ...
0
votes
0answers
64 views

Copying list items's attachments

I have to modify a .Net console application written in C#. The application references the following assemblies : Microsoft.SharePoint Microsoft.SharePoint.Client Microsoft.SharePoint.Client.Runtime ...
0
votes
2answers
376 views

How to programmatically get all groups that have permissions on site?

I found this question and that person was asking how to get all the groups from a site, but instead he already has code that returns groups that have permissions on the site. And that is what I am ...
0
votes
0answers
13 views

Get IconURL from Microsoft.SharePoint.Client.File object [duplicate]

I am using Microsoft.SharePoint.Client.File object by iterating through a FileCollection. The problem is that this object does not contain the IconURL property. Due to certain reasons, I can not use ...
1
vote
2answers
1k views

Get selected value of dropdown choice list item

I'm trying to get the selected value of a dropdown list item. Nothing works. SPFieldChoice dropdown = list.Fields["Admin Guide"] as SPFieldChoice; var choices = dropdown.Choices; var selection = ...
0
votes
1answer
68 views

SPSite.AllWebs vs SPSite.OpenWeb

What are the benefits of using SPSite.AllWebs over SPSite.OpenWeb and vice versa when it comes to using-statements and/or checking if a SPWeb with a specific URL already exists?
0
votes
1answer
108 views

Microsoft SharePoint is not supported with version 4.0.30319.1 of the Microsoft .Net Runtime

I am developing a windows service in C# and adding dll for SharePoint. I have added reference from C:\Program Files\Common Files\Microsoft Shared\Web Server ...
0
votes
1answer
52 views

What user executes the code when running SPSecurity.RunWithElevatedPriveleges?

I have done research on this and still can't find a strong answer. Some soures say that when using SPSecurity.RunWithElevatedPriveleges that the code is executed as a site collection admin. Some ...
0
votes
1answer
340 views

Determine if field exists in client-side object model?

I want to check to see if a field exists in my program, but If I use : if (item[_strContainingFieldName] != null) { item[_strContainingFieldName] = fieldValue; } I receive an error stating ...
0
votes
0answers
79 views

Custom CallOut menu in SharePoint hosted app

Is it possible to add callout menu to all the document library using SharePoint hosted app? I have seen some reference links: 1) ...
0
votes
0answers
89 views

How can I change a list item's user permissions programmatically?

In my SharePoint list, there are different users in different list items. By using C#, I want to change the users' permissions to "Read", but I couldn't find an exact solution for this. If you can ...
0
votes
1answer
228 views

Issue with SP.UI.ModalDialog.showModalDialog. Page is not being open

I have issue with SP.UI.ModalDialog.showModalDialog. I am working on SharePoint 2010 web-part. In that I need to open the page in SharePoint custom popup. So I have used ...
0
votes
0answers
32 views

Remove document from in-place hold with CSOM?

Is there any way to remove a document from an in-place hold using SharePoint CSOM?
2
votes
1answer
282 views

Get ULS log records programatically

Is it possible to retrieve records from ULS log using C#/SharePoint API without having to manually parse log files? I would like to display logged messages on a custom web page, and I would like to ...
0
votes
1answer
270 views

Object Model List all users with full control on a sub site in SharePoint 2013?

If I have a sub site URL and a user with Site Admin, can I list all users in that sub site that have Full Control at that level? Any C# code sample?
0
votes
1answer
48 views

Activating web feature from event receiver doesn't do anything

I have the following code that should run to automatically disable the Minimal Download Strategy feature when a new site is being provisioned. Unfortunately nothing happens. No errors are captured in ...
0
votes
1answer
34 views

Add google drive editing functionality to sharepoint

I am trying to upgrate from lotus domino to Sharepoint. I am currently using Domino with files where multiple people can work in the same time at. Like google drive where anyone who can edit the file ...
1
vote
1answer
62 views

Feature stapling always returns item does not exist: it may have been deleted by another user

I'm attempting to create a feature stapled solution that pushes out custom branding to every new site collection created. The following code is in my event receiver: public override void ...
0
votes
0answers
58 views

SP/Visio: Shape Mouseover

I created a Visio 2013 diagram and connected it to SharePoint as a webpart. The shapes that are within the Visio diagram are linked to pages. Is there a way to add the mouseover function to the ...
0
votes
3answers
51 views

SPException while geting a folder as an SPListItem

This sounds like something easy but I some how can't find an answer. I am trying to get an SPItem from a SharePoint list (the item is a folder) so that I can set certain permissions on the folder ...
0
votes
3answers
2k views

How to use SP.UI.ModalDialog.showWaitScreenWithNoClose to display custom loading message?

I use a modal dialog to display my custom aspx page. However, the page takes some time to load, and I would like to provide custom loading message while the modal dialog is loading. I found out here I ...
0
votes
1answer
88 views

Using C# Script in SharePoint Page

I've done quite a bit of searching (several hours actually) but I haven't been able to get this working. Basically, I have this button: <asp:Button runat="server" Text="Go!" id="go" ...
0
votes
1answer
71 views

Form template for generating pdf file with list item

I have a task that requires generating a pdf that has the salary details of an employee. The data is stored in a custom list. I need to use some kind of template for the pdf to show the data in an ...
2
votes
2answers
73 views

Which is the best possible way to connect to SharePoint Sites using Client Object Model

I came across a complex situation (imo) which is why I am asking this question. I am developing an application where in, I connect to all SharePoint Sites specified by user and all its sub sites using ...
2
votes
2answers
474 views

Unable to Delete Custom Master Page Programmatically During Feature Deactivation 2013

I currently have a custom master page that is being deployed at the Site scope. Once deployed and the feature is activated it makes the master page available for use. I am able to activate the ...
1
vote
2answers
75 views

What different ways can jQuery be added to SharePoint Sites?

As the question states, What different ways can jQuery be added to SharePoint? Lets say that we have deployed jQuery to SharePoint. We can add it through: Master Page. Adding it to a new Site ...
2
votes
0answers
279 views

Changing the Modified Date of a List Item using the SharePoint Client Object Model (C#) with Contribute Permission

I have a small snippet of code that I use to update the Modified Date of a list item and it works great for users with Full Control permissions. However, for users with just Contribute access to the ...
0
votes
1answer
152 views

Sharepoint 2013: SPweb.Groups.GetByName(groupName) throwing exception

I am trying to create a new SharePoint group programmatically (using .Net), for this I am using the following C# code //greate group with no users: ...
2
votes
2answers
798 views

Java script alert box is not getting displayed through code behind file C#

I need to implement a functionality in which first I have to show Java Script from code behind file and then user needs to be redirected to other page. I have used both ...
0
votes
0answers
28 views

Sharepoint 2010 and WCF interactions

I try to read and create XML files on a Sharepoint 2010. I know that Sharepoint exposed some services used to interract with the application (like /_vti_bin/ListData.svc or /_vti_bin/Lists.asmx or ...
1
vote
1answer
46 views

Feature Upgrade on XML defined lists

I had created a project that defined some content types and lists via XML. After it's release we need to make some updates to this feature to include some new functionality. My concern is that since ...
0
votes
0answers
18 views

SP13: Extracting Data from List to External Devices

I am not sure if this is possible, but it's worth asking. SP13 allows data to be exporting to Excel and other applications. However, is there a way to extract data from a list or document library to ...
0
votes
0answers
22 views

SP13: List Item Modified Indicator

When I create a new item in a list a "green" indicator appears next to the item. The "green" indicator appears signaling that it's a new item. Is there a way in SP13 that when an existing item on ...