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
44 views

Get SP online site content via PowerShell or C# (for BackUp SharePoint Online Site content into local storage)

I need to BackUp SharePoint Online Site content into local storage. I know there is no tools for it (for SharePoint Online version). I want to write my own tool that will copy all site content to a ...
1
vote
1answer
51 views

Select People and Groups dialog is having wrong format on IE 10

I have created a site column of type “People or Group”. Which will automatically be associated with the following user selection dialog:- But as shown in the above picture the dialog will not be ...
0
votes
2answers
31 views

Get all active directory groups of a user

I have found many results on how to get all members of an AD group, but not the other way round. How can I get all AD groups a given SPUser belongs to and not just the SharePoint groups of that user ...
1
vote
2answers
61 views

why we need to use web.AllowUnsafeUpdates = true, we don't use these things with traditional ASP.Net Applications?

based on this post When & why I need to use web.AllowUnsafeUpdates = true "For reasons of security, by default, Microsoft SharePoint Foundation does not allow you to make posts from a Web ...
0
votes
1answer
30 views

field or property \“ListItemAllFields\” does not exist exception

Below code credit goes to Vadim Gremyachev. My goal is to grant user access permissions to certain SharePoint folders by using the CSOM. The goal I am trying to achieve is to access the library called ...
0
votes
1answer
24 views

Concatenating a javascript variable into a camlQuery

I have a caml query that I'm concatenating with a javascript variable of type string. It queries the column names 'Audience' and returns the first 3 ordered by the newest. The variable subsite gets ...
0
votes
0answers
4 views

Embed data sheet view of a list on a application page

I have a requirement where I need to show a data sheet view on a application page. Basically I have replaced the newform.aspx with a application page. This application page displays data from another ...
0
votes
1answer
19 views

how to assign data files path in sql server when creating new web application in share point

recently we migrated storage of all sql server databases to diffrent storage. and mounted back all content databases , and now sharepoint farm is working fine but, when i try to create new web app i ...
0
votes
1answer
34 views

PowerShell - Call function within a function

How to call one function inside another function along with passsing arguments in Powershell? Add-PSSnapIn Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue ...
2
votes
1answer
551 views

Extract text from document in a SharePoint 2013 library

I would like to extract the text from documents stored in a SharePoint 2013 online document library. I have the document loaded using: ClientResult<Stream> data = file.OpenBinaryStream(); ...
0
votes
1answer
22 views

Document asking to be checked out after checking out

I'm updating a file that contains versioning and previously it stated that the document requires checking out to edit so I run the following code that results with the same error: if ...
0
votes
1answer
25 views

Event handler triggered multiple times in close succession on doc lib causing issues

I'm using an ItemUpdating event with a Document Library to run a Task generation procedure. After stepping through, it's causing issues when I check out the document which I'm forced to do after ...
0
votes
1answer
14 views

TimerJob object update method object already exists

Trying to execute the Update method on a SPJobDefinition object, I notice that it recall the "empty Constructor" and returns me the following error: An object of the type ...
0
votes
1answer
28 views

Search List B for matching object property in List A Event Receiver

Need help understanding how Event Receivers work while referencing multiple lists. I have a document library, called 'Emails'. On an Email object, I have a lookup field called 'Candidate'. I have ...
0
votes
1answer
21 views

Get Current Licence type for SharePoint Farm using C#?

As the question says, I want to fetch the license type for my current SharePoint farm in my C# code i.e. current license SharePoint Server with Enterprise Client Access License I want to get the ...
0
votes
0answers
21 views

add workflow to sharepoint list from visual studio

I want to create a custom workflow for an existing list or library with code in visual studio without using his tool for workflow design. I want to create it programmatically such as CSOM model but in ...
0
votes
3answers
45 views

Remove item Content Type from custom list

I have created through Visual Studio a Content Type that inherits from Item and a custom list using this content type. What I would like is to remove the item content type that appears when creating a ...
0
votes
1answer
12 views

Retrieving Hash Code for Site Collection

