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
23 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 ...
1
vote
2answers
538 views

Add quicklaunch link with querystring parameter programatically

I want to add some links to Quicklaunch bar. The link needs to have query string parameters, eg.: /sites/project/default.aspx?mode=filter string url = "/sites/project/default.aspx?mode=filter"; ...
0
votes
2answers
80 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 ...
2
votes
2answers
41 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
1answer
384 views

SiteMapProvider for MySites' breadcrumb

My question is regarding the site map provider. I have a breadcrumb in the mysites and i use SPContentMapProvider to build the breadcrumb, but the problem is it always shows 'Home', so if im on my ...
0
votes
0answers
18 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
103 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
2answers
29 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 ...
1
vote
1answer
455 views

In a SharePoint List I cannot see items that are in a folder

I have a sharepoint list (Not Library), where I am programatically adding in a folder: SPList list = web.Lists[ListID]; SPFolder parent = list.RootFolder; SPFolder child = ...
0
votes
1answer
44 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, ...
1
vote
1answer
351 views

how to add multiple attachments to only one ListItem

This code creates a new listitem for every attachment but i only want to create 1 listitem and add all attachments to it SPList myEmployeeDocList = web.Lists.TryGetList("Document cv"); if ...
0
votes
1answer
33 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
32 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
34 views

Best approach to enforce loading of scripts

I've built a responsive SharePoint layout and although this is working in my main page, I'd now like to enforce this across the farm. I can see a few ways to do this (feature, edit masterpage) but ...
0
votes
1answer
51 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
31 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 ...
2
votes
5answers
2k 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 ...
0
votes
1answer
128 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
2answers
508 views

Open in a new window a document stored in SharePoint in C#

My problem is simple. From an aspx page, I need to open in a new window a document stored in Sharepoint. To access the document in SharePoint I need to provide credentials. To open the document in a ...
2
votes
2answers
406 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
0answers
30 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 ...
3
votes
2answers
3k views

Adding description to sharepoint link URL using the C# CSOM

I'm currently adding the URL except the description is an ugly link. I would like to add the description to the URL in a links list on sharepoint online. My current code to add a new item from an ...
2
votes
1answer
155 views

How to add Calendar to every “My Sites” Globally?

I want everyone in my company have their personal calendar in their SharePoint "My Site". It means that I don't want to log in with everyone's credentials and go to their "my site" and add calendar ...
1
vote
1answer
61 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 ...
1
vote
1answer
1k views

Add various Fields in a Sharepoint List Programmatically

i need a method where add various Fields in a Sharepoint List, but these Fields must be in the parameter of this method. Show me this method and how should I use it.
0
votes
1answer
785 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
2answers
1k views

Workflows and SQL Server Databases

Is it possible to create a workflow that is started by activity in a SQL Server database that is outside of SharePoint? Using a WebPart to put and modify data in a database isn't a problem. ...
0
votes
0answers
12 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
191 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
23 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
35 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
81 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 ...
1
vote
2answers
583 views

SharePoint 2013: How to get workflow status?

I need to be able to get the status of a SP 2013 workflow using C#. I've tried getting the WorkflowManager for the SPSite and calling the GetItemWorkflows, but I never get any results from that. The ...
0
votes
1answer
21 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 ...
2
votes
1answer
89 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 ...
4
votes
2answers
1k views

SharePoint 2010 FBA: Redirect on Sign Out

I'm using the SharePoint 2010 FBA Pack http://sharepoint2010fba.codeplex.com/. Basically, I want to redirect to the homepage once a user Sign's out. I'm unable to find this. Could someone please help ...
0
votes
0answers
34 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
0answers
49 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) ...
2
votes
1answer
1k views

How to add a webpart to 2nd “Top” Zone of a Webpart Page Programmatically

I Have a webpart page, which has layout as shown in picture, Now I want to add a webpart to second "Top" zone of my page but I dont know how to access it, If I want to add it to first top zone I ...
0
votes
1answer
61 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
21 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?
0
votes
1answer
43 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
25 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
21 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 ...
0
votes
1answer
27 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 ...
1
vote
1answer
30 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
29 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
36 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 ...
2
votes
2answers
156 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 ...
0
votes
3answers
411 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 ...