1
vote
1answer
23 views

Compare Credentials to his one's own login credentials

I would like to compare the current user credentials with my UserAccount and if they are identical then I would like to have an alert, but It doesn't work. I don't know why.I hoept that you can help ...
0
votes
2answers
18 views

Move SharePoint list items into folders that exists in the same list programmatically?

Respected members of StackExchange, kindly help me with your kind suggestions to solve the issue. I have +20,000 items in a SharePoint list that i want to move into the folders that also exists in ...
0
votes
0answers
11 views

How to export images from PPT to SharePoint Library

I am using below code to export slides as images from a PPT - Microsoft.Office.Interop.PowerPoint.Application appPpt = new Microsoft.Office.Interop.PowerPoint.Application(); ...
0
votes
1answer
55 views

Apply Custom Master Page Only to New Subsite

I'm using Microsoft's Deploying Branding Solutions for SharePoint 2010 Sites using Sandboxed Solutions sample solution to start. I just want to: Create a subsite Apply custom master page only to the ...
0
votes
2answers
18 views

Efficiency of SQL updates/queries versus dealing with lists

I'm doing a lot of operations on very large custom lists, comparing them to SQL tables and updating items in the lists based on those tables. Currently this is a pretty slow process because it takes ...
1
vote
1answer
65 views

Forms Based Authentication Sharepoint 2013 Application Forbidden error 403

I am making a Provider-hosted application for SharePoint 2013. I debug this application on a Development Collection with both Windows Authentication and FBA (Form Based Authentication) activated. I ...
0
votes
2answers
38 views

How can one learn the overall Sharepoint development ecosystem? [closed]

Since Sharepoint is such a huge platform with so many components and it can be used in so many different ways, I was wondering if there are good examples of sample projects which demonstrate how the ...
2
votes
2answers
41 views

asp.net project and sharepoint project

I have a problem with asp.net project, I can't acces to my sharepoint site, I have a error message when I do : using (SPSite site = new SPSite("http://<SharePoint_Site_URL>")) So I'm asking ...
0
votes
0answers
18 views

Digitally Signing Forms using _Signature never valid