$sc =Get-SPSiteAdministration -identity siteurl $sc | GetHashCode It doesnt work.. Is there any other implementation of the same?
1
vote
1answer
46 views

SharePoint CSOM File.LinkingUrl property not found

I am using Visual Studio 2013 and referencing v16 of both Microsoft.SharePoint.Client and Microsoft.SharePoint.Client.Runtime in a .NET4.0 application. According to the MSND page for a File object, ...
0
votes
1answer
37 views

Can we map excel row to sharepoint Lists

I am looking for a feature if we could map an excel rows in sharepoint or any other mechanism to generate an email after row in excel has been changed. **Problem ** Our customer uses sharepoint to ...
0
votes
0answers
22 views

Adding a custom ribbon tab breaks grouping by function in sharepoint list

So, I found this tutorial online as to how to add a ribbon tab in sharepoint 2013. While it works, whenever I add an OOb library or list and use grouping in that list, the items cannot be expanded but ...
1
vote
1answer
433 views

Listbox in webpart has no selection

I'm having a problem that's really blowing my mind right now, because it seems like some basic .net functionality isn't working properly. No doubt I'm missing something really obvious. I could really ...
0
votes
1answer
20 views

Adding Target Audiences Programmatically

I am trying to programmatically add target audiences to a webpart in SP 2013. Code below. SPServiceContext sc = SPServiceContext.GetContext(newSite); AudienceManager audienceManager = new ...
0
votes
1answer
30 views

Sharepoint ListViewByQuery webpart Group By shows intermittent Working on it

My problem is very similar to this thread : Expanding ListViewByQuery Web Part stuck on "Working on it..." But, in my case the issue only occurs if I use some other custom component that ...
0
votes
1answer
44 views

Moving item on ItemAdded gives Error

IN my event receiver, on Item Added event I have placed my custom method to move document based on a rule. The issue is when a document is uploaded in the Upload dialog I get an error saying item not ...
3
votes
4answers
4k views

Create list item in sharepoint list using REST API using C#

I have a requirement to create list item in a sharepoint online list using the REST API and c#. How to achieve this. Most of the article show using REST API in jquery and Javascript but I have a ...
0
votes
0answers
35 views

Error while adding a file to document library with the following code

I am using the following code to add a file to my document library, but it keeps giving me List data validation error (even if the values are correct!) myHashtable.Add("Text","Valid"); ...
1
vote
3answers
2k views

Retrieve all site collections

I want to retrieve all site collections in an Online tenant through Visual Studio: I can do it via Powershell: get-sposite on-premise server : Get-SPSite on-premise again: var sites = ...
0
votes
1answer
694 views

Why the files which are added as link in project are not deployed on SharePoint 2010

I have two projects in my VS solution, a project named "B" is a SharePoint 2010 project which has a mapped SharePoint "Layouts\js" folder and some other project "A". In project "B" I put various ...
0
votes
1answer
33 views

How to create a SharePoint Workflow in Visual Studio?

I would like to design a workflow in Visual Studio. The workflow consists of 4 approvers. The workflow should start when a new task is created in SharePoint list and it should send an email to both ...
1
vote
1answer
234 views

Fetch all users and Groups from a site collection using c# client Object model

I want to fetch all groups and users (outside of the the sharepoint group) from a Site collection using C# client object model. Currently i am bale to fetch all the groups and users inside those ...
1
vote
1answer
801 views

Modifying List View in C# Doesn't Work?

I am trying to modify a view for a list in a Feature Event Receiver. The list is created in the same function; and the columns all added to it. When I look in the List Settings via the web interface, ...
2
votes
2answers
82 views

Upload a File to a SharePoint Site

I am a newbie to sharepoint. I have a byte[] data and I want to upload it to sharepoint site using c#. I also want to pass credentials for it. Can anyone please guide me. I do not want to install ...
2
votes
2answers
3k views

reading sharepoint 2013 list item field error: value does not fall within the expected rage

