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
94 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
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 ...
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 ...
1
vote
1answer
53 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 ...
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
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 ...
0
votes
1answer
79 views

where to put C# code and where to put Javascript code in .aspx form in SharePoint Designer

I'm newbie with sharepoint, struggling but finding my way. I've created a list and created a new form called NewFormRequest.aspx in SharePoint designer. I'm calling this form in the browser ...
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
-1
votes
1answer
65 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"]; ...
1
vote
1answer
70 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 ...
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
4answers
107 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
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 ...
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 ...
2
votes
3answers
136 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
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 ...
1
vote
1answer
216 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
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
295 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 ...
1
vote
2answers
270 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
1answer
43 views

How to create a new InfoPath form in form library programatically using an event handler?

I would like to add Infopath form, that is a new item in the Form library programmatically. This would be using any event handler. Please guide.
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
votes
1answer
125 views

Use entity framework code first in SharePoint Solution

I am trying to create an entity framework code first in a SharePoint Solution. Is it possible to use an entity framework code first in a SharePoint Solution? If yes, then how?
0
votes
0answers
37 views

SharePoint 2013 & Caml & Membership

Can you use the membership element as part of a caml query for a view in a document library? I would like to show documents based on the group the current user is a member of? And I would like to ...
2
votes
2answers
101 views

How to tell if an Item is a SPFolder or DocumentSet (through code)

Currently i am creating an Export and Import Tool for SharePoint 2010 to 2013. The Export Tool exports a whole list or DocumentLibrary to a File. In my DocumentLibrary i have serveral Document Sets. ...
1
vote
2answers
75 views

Can webparts be added using the client side object model?

I have found loads of guides showing how to do this, but none if them show how to do it using the client side model. This should do what i want, but its using the server side model and not the client ...
0
votes
1answer
35 views

It It Possible to modify the contents of the navigation menu using CSOM

I have a large number of subsites that are similar. I want to make a global change to the sidebar navigation menu on all of these subsites. By change i want to add a new link. I have looked and i ...
1
vote
0answers
83 views

How Do You Edit Pages Using The Client Side Object Model?

Im using the C# CSOM object for Sharepoint 2013. I want to edit the homepage of a site so i can add some custom content to it. I want to be able to add some custom text and some web parts in the ...
0
votes
1answer
104 views

Is it possible to duplicate a subsite using the C# client side object model

I need to create a large amount of sub sites. Each one will be the exact same to support various products. I have code written already to create a subsite and add the apps to it, but its proving to ...
4
votes
2answers
123 views

unable to write a script to change the logo redirect url

I am working on a web application which contain 2 site collections , with the following URLs:- http//servername http://servername/HR and the second site collection have two subsites , with the ...
0
votes
0answers
38 views

Add OOTB Tasks List as web part in Wiki page using powershell or C#

I have like 100 subsites which are built on Teeam Site template. I would like to add Tasks lists as web part on the home page which is a wiki page residing in Site Pages library. ...
0
votes
0answers
8 views

Unable to add custom css rules or referecne a custom css file inside a site page using “code snippet” [duplicate]

I have added a site page inside my team site. For this site page i want to reference a custom css file. so i did the following :- 1.i upload the custom css (s.css) file inside my "Style library" on a ...
0
votes
0answers
28 views

unable to attached a custom CSS on a site page using “code snippet”

I have added a new aspx site page inside my team site and I want to reference a custom style sheet inside this site page only. So what I did is I edited the page then I chose to add a code snippet, ...
1
vote
0answers
25 views

Unable to add item in SharePoint lists (many lists) programmatically [duplicate]

I am unable to add item in any sharepoint list programmatically from a custom web part. list.AddItem() doesn't work.
0
votes
1answer
63 views

Horizontal layout of list items

I have added a contact list to my team site (and I am showing only 2 fields; Name & Tele). Now I can control the Number of items to display inside the view, without any problem. My question is ...
0
votes
1answer
224 views

Get sub folder from document library using SharePoint.Client.dll

I need to get the folder named Arshad from SharePoint Document library folder. The path of the sub folder is : http://url/Shared Documents/Arshad I need to access the folder using SharePoint ...
0
votes
2answers
52 views

how to force all the site logos to reference to the root url

I have a web application which contains 2 site collections and the site collections have subsites. Currently the first site collection is deployed under the root: http://servername While the other ...
2
votes
4answers
418 views

Send invitations to Outlook with ICS format from a SharePoint Calendar List

I'm looking for the best way to implement sending invitations from a SharePoint list of events. Scenarios: Create an Event Creation of a repeating event Exception recurrences Delete an event I ...
0
votes
0answers
19 views

Sharepoint List is removed from time to time Sharepoint Office 365 environment

I am having a problem that some lists are delete from time to time and I don't know a reason for this occur... I have project with some other lists that are not deleted. I work on a VM running on ...
0
votes
1answer
75 views

c# PowerShell Sharepoint invoke timerjob

I am trying to invoke a SPTimerJob to run on demand. What I'm trying to do, is to call Word Automation Services to convert my word files. So far I have tried our different solutions and none of them ...
0
votes
1answer
115 views

Modal dialog window UI won't load before code behind

I have become onto a problem, where my Modual dialog window won't load it's UI before the code behind executes. But once the code behind executes, then the UI won't load until code has executed and ...
0
votes
0answers
35 views

Sharepoint-hosted add-in and cross domain policy

I'm developing sharepoint-hosted add-in for sharepoint online. I wanted to embed a pdf file from sharepoint in <object> or <iframe> tag (User selects file form library and content of that ...
0
votes
0answers
165 views

Office 365 API - Get User Licensing Information. Which API to use ? How?

I am able to get Office365 user licensing information such as license type using PowerShell, but I need to do it using API. How to retrieve office365 user licensing information using API ? Any Other ...