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
2answers
31 views

Where should I put 3rd party assemblies needed by my project if GAC is not an option?

SharePoint makes it easy to deploy various resources via mapped folders in your Visual Studio project, e.g. Images mapped folder is where you put images needed by the project. My question is: where ...
0
votes
1answer
189 views

Programmatically adding group to Site Collections

I am trying to create a user group in SharePoint using the following code: // check if group exists SPGroup newGroup = OfferWorkspaceUserGroup.GetGroup(web, name); //create group with no users if ...
0
votes
2answers
417 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
56 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
2answers
482 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
1answer
96 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
58 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
233 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
1answer
330 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
54 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
3answers
53 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
36 views

Disable drag and drop option for multiple file uploader [duplicate]

These are the screenshots of multiple file uploader from the same SharePoint 2010 site. Some users are seeing the first and some are seeing the second one. Is it possible to disable the second ...
0
votes
2answers
58 views

How can I compare the date of files with REST query?

I am using SharePoint OneDrive for Business and connected to this storage REST API. And I need to get metadata only files created or updated after some concrete time For example, I need all files, ...
0
votes
3answers
394 views

Can we create Excel file using c#?

I would like to know if it is a good idea to create an excel file using c# in sharepoint? I've tried to find js libraries but despite ExcelBuilder which seems really complicated to use i can't find ...
0
votes
2answers
157 views

Custom webpart to display HTML form which supports adding additional dataRow on the fly?

Would like to build a WebPart which will display an HTML form(allow the users to add the data rows as many as required) and will insert the data into the SharePoint list on the submit (based on ...
0
votes
1answer
126 views

Can't delete SPWeb from PowerShell or C# Object Model

I have a very strange situation - two sub webs were created through some code but it errored out part way through the process and now I am left two webs I can't seem to delete. The strange part is ...
0
votes
2answers
26 views

numeric column to autofill

I created a column for a number and I selected default value and populated the box with 180. I does not fill the field with the default. How do I autofill?
0
votes
1answer
54 views

SPFile.OpenBinary method from URL

I would like to use this method to get the byte information from a document based on its URL so that I can copy it to a new location. I have only seen examples using file.OpenBinary(); where file is ...
0
votes
1answer
720 views

How to get plain text out of a multi line text field in Client Side Object Model?

I am trying to read plain text from a MultiLineTextField in a List. This is how my code looks so far: //Get connection ClientContext context = new ClientContext("URL"); Web site = context.Web; ...
0
votes
2answers
69 views

SharePoint Jquery Condition

I am very new to SharePoint development and code. I do have a requirement to have a conditional Jquery in SharePoint list form. In a list there are 5 columns/fields and all are text type. If a user ...
0
votes
2answers
43 views

Sharepoint 2010 Application Deployment

I have a VS2012 solution with a few visual web parts in it. When I run the project it deploys it to my local server and my web parts are available for my local sharepoint. How can I deploy these new ...
0
votes
1answer
298 views

How to Attach file to Outlook Application

I am trying to attach a file to outlook Application using java script.Its working fine in IE 10 and above but not in any other browsers. Here is my requirement. For Document Library a. When a user ...
0
votes
2answers
95 views

SharePoint Online DEV and UAT Environment Set up

We have recently moved to Office 365 and as part of this we have started using the SharePoint Online. I need to set up both DEV and UAT environments and start Developing few Webparts, Workflows and ...
0
votes
2answers
198 views

How to read and output the XML within an SPFile?

I have this line of code that retrieves an XML file and saves it as an SPFile object SPFile XMLFile = SPContext.Current.Web.GetFile("C:\\Users\\maleem\\Documents\\XMLTest.xml"); I want to get the ...
0
votes
1answer
352 views

Can I deploy a sandboxed solution from Visual Studio to SharePoint online?

Apps are great for many things but hosting a service for a one-off customization of a host web seem a little overkill. I want to use a sandboxed solution for things like branding and data structure ...
0
votes
4answers
236 views

How to develop/test Sharepoint functionality on a desktop machine?

so far I have very profound knowledge in C# developement of desktop applications with Winforms. Now my task is to learn sharepoint. But there are some points I do not understand. As far as I got it ...
0
votes
1answer
201 views

Set BooleanField Value

I'm trying to set value for BooleanField on my custom NewForm. If I try to do it from codebehind, visually it doesn't change, but when the item will be saved this field will be empty (neither true nor ...
0
votes
1answer
79 views

How to get the version comments using webservice?

IN a Nintex workflow(not really relevant), I need to get the User comments for a page, (the last version comments), however Nintex does not show comments in the item properties. For this I need to ...
0
votes
2answers
107 views

Are farm admin privileges required to update SPContentDatabase property bag?

If I store custom data inside SPContentDatabase.Properties, must I be farm admin to be able to update it? E.g. SPContentDatabase contentDatabase = GetContentDatabase(); ...
0
votes
1answer
420 views

How to deploy ItemAdded event receiver to the entire farm? [duplicate]

I have created an ItemAdded event receiver that is supposed to process new documents/files after they've been added to any document library in the farm - i.e., I'd like the event receiver to ...
0
votes
1answer
82 views

Create a sharepoint groups does not work, index out of range

The following code has been tested in dev, test environments and it works perfect. However when I run it on qa environment I get the following exception: ...
0
votes
1answer
154 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 ...
0
votes
3answers
355 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 ...
0
votes
1answer
106 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
1answer
25 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
1k 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 ...
0
votes
1answer
360 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
1answer
2k 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 ...
0
votes
1answer
353 views

C# custom list checking

I have made new custom list (throught sharepoint), and I have only add couple custom fields, which type is TEXT. I have rename that TEXT example "Extra". I know how I can read list through code. ...
0
votes
2answers
960 views

Import File from SharePoint and Link this file with SharePoint (File- Excel File)

I am using SharePoint 2013 and Microsoft Office 2007 or above. Scenario: I upload a Excel file to a SharePoint 2013 list. Now, I want to import this Excel file from this SharePoint list back to ...
0
votes
1answer
48 views

What would be the best approach for assigning permission for the document in library?

I working on a requirement in which there are contributor list for each document in sharepoint library. The contributor may be unique set of users for each document. I wanted to know what would be the ...
0
votes
1answer
737 views

Unable to get event receiver to work with Document Library

I have created a Document Library named Attachments Library. In the library I have created an additional mandatory column of File Details. I intened to use this field to capture some metadata about ...
0
votes
1answer
80 views

Get Items from limited list by providing username and password - C#

I'm using this code in order to get items from SharePoint list. I have a SharePoint list that limited to certain users. How can I provide by this code (or else) a username and password and login as a ...
0
votes
1answer
32 views

Creating a Table in PDF and updating the values in the table SharePoint 2010 programmatically

I am looking into adding a table into pdf with the columns - approver name and approver comments using c# code in console application. and then update the columns with values like "approver1" ...
0
votes
1answer
1k views

Sharepoint 2013 foundation custom css

I am having trouble adding my custom css file work in Sharepoint 2013 foundation. I added a link tag in both v4.master and seattle master pages but to no avail. I thought it would be straight forward ...
0
votes
1answer
263 views

Lookup field with formatted text

I've created several lookup fields programmatically in existing lists, currently they render with just one field as the text value, however I'd like them to display the contents of two text fields ...
0
votes
3answers
450 views

Sync two SP calendars

My criteria is as follow: If I add an event in Calendar A , then I want the same event to be added in a different calendar B with some condition. So that I don't have to pick a specific item from ...
0
votes
1answer
68 views

SharePoint 2010 Foundation with Search Server Express 2010 VS SharePoint 2013 Foundation

I am wondering if I install SharePoint Foundation 2010 with Search Server Express 2010, will I have a product as good as SharePoint Foundation 2013's search features? I am looking to make my ...
0
votes
1answer
87 views

Additional page head delegates with 2 scripts

I have a question regarding the additional page head delegate control. Basically this delegate controls helps to register some scripts in my case. But i have 2 different additional page head delegate ...