Salam All, I have a SharePoint Task List with 2 custom fields - Category :lookup from category list - OriginalAssignedTo : User picker Allow multi, Users only When i try to read these 2 fields it ...
1
vote
1answer
20 views

Cannot find right configuration for ReceiverAssembly

I have a custom SPFeatureReceiver, which is supposed to run upon the activation of the feature. The Feature.template.xml has been modified to this: <?xml version="1.0" encoding="utf-8" ?> ...
0
votes
0answers
5 views

using employee id related to task id.

I have a task id i'm grabbing from the URL in a Share Point web part .I would like to get an employee id that is related to that task id without hard code it and use it to display some values. Can ...
1
vote
1answer
26 views

How can I compare A date in share Point list and the system date

Anyone help! I have a date on my share Point list and I would like to compare if its less than the Current date .Then after comparing I want to calculate the number of days between 2 date . Thank you ...
3
votes
1answer
70 views

Export Event with Attachment to outlook

I am exporting SharePoint 2013 Calendar event from custom command > Export event to Outlook. But the problem is that I want to export attachment along with event: By default it's exporting only ...
1
vote
1answer
99 views

List files and folders in Office 365 Sharepoint site

I'm hoping I can list and add folders and files to a specific Office 365 SharePoint site using Office 365 client API. (NOTE - I originally posted this Q to StackOverflow and was recommended to ask ...
0
votes
0answers
32 views

How to get the SP context in an MVC Post action in a sharepoint provider app

I have the following asp.net mvc view in my provider hosted app @{ Layout = "~/Views/Shared/_LayoutPage2.cshtml"; } @using (Html.BeginForm("Submit", "Customize", FormMethod.Post)) { <div ...
3
votes
5answers
7k views

Value does not fall within the expected range when iterating over all fields

I have a custom page that copies items from one list in one site to another, and its failing with the exception above. I tried checking the field using sharepoint manager but I didnt find anything ...
1
vote
2answers
67 views

Get the list of all users from Sharepoint Online

I'm using CSOM .NET library to access Sharepoint data via ClientContext. Is there a way to get the list of all users (including users who don't belong to any group) from Sharepoint? If not, is there a ...
2
votes
3answers
571 views

Getting Minor Version, Major Version, TimeCreated, TimeModified of document using CSOM

As a follow up to this post, I have a document that I am downloading from OneDrive library using CSOM. private static void DownloadFile(ClientContext context, string listTitle, int listItemId, ...
0
votes
2answers
50 views

How to get all major versions of List or Library Item using C#?

I have document library which has over 100 items. Each item has over 30 to 40 major & minor versions. I want to get only major versions of particular item programmatically using C#. foreach ...
0
votes
1answer
19 views

How to sort a list column in power shell and update list in share point 2010

using powershell script how to sort a list column before update a list item. here i created a document library and uploaded some documents and want to update ProcessNo column based on ...
0
votes
1answer
21 views

show created column should display seconds with created time after a document save in share point

I created a site collection with Document Center Template and created a document library, i uploaded documents and i want to see created column should display seconds with created time , because i ...
2
votes
1answer
3k views

Resource Time Tracking template in SharePoint 2010?

Do we have any free SharePoint 2010 solution to track the resource efforts? Something like:
1
vote
2answers
138 views

How to foreach through a list and get distinct values from specific columns C#?

I'm able to loop through a list on sharepoint and get the information I need from selected columns, but how would I loop through a list and get only distinct values from a column in C#. For instance ...
0
votes
2answers
154 views

How to rename a folder via csom c# in SharePoint List?

How can I rename a folder in a list via CSOM (c#). I tried it with: var folder = ctx.Web.GetFolderByServerRelativeUrl(folderRelativeUrl); ctx.Load(folder); ctx.ExecuteQuery(); var folderItem = ...
0
votes
1answer
39 views

Create sub-site in SharePoint Online without using SharePoint Client Model in C#

I am trying to create a sub-site in SharePoint Online using REST APIs in C#. I don't want to use Microsoft.SharePoint.Client as the use of this DLL requires installation of SharePoint Client ...