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

learn more… | top users | synonyms (3)

2
votes
1answer
84 views

Query list for all list items and their attachments using CSOM

I've used the following code to retrieve the list items on my SP site. The following code will return "Value does not fall within the expected range" if I try to get the AttachmentFiles: ...
1
vote
0answers
30 views

Is it possible to add existing site column to list using REST?

Is it possible to add an existing site column to a SharePoint list with REST? The MSDN documentation shows that a field can be added using /fields/addField but all the examples I have seen just create ...
1
vote
2answers
44 views

Limiting the Number of Attendees

Created a list that keep tracks of people signing up for a class. Is there a way I can set a custom list that will not allow anyone to be able to sign-up if it reaches a certain number of people. I ...
1
vote
1answer
41 views

CSOM: How do I loop through Files in a Folder and get the data from associated List columns?

I'm new to the Sharepoint client object model and I'm having difficulty getting all of the items from a particular List along with their column data. I think it's confusing me because it's actually a ...
2
votes
1answer
96 views

ServerUnauthorizedAccessException Getting the Term Store in Office 365 CSOM

I have a Sharepoint provider hosted app and it get the term store in Office 365, It worked well for all users until a few days ago. Now fot the site collection administrators work fine but the others ...
0
votes
0answers
34 views

Routing a file via Drop Off Library using CSOM

I have CSOM code that uploads a file to a specific directory in my site. Now I want it to route the file via Drop Off Library, I tried to place the file in Drop Off Library but it is not working ...
1
vote
2answers
293 views

How to retrieve a SharePoint list item using document ID only

How can I retrieve a SharePoint list item using just the document ID? I am accessing a SharePoint 2013 server (with document IDs enabled) remotely from a .NET application. I do not know which site or ...
1
vote
1answer
70 views

How to update the “MajorVersionLimit” property using SOAP or REST API?

I'm working on a tool that will help my team in creating large numbers of libraries on a given site. Unfortunately, I can use only SOAP/REST interface to perform needed actions. I developed a simple ...
3
votes
2answers
71 views

Programmatically create a ContentDatabase C# SP2013

I am searching for a solution of my problem. I banged my head for the last few hours and tried several things and solutions found on google or stack-exchange. The database should be created via Event ...
6
votes
2answers
183 views

All internal field names in the farm incremented in SharePoint Online… why?

I've built a large number of forms in SharePoint Online that have jQuery functions built around those fields internal names. For some reason this morning the internal name of each and every field in ...
1
vote
2answers
25 views

Sharepoint 2013 event to Windows .Net app

Experienced with .Net, I'm completely new with SharePoint. On my development PC I create a standard standalone .Net app that represent the 'Documents' stored on my SharePoint 2013 (like an explorer). ...
1
vote
0answers
22 views

Use images inside SharePoint Online 2013 inside a ASP.NET applicatioin

I have SharePoint Online 2013 website up and running https://testapp.sharepoint.com/ and inside https://testapp.sharepoint.com/sites/ABC I have folder set which contain images. And I have a separate ...
1
vote
0answers
21 views

Getting most searched for terms using C#

Could anyone please help me with an issue I am having, I need to use C# to return the most searched for terms to put into some html. I have an on-premise Standard SharePoint 2013 environment and for ...
0
votes
1answer
35 views

Get SharePoint Web App Url programatilly from WindowsFormTool

I developing a simple Windows Forms Application that using a PowerShell script to add WSP solutions to multiple SharePoint front ends automatically. I am not a SharePoint developer but it's required ...
2
votes
2answers
140 views

Strange behavior appears when using Updatepanel on web part in Sharepoint 2013

Strange behavior appears when using Update-panel on web part in Share-point 2013. Everything works fine but after several(2-3 minutes), any action in page cause Full page load. In FF and Chrome ...
1
vote
3answers
66 views

Best practice for updating list data periodically?

I have a SharePoint list that contains a list of all of our company domains and their expiry date. I've been asked to have this list whois each domain periodically and update the expiry date within ...
9
votes
5answers
7k views

Automatically add pssnapin Microsoft.Sharepoint.Powershell

I am developing in Sharepoint and I like more Windows Powershell than Sharepoint Management Shell. Every time I restart the development machine, I have to run Add-PSSnapin ...
0
votes
1answer
24 views

Failure to turn on list auditing programatically

I have a SPListEventReceiver with a ListAdded() override that responds to the creation of Document Libraries. What I am trying to do is turn on auditing for the newly created Document Library like so: ...
0
votes
1answer
44 views

How do I update or create user profiles in SharePoint 2013 On-Prem using Managed CSOM

