3
votes
0answers
17 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
0answers
18 views

Keep SQL Connection Alive during ReadItem

Is there any way to keep a connection open during the ReadItem process or is there a best practice around this? Basically if i'm calling ReadItem in BCS 100K times, how can I streamline that ...
0
votes
0answers
7 views

TopNavigationBar not showing items

I am adding navigation items to the TopNavigationBar via code, and they are not showing up when checking the site but the code doesn't error out. I if I iterate through the nav items in the ...
1
vote
0answers
13 views

Delay after a subsite is created

I'm stuck after creating a new subsite programmticly. I have created an remote event receiver after a employe is added a new subsite is created under /sites/employes/. That works fine but after the ...
0
votes
1answer
25 views

How to get the unique item from sharepoint list

List Name Social Column name Category(Choice Field),Values(Text ) Category values modified ................................................ Facebook sameple ...
0
votes
1answer
7 views

Content Approval Set to No In SharePoint List

I want to set content approval "no" in sharepoint list in version setting programmatically at the time of list creation. How to do that?
-1
votes
0answers
17 views

How to add SPlistVersions programatically

I moved all the list items from Sharepoint 2010 and added to Sharepoint 2013. I also fetched all the versions related to that particular list from 2010 but i could not add them into Sharepoint 2013. ...
0
votes
0answers
17 views

how can access indicator status with client side object model SharePoint 2010 with c#

i want to access indicator status in kpi list in sharepoint 2010. using (ClientContext context = new ClientContext(siteUrl)) { context.Credentials = new ...
0
votes
0answers
9 views

We're unable to like this post for you right now mysite SP2013

we configured my site in SP2013,when i am clicking on Like in mysite it was throwing error like "We're unable to like this post for you right now" can any one help on this why this error is coming. ...
0
votes
0answers
62 views

get data form database & display in gridview's textboxes

i want to populate data in gridview's textboxes which are stored in database and if no value found in database it should show blank text boxes. BUT my problem is i am binding gridview data for Area ...
0
votes
1answer
49 views

How to get C# to recognize argument passed through PowerShell

I'm using PowerShell to call C# code to turn list alerts on or off on a specific list. When I try to use [AlertsOnOff1.onOff]::Main("off") to call the Main method and pass the arugment of "off"the ...
0
votes
1answer
72 views

I need help getting powershell to run c# code

I found a technet blog saying you could run c# code in powershell, so I ended up giving it a try. When I try to run the following powershell script I get 2 errors and I'm not sure how to resolve them. ...
0
votes
0answers
43 views

How can I return differences between versions and access properties that changed?

i have a list in SharePoint 2010 that has fields "title,count" .one of the fields (count) possible to change. I FROCE TO USE CSOM CLIENT SIDE OBJECT MODEL ... NO SHAREPOINT.DLL BUT ...
0
votes
1answer
60 views

How to check sharepoint list date column is empty?

How to check sharepoint list date column is empty? I want to check in back end code. IEnumerable<DataRow> x = from laptop in dtList.AsEnumerable() join ...
1
vote
1answer
37 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
54 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
35 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
95 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
22 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
188 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
46 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
65 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
23 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
62 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
770 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
28 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
408 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
34 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
1answer
637 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
1k 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
21 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
89 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
75 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
98 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
98 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
382 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
147 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
140 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
265 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
49 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
23 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
73 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
80 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
335 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
59 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
161 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
138 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
347 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
171 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
1answer
402 views

RichHtmlField showing html markup in display mode

I am trying to render html tags with text in RichHtmlField control in SharePoint. Following is html code. <%@ Register TagPrefix="Publishing" ...