I have a problem with a SharePoint project in VS 2010. I try to sign an Infopath form from my SharePoint project (with C#) but when opening my signed form I've got a message box that says : One ...
0
votes
1answer
51 views

Sharepoint Current user

I am using following code in masterpage to print current user welcome, <%= Microsoft.SharePoint.SPContext.Current.Web.CurrentUser.Name%> My output is as follows welcome, Smith, Rick ...
2
votes
2answers
345 views

Java script alert box is not getting displayed through code behind file C#

I need to implement a functionality in which first I have to show Java Script from code behind file and then user needs to be redirected to other page. I have used both ...
0
votes
0answers
24 views

Sharepoint 2010 and WCF interactions

I try to read and create XML files on a Sharepoint 2010. I know that Sharepoint exposed some services used to interract with the application (like /_vti_bin/ListData.svc or /_vti_bin/Lists.asmx or ...
1
vote
2answers
167 views

Moving documents from one server library to another server library programmatically

I am a beginner in Sharepoint and given a task to write timer jobs. Once triggered, I want to move documents from one Sharepoint server library to another server library programmatically. So far my ...
0
votes
1answer
27 views

Disable drag and drop option for multiple file uploader [duplicate]

These are the screenshots of multiple file uploader from the same SharePoint 2010 site. Some users are seeing the first and some are seeing the second one. Is it possible to disable the second ...
0
votes
0answers
191 views

Download file with C# WindowsForms “WebBrowser” from Sharepoint OneDrive

When I looking for way to communicate with Sharepoint OneDrive, I can't understand cridentials and way to login with c# desktop app. And I found another way. I create WebBrowser component, then ...
1
vote
0answers
395 views

The remote server returned an error: (401) Unauthorized. Using CSOM in ASP.NET MVC 4

I'm trying to pull data through SharePoint 2013 BDC Models that I have imported from my ASP.NET application which works fine when I run either locally on my machince or locally on the server. ...
0
votes
0answers
17 views

How do I list sites from a SPServiceApplication?

I need to enumerate all Project Server Sites into a user interface based on a SPServiceApplication. How can I do this using C#? Also I need some common way to do this because I have similar ...
1
vote
2answers
80 views

Advance Search For Find Document with Column

I have a Document Library that contain large number document with four kind of content type. My Documents Contain specific column that inherit from content type. Now I need to design an advance search ...
1
vote
0answers
47 views

sharepoint programmaticaly add list item under current user 0x80070005 (E_ACCESSDENIED))

Please help me. In our company, we developed an application under the Apple device to work with the company's internal services , including it in this application it is possible to send messages to ...
1
vote
1answer
67 views

Test-SPContentDatabase doesn't return information

I run Test-SPContentDatabase like this: public string Test_Associate(string DbName,string UrlApp) { Runspace runspace = RunspaceFactory.CreateRunspace(); // open it ...
0
votes
1answer
73 views

run SharePoint management shell with c#

I have some ps1 that I need to run it with SharePoint management shell. I dont have the possibility to run it with the traditionnal powershell even i havce the administrator role : public string ...
0
votes
1answer
197 views

Export my Enterprise Wiki aspx pages to a PDF files

Our client has asked if we can add a link to their current Wiki pages named "Export to PDF", so when the user click on the link the Wiki content will be exported inside a pdf file ? i got confused if ...
0
votes
1answer
80 views

splongoperation and executiontimeout

Does SPLongOperation overrides setting of executionTimeout in layouts/web.config for sharepoint 2010 standalone/farm and 2013 standalone? As I have a long running process which works fine in a ...
2
votes
1answer
73 views

Add Publishing Pages to specfic subsites programmatically in FeatureReceiver

Currently, I have created subsites programmatically in FeatureReceiver method and have a way to create publishing pages, but they are being created on the root site. Is there a way to target a ...
2
votes
2answers
169 views

How i can programmatically get all the SharePoint team-sites?

In my SharePoint site in "SharePoint admin center" page (Admin-> SharePoint) I have a list of the teamsites of my organization. How can I get this list programmatically?
1
vote
1answer
38 views

Override text in emails sent by newsfeed alerts

Working with the SharePoint social newsfeed (not Yammer). We would like to change some of the wording in the emails (such as change the word SharePoint to our specific branding) that get sent when ...
0
votes
1answer
19 views

Download image from Imagelibrary

I have an event receiver that should download images from an imagelibrary, and do some stuff with that copy. There will be several images with the same customid that i want to grab, so I loop over all ...
0
votes
0answers
38 views

How to : Visual Studio 2010 create Sharepoint List and define data source?

I have this ugly requirement of creating a SharePoint list (could be a custom or an calendar) which displays the companies upcoming events, the problem is that x department updates an excel sheet ...
1
vote
1answer
61 views

Injecting dynamic list content into an alert template email

I have tried, and successfully failed, to determine a way to inject the emailed item's value from a universal custom column into the default alert emails generated by SharePoint, in both the subject ...
0
votes
1answer
218 views

Code Download file from Doc icon image in sharepoint 2010

I have written code where it will show the Sharepoint document library in sp grid view. In the grid view it will show the doc icon Image correctly. Now i want to Download the uploade document from ...
0
votes
0answers
50 views

How to create list from excel sheet located inside document library?

I need to create and calender control/list in share point from an excel file, there are many tutorials available for this on net, but unfortunately this excel file needs to be updated timely and hence ...
1
vote
1answer
116 views

Check user read access to a particular list item

I need to check if a user has read level access to a particular list Item. What would be the best approach 1) listItem.DoesUserHavePermissions(currentUser, SPBasePermissions.ViewListItems); //here ...
0
votes
1answer
109 views

ApplyChanges not working from Toolpart

I've tried every solution, and searched every part of the internet, and yet, I do not seem to understand why my properties aren't saved. I've attacked the code. And maybe someone can help me out here: ...
1
vote
0answers
255 views

SP DataTimeControl validation issue (error message does not disappear after choosing correct date)

I write simple WebPart with few asp.net controls. I have problem with validation control and SharePoint date time control. The markup: <SharePoint:DateTimeControl ID="dtc" runat="server" ...
0
votes
1answer
104 views

How to Create WF with C#

I have learned about Workflow by dropping and clicking and the next phase is learn how to create WF with C# based this link ...
0
votes
0answers
255 views

RichHtmlField showing html markup in display mode

I am trying to render html tags with text in RichHtmlField control in SharePoint. Following is my code. <%@ Register TagPrefix="Publishing" Namespace="Microsoft.SharePoint.Publishing.WebControls" ...
2
votes
1answer
166 views

Force create SPUser for disabled AD account

I am trying to get SharePoint to create an SPUser for a disabled active directory account. The reason for this is that I am archiving items across site collections. As the items are copied I am ...
0
votes
1answer
201 views

Check-In & Checked Out files inside folder in Document library using Client Object Model

I am not able checkin/checkout the files in sub folders in the document library using client object model. Below is the code I am using. public void CheckOut()// CHECK OUT FUNCTION { try { ...
0
votes
1answer
29 views

Creating a Table in PDF and updating the values in the table SharePoint 2010 programmatically

I am looking into adding a table into pdf with the columns - approver name and approver comments using c# code in console application. and then update the columns with values like "approver1" ...
1
vote
2answers
418 views

Updating 'Created By' field in SP2010 programatically

I'm trying to import data from an .xml file to a custom list in SP2010(created programmatically). I'm able to create and update all fields except 'Created By' as it says that "Cannot update read only ...
0
votes
2answers
226 views

Use server object model check if SPListItem field is a SPUser or SPGroup

I am making a TimerJob that duplicates ListItems from one SiteCollection to another. In order to do this I need to copy the Users and Groups over to the other site. I am having trouble identifying ...
1
vote
1answer
59 views

Create File in sharepoint mapped directory

I am creating a farm solution, I want to create zip file from 2 or more files taken from sharepoint library. I want to temporarily save these files in my mapped folder ("Layout/MyFolder"). and allow ...
0
votes
1answer
132 views

Programatically create content type for multilingual site

How to create content type for for multilingual site programatically. Example Content type column internal name: firstName. English Display Name: First Name, German Display Name:Vorname. Same for ...
1
vote
3answers
901 views

SharePoint 2013 Webpart - Multiple file upload

I want to add the multiple files functionality to my custom webpart in C# .NET 4.5. I want the same functionality as the out of the box multiple files add feature when you create a list item via the ...
0
votes
1answer
281 views

Bind ListItemCollection as a DataSource of a DataGridView

I am using SharePoint Server 2013. I am trying to show a list data in a DataGridView in a windows forms application(client application). I obtained the ListItemCollection object related to the ...
0
votes
0answers
33 views

How to migrate Managed Metadata Store?

I need to migrate Managed Metadata Store from SharePoint 2007 to SharePoint 2013 environment. What are the check-list, I need to prepare or what are the point I need to remember/cater or what I need ...
0
votes
1answer
1k views

The remote server returned an error: (403) Forbidden

I am developing a C# console application on my local computer running on Windows 8. My target SharePoint server is SharePoint Online on Office 365. I am trying to get the web site name using web.Title ...
3
votes
1answer
100 views

SSO SharePoint 2013 for 2 domains

Hi We are building apps with sharepoint 2013. Currently we have them setup as two web applications with two separate domain names - Wep App 1 - www.webapp1.com Web App 2 - www.webapp2.com We ...
0
votes
0answers
154 views

Adding SocialCommentControl to a page

I have created a page layout for my publishing site. On this page layout i want to add a commenting and rating option. The rating options shows up just fine on the page but the commentcontrol doesn't ...
0
votes
1answer
122 views

Set lookupfield value on document upload through event receiver

I have a custom list, where when I create a new item, I assign a custom id to that element through an event receiver. After the item is created, I create a file that I upload to a document library. ...