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
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
27 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
44 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
45 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
430 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
42 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
3k 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
1k 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
693 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
231 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
799 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
81 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
2k 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
96 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
30 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
6k 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
569 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
49 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
2k 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
133 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
146 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 ...
0
votes
0answers
34 views

SharePoint 2013 WebService and SSO C#

I have a SharePoint 2013 WebService and want to use SSO (Single Sign On). The service has been deployed in IIS 15 hive and converted to an application. Then I configured web.config ...
8
votes
6answers
11k views

In which situation use SPSecurity.RunWithElevatedPrivileges with superusertoken?

i have given permission only read only to Users Group.so there are not access to see listitem or any list. i have create application page with SPGridview with bind listitem. this page access by this ...
0
votes
1answer
100 views

HTML + JQuery (CSOM) to add multiple item to a Sharepoint list and get their IDs

I try to use HTML + JQuery in CEWP to build some sort of analog of InfoPath's repeating table in order to be able to insert multiple items in a Sharepoint list using CSOM. The current task is to get ...
0
votes
0answers
10 views

How to create Data Driven Custom Web Application in Sharepoint

I wanted to create dynamic web page and application based on my Excel or XML data. Is it possible to do in Sharepoint? How should I do?
0
votes
0answers
18 views

SharePoint 2013 Custom RSS Feed

Morning All, Thanks for checking out my post! I've been asked as a learning exercise to create a custom RSS viewer web part using C#. I've created a couple of the most basic web parts before, ...
1
vote
1answer
28 views

Scheduled task of User profile updation - best practice

I have wrote a C# code which will update two custom attributes of User Profile(for all users). Values for those two resides in different database(not in active directory). We need to run that c# ...
0
votes
0answers
19 views

Why SharePoint 2013 event receiver fires twice?

I have created custom SharePoint event. Event should create new promoted links list item, when I upload something to another library. This event works fine, except it creates duplicate items. I tried ...
0
votes
0answers
20 views

How To disabled followed up link?

currently having Conversation Web Part,on that webpart , we need to make the "Follow Up" option from the ellipsis a disabled link.The client does not want employees to be able to get here. ...
1
vote
1answer
42 views

Set show ribbon hide ribbon commands available programmatically

Set Site Actions -> Navigation -> Show and Hide Ribbon -> Make "Show Ribbon" and "Hide Ribbon" commands available to No How can we do the above programmatically?
0
votes
1answer
22 views

How i can edit fields “created” or “modified” and “modifed by” in sharepoint online c#

i want to migrate files and folders from disk to office 365 , i did it well , now i want to have the possibility to chage fields : "modified" and "modifed by" to affect the real value not associated ...
3
votes
1answer
772 views

Iterating over user profiles in Sharepoint Online 2013

With the on-premise instance of SharePoint, I am able to call the GetUserProfileByIndex from the User Profile Service to iterate over user profiles. However, with SharePoint online 2013, I get the ...