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
1answer
68 views

Farm solution deployed to my web application , is not available to new site collections

I have a .wsp Farm solution deployed to my web applications, as follow:- I have created this solution using VS .Now inside my current web application I have 2 site collections. Old site ...
0
votes
1answer
58 views

Sharepoint 2010 : Custom List Context menu (ECB) editing and customizing with custom actions

I want to Add a custom Action or link as "Email to" in the EditControlBlock or the Context menu for custom list that i have created as shown in the Picture below. This "Email to" button should send ...
0
votes
1answer
31 views

Copying documents with versions

I have a requirement to copy the documents from one library to another while not loosing the version history. I am aware thhat using the explorer view, I can drag and drop the files which retains the ...
0
votes
1answer
29 views

Rich text box having { } getting converted into its ANSI value

I have a list in which one column is of type Rich text box. I am using a console application which reads this list's item and replace a substring for example RichTextColumn contains value [subtext] ...
0
votes
1answer
53 views

Value doesnot fall in expected range - URL column sharepoint programatically

I have a Sharepoint url column and retrieving the value programmatically C#. But I get the error always Value does not fall in expected range. I have the field URL which is a hyperlink type, I ...
0
votes
1answer
20 views

Potential job as IT Specialist/Sharepoint Developer.. have some questions!

Okay, so here's the deal: I have lots of self-taught experience with web development, with one pretty successful website built on PHP/MySql with a front end of Html, Css, Javascript, and the Jquery ...
0
votes
1answer
19 views

Problem in displaying the history of the Comments field inside my List views

I have added an Issue tracking list to my team site, which provides a build-in field for displaying the history of the list comments (i rename the built-in column to be named Latest Updates instead of ...
0
votes
1answer
79 views

Getting (403) Forbidden.Error for another ClientContext

using (ClientContext tenantContext = new ClientContext("https://site-admin.sharepoint.com/")) { SecureString password = new SecureString(); foreach (char c in ...
0
votes
1answer
33 views

How do I programatically edit the contents of an .aspx SitePage or page or wiki?

I'm trying to programatically edit a page that is being transitioned from server #1 to server #2, #3... etc. I tried including the page inside a module, and later on opening it and extracting its ...
0
votes
1answer
20 views

Assembly Issues with Workflow

I updated a custom workflow (pure c# code) in SharePoint. Everything looked fine at first, but now I found the following errors in the ULS-Log: Load Workflow Assembly: ...
0
votes
1answer
37 views

Redirect after item is added in the main window, not in the pop up dialog box

I have an issue in SharePoint 2010, in ItemAdding event i've created some action to be taken when the action is happening and the item is being added, so after that i would like to make sure that the ...
0
votes
2answers
193 views

Sharepoint 2013 web part does't impersonate current user, while SP 2010 does?

I'm developing full trust web part deployed in GAC that access soap web service on localhost. Web service uses windows authentication. SP 2010 web part impersonates current user while SP 2013 sends ...
0
votes
1answer
2k views

SharePoint Foundation DistributedCache Monitorable Token Cache: Failed to get token from distributed

I am working on an enterprise wiki site collection, currently when users try to add/edit a wiki page sometimes they got the following errors :- :- Sorry, something went wrong An unexpected error has ...
0
votes
1answer
48 views

How do “Send Alerts for These changes” works, inside “Alert Me”

I have a publishing site collection using the enterprise wiki, and then I have configured the outgoing email. Currently when users click on “Page Option  Alert Me” they will get the following ...
0
votes
2answers
54 views

Change “created date” and “created by” values for my default publishing site's welcome page, after a backup/restore

I have developed an enterprise wiki site collection inside my staging server , then I backup , restore the enterprise wiki inside my live server. But currently the created data for my welcome page is ...
0
votes
2answers
221 views

How to allow for autocomplete Person/Group for a new custom site column of type Person or group

I have added a new site column named “Assinged To” of type “Person or Group”, then I added it to the page layout. The final result was that I can search for our active directory user/groups.but if I ...
0
votes
1answer
87 views

SP13: Remove Page Horizontal Scroll Bar

I have made changes to the master page on a SP13 page. An horizontal scroll bar appears at the bottom of the page. The following piece of code I have that adjusts the height of the scroll bar, but I ...
0
votes
1answer
79 views

How to get C# to recognize argument passed through PowerShell

I'm using PowerShell to call C# code to turn list alerts on or off on a specific list. When I try to use [AlertsOnOff1.onOff]::Main("off") to call the Main method and pass the arugment of "off"the ...
0
votes
2answers
30 views

Enable editing docs but restrict uploading new docs - SP 2013

Im using SharePoint 2013 foundation. The site level users are stored in a custom sql datatable. Users can download documents in a document library via a web part link. (SPGridView link) Users should ...
0
votes
2answers
72 views

I need help in adding a web control to a page layout

I am trying to follow the steps described inside the following link , which mainly require adding a web control and then reference it from a page layout:- ...
0
votes
1answer
60 views

how can i display the latest items from another site collection

I have a web application, with three site collections . and i want inside my team site to be able to display the latest pages that have been added to my enterprise wiki site collection. so what are ...
0
votes
1answer
43 views

Does site collection backup , also backup any custom web parts

I have created a custom web part inside my visual studio 2012, and i publish it to a site collection. now i have backup the site collection to move it to another server. but my question is, if I ...
0
votes
2answers
335 views

SP13: Opening PowerPoint Presentation into Slide Show

I am using SP13 and wanting to upload a PowerPoint presentation to document library. After I upload the document to the library I would like for the presentation to open into a slide show. I have ...
0
votes
1answer
17 views

Why does a Content type revert to default content type on its own?

This is a large, multi-disciplinary site that is routinely grouping and filtering documents by content type. If the content type is changing on their own this is going to break our views and make all ...
0
votes
1answer
71 views

Web control is not safe

I have a code which is deployed with the delegate control, but when i try to call it in the logs i see an error: class 'My.Custom.MyWebControl': The control with assembly name xxx' class name ...
0
votes
2answers
301 views

SPUtility Send Email for mulitple users

I am trying to send an email to multiple users using SP Utility Send Email I am using visual studio, c# But i am facing issue, as i am trying to specify email addresses as a ,b Should i be using ...
0
votes
1answer
30 views

Wrong hyperlink is generated for custom central administration action group image

I have a custom action group deployed to central administration; something like "Contoso IT" in this picture: The problem is that that for some reason, the hyperlink for "Contoso IT" (the title) is ...
0
votes
2answers
115 views

Linq get Distinct or first from multiple group

Ok, I'm not understanding something here with what I am attempting to query here. I have a list like the following. Title Subject Content Date ...
0
votes
1answer
333 views

CAML query where date field is greater than another date field

Is it possible to write a CAML query that uses another field as the Value part of the filter? For example in SQL it would look like this: WHERE Field1 > Field2 This was by best guess but it is not ...
0
votes
3answers
72 views

Building a Sharepoint project - the big picture

I'm a Sharepoint beginner so my question could be naive but I wasn't able to find any answer. Could someone give me a brief guide about developing a complete, enterprise class solutions in a shorat ...
0
votes
2answers
129 views

Move SharePoint list items into folders that exists in the same list programmatically?

Respected members of StackExchange, kindly help me with your kind suggestions to solve the issue. I have +20,000 items in a SharePoint list that i want to move into the folders that also exists in ...
0
votes
1answer
956 views

How to get specific list items in Document Library subfolder?

I'm attempting to retrieve items from a subfolder in a document library. I must get these items where value is 'Like'. How can I do this via C# using the SP object model or by CAML query? this is ...
0
votes
2answers
38 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
235 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
661 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
71 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
764 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
175 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
74 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
238 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
470 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
70 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
60 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
3k 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
42 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
68 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
494 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
264 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
147 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
27 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?