I have a requirement to create and update user profiles in our on-premises SharePoint environment using managed CSOM (C#) from within an SSIS package. I'm able to retrieve user profiles without ...
1
vote
1answer
55 views

Redirect from Visual WebPart SharePoint 2013

I created new SharePoint 2013 Empty Project. I used Visual WebPart. I want to redirect from page to another page. Ex: www.google.com SPUtility.Redirect("http://www.google.com", ...
0
votes
0answers
25 views

Convert Plain Text to Link?

I have one list, In that one column has plain text but by migration tool I migrated document to that filed for 2k records. Is there any way to convert that attachment link for all 2k records? ...
1
vote
1answer
25 views

Dynamic translation in SharePoint

I am using a visual webpart to show custom content that I get from a custom web service. I want to translate that custom content dynamically in SharePoint. Resource file is not an option since that ...
1
vote
1answer
58 views

Set DropDownList text and value c#

I am currently trying too develop a visual webpart for an on premise SharePoint environment. The webpart contains a dropdown which I need to set the text and value so that I can use this later as part ...
1
vote
1answer
112 views

Unable to manage my custom Content Type column’s order and visibility (hidden, required or optional) inside a new Create form

I have a team site collection and I want to add a new App of type Issue Tracking list. so I did the following:- From the site collection I created a new App of type issue tracking. Then from the ...
0
votes
0answers
14 views

Switch Project Server Accounts using MS Project Interop

Can we switch Project Server account programmatically using Microsoft Project Interop?
0
votes
1answer
44 views

Alter account display name( i:0#.f|CustomMembershipProvider|) of claims custom membership provider

I found so many solution like replacing the display name of the user manually using PowerShell script Set-SPuser -identity "User name" -DisplayName "Display Name" -web Web url. Since I have more ...
0
votes
2answers
2k 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 ...
9
votes
5answers
31k views

How to get current user with javascript?

I have a list . I want select items of list with a special quary.(get items that created with current user). Then get count of items. I use this code for get current user : function Initialize() { ...
4
votes
3answers
145 views

.NET forms for SharePoint 2010 without InfoPath

Afternoon all, Can anyone advise if it's possible to create forms for SharePoint 2010 Standard (to submit to a list) without using InfoPath? My version of the product doesn't have InfoPath Services. ...
0
votes
2answers
39 views

Query on BCS list

I need to retrieve the items of BCS based list. I am using the server side object model on SP2013 and I am getting this error: An error occurred while enumerating through a collection: The shim ...
1
vote
1answer
71 views

Moving a sharepoint folder from one site to another site using C#

I am new to SharePoint. I have given the flow below. • I have a button in visual web part called Archive. • On Click of the button I like to move the folder inside the site(A) to another ...
-1
votes
1answer
66 views

Can anyone explain me this code in c# for SharePoint

I was wondering if anyone could explain me the following code what it does. SPWebApplication webApp = this.Parent as SPWebApplication; SPList taskList = webApp.Sites[0].RootWeb.Lists["MyList"]; ...
0
votes
0answers
17 views

create webpart to add links

I need to create a webpart which could help me in adding links from the internet to my favourites. Can anyone help me in telling me, how to proceed with it
2
votes
2answers
3k views

Attach file in CustomList Item using Sharepoint.Client object

Hi is there a way to attach file in specific Custom list item? Currently i tried to add files on the root folder using below code: using (ClientContext context = new ...
0
votes
4answers
109 views

How to calculate 12 months from a start date

I am building an application about workers vocation and I need some help on calculating. Here is what I need: I have a column named startdate, after 12 months I want the SharePoint or c# to know ...
0
votes
1answer
29 views

How get items in two subfolders?

I need get items from two different folders in a list on Sharepoint 2010, I already have the following code: SPList List = web.Lists["MyList"]; _titleFolderDispositivos = "firstfolder"; // ...
0
votes
2answers
55 views

Sharepoint 2013 List item deleted in odd way

I am using a custom timer job to delete the Sharepoint List Items if the item count exceeds certain count, say for example 2000. The problem is the items are getting deleted, but it deletes the item ...
0
votes
2answers
101 views

Add Webpart on default.aspx using C#

I want to add a Custom Webpart on default.aspx. The Web Part appears on the page but not on the right place. I want the webpart on the right site and on the first place. I´m using the following Code ...
3
votes
4answers
6k 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
32 views

Multiple tasks lists created from workflow creation

I have the following inside my web application :- I have created a new site collection of type team site. and I added 5 sub-sites inside it. Now each subsite have 4 lists inside it and I added a ...
2
votes
3answers
138 views

Check if user from a field exists (SharePoint)

I am accessing the Author name from the list item. Even if the user has been deleted from AD, even then he still appears in list item history. I have used the following method for development: var ...
1
vote
1answer
228 views

Get ID of an inserted list item via CSOM

How can I get the ID of a list item that I just inserted in a list using the SP C# client library?
1
vote
1answer
29 views

FileUpload Control and Sharepoint 2013

I have a custom SharePoint 2013 App. It contains visual web part with FileUpload control and submit button. Why if (FileUploadControl.HasFile) always returns false? I've used this method with ASP.NET ...
3
votes
3answers
8k views

Event Receiver, Before and After properties

In an event receiver, Item Was Updated. I want to Compare the Moderation status on ListItems to perform some functionality.This is just some of the code. SPList list = web.Lists["DocLib"]; SPListItem ...
1
vote
1answer
79 views

Add list items from text file

I want to create items in my List, where text file string equal item's Title. It must be very easy but. protected void ProcessingList(object sender, EventArgs e) { using (StreamReader ...
0
votes
1answer
77 views

Replicating a file attachment control without Infopath?

I'm building a form purely in SharePoint Designer and unfortunately don't have Infopath at my disposal (business requirement). I have listed the attachments available on the form using the following: ...
1
vote
0answers
45 views

copy a site collection by backup & restore it to a new URL

I am currently working on a site collection of type team site , and I did many customization and I create many sub sites inside it. Now our customer requested to have another site collection with the ...
0
votes
0answers
11 views

Do custom InfoPath User Controls absolutely have to be registered with the COM interop?

Is it possible to design a custom User Control using C# in VSTA for InfoPath without registering it with the COM interop? It's not a control that I'm going to use on any other form, but I have a very ...
1
vote
2answers
274 views

Copy a subsite from one site collection to another using site templete, will copy all the site collection columns to be defined as a subsite columns

I am working on SharePoint server 2013 web application and i have a site collection of type team site named "business functions", and it have three subsites. where all the columns were defined inside ...
1
vote
2answers
308 views

SharePoint Online: Apps vs SandBox Solution for Intranet Deployment?

We will be doing a new Intranet for our SharePoint Online. I have experience developing in SharePoint 2010 / 2013 but using Farm Solutions. In SharePoint Online, I believe the only options are App and ...