The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.

learn more… | top users | synonyms (3)

1
vote
2answers
21 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
17 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
12 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
18 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
26 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 ...
-2
votes
0answers
14 views

Bootstrap DataPicker in SharePoint 2010 [on hold]

How to use Bootstrap Datepicker in SharePoint 2010 Application Page?
0
votes
0answers
27 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"); ...
2
votes
2answers
51 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 ...
1
vote
1answer
15 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
1answer
31 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 ...
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
25 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 ...
0
votes
0answers
15 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 ...
0
votes
1answer
22 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
52 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 ...
0
votes
2answers
31 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
17 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
15 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 ...
-1
votes
0answers
32 views

Update folder properties in library using CSOM sharepoint online C#

My code create folders in a SharePoint library (directly in a library or inside other folder) every time I create a folder I need to edit his field Modified . My code is : (the commented code ...
0
votes
2answers
75 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
25 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
20 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 ...
0
votes
2answers
84 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
1answer
58 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
8 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
13 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, ...
0
votes
0answers
11 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
19 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
27 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# ...
1
vote
1answer
22 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
18 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 ...
0
votes
1answer
34 views

How to list libraries of site and subsites of office 365 (c#)

How can I get a tree view that contains all the sites and subsites, and the list of libraries for each one of those? (I use C# , Office 365, Windows Forms) I tried this and it's ok but i just have ...
0
votes
2answers
49 views

SharePoint 2013 Development on Surface Pro 3

I am considering buying a Surface Pro 3 i7 8gb with 512gb storage and I am thinking of using it for development. I am wondering if anyone here has used their Surface for SharePoint 2013 development. ...
2
votes
1answer
44 views

Check user exist in active directory group without RunWithElevatedPrivileges

Yes I know it is duplicate question of this and this, but I want to check if user belongs to active directory group with out RunWithElevatedPrivileges. Is it possible? ...
0
votes
1answer
15 views

LDAP query not working in custom web part

I have a custom web part which will pull Active directories custom attribute(logged in user). For testing purpose currently I am trying to get "mail" of currently logged in user. But it is not ...
0
votes
0answers
16 views

Missing Site Collection Features

I'm having trouble with mirgrating a subsite template to a new sharepoint site. When I try to create the new subsite, I get a list of required features that I cannot find on the site collection ...
0
votes
1answer
22 views

Get a webpart in the webpart gallery

I am trying to get a webpart from the gallary to add to a webpart page. It fails on the GetFile line saying that it can't find the file but the file is in the gallary. Is the code/path correct? ...
0
votes
2answers
33 views

Acces Active directory users custom attribute from sharepoint

We have a custom attribute in Active directory for all users, say 'HCODE' and I have to access 'HCODE' based on logged in user and to pass that value to the SSRS reports. So far I have done this ...
0
votes
1answer
55 views

GetListItems /_vti_bin/Lists.asmx

I need to get a item by a giver url. (SP2010) I am using the Lists.asmx web services. (I can not run code on sharepoint machine). I tried this: SPWSList.Lists queryListService = new ...
0
votes
0answers
27 views

Get\Set values from SharePoint 2013 custom fields

How Get\Set values from ListItem SharePoint 2013 custom fields using CSOM and C#?
0
votes
1answer
21 views

How to display data into an asp:Repeater from two different SharePoint List programmatically

So basically, I am new in Sharepoint Development and I am having a hard time using asp:Repeater. I want to display all the data from one SharePoint List and find some of its related field in the other ...
0
votes
1answer
23 views

How to find if a sharepoint list was created from external content type?

Is there a method or way to know if a list was created using External Content Type with Sharepoint Designer? Something like: list.IsCreatedFromExtContentType
0
votes
0answers
34 views

String was not recognized as a valid DateTime

I am fetching data from external list using SPListItemCollection.GetDataTable() method. But this method throws error: "String was not recognized as a valid DateTime.Couldn't store <2015-03-24 ...
0
votes
0answers
14 views

List Data Validation still fails for document library when data is valid

I have a document library with a column with Column Validation. Whenever I try to add a file to the document library, it fails even when the data input is valid! try { file = ...
0
votes
0answers
16 views

How to handle the list data validation error in document library sharepoint

Sharepoint has an exception SPListDatValidationException that is thrown when column data validation fails. Pretty neat thing as I can use it to find the fields causing the validation failure and ...
1
vote
1answer
22 views

Is it possible to disable column validation programatically?

I am having the same issue as this thread here : SPListDataValidationException in an event receiver on a task list with Overdue tasks. When I use item.Update();, an exception is thrown "The following ...
1
vote
1answer
36 views

Where to keep configuration for SharePoint solution

Where do I store a configuration of a sharepoint solution? The solution has a feature activated on a site collection, so there will be multiple instances of it running on a farm. Installation and ...
0
votes
2answers
33 views

How to Get all SharePoint SpUsers from SpFarm with C#

How to get a list of all users in a certain Farm in SharePoint by code? Is there any away to do that without must iterate every SPgroup in every SPWeb in every WEApp?
0
votes
4answers
75 views

Add Page links programmatically to Sharepoint Quick Launch

I have a solution that deploys a web part with a web page, and I would like it to also add a Quick Launch home screen link to the created web page. I tried a little code sniplet, that I added to my ...
0
votes
0answers
25 views

View property “InplaceSearchEnabled” in onet.xml ignored

i couldn't get the InplaceSearch displayed on my webpart through onet.xml. in my onet.xml file: <View List="Lists/Aufgaben" BaseViewID="1" WebPartZoneID="TaskTab"> <![CDATA[ ...