All Questions
Tagged with web-part sharepoint-foundation
44 questions with no upvoted or accepted answers
3
votes
1
answer
213
views
Migrate Web Part from one environment to another?
SharePoint Foundation 2010. I have added a very basic web part to my development environment. It is honestly just the Visual Web Part template. I would like to export this web part and import to ...
2
votes
1
answer
589
views
How to use XsltListViewWebPart with folders
I have an XsltListViewWebPart on a custom page that works fine for a SharePoint 2010 library. My problem is that I need to tell this web part to list only documents in a subFolder of the library. How ...
1
vote
0
answers
26
views
Hyperlink in External List webpart isn't working
So I was able to add <a> <xsl:attribute name="href">....</xsl:attribute>View</a> in my xslt code for modifying my external list. It works when I view the list ...
1
vote
1
answer
753
views
Fill SharePoint People Picker from SharePoint List Column
I have a SharePoint List who has the column of type Person or Group.
In my webpart solution I am trying to use Caml Query to get the Data of the List based on Department column. Each Department is ...
1
vote
0
answers
99
views
Webpart randomly stopped working
We have a webpart running on SharePoint 2010 that displays our latest news that has been in use for at least 3 years. As of yesterday, it stopped working. It displays the webpart with title and the ...
1
vote
0
answers
38
views
Display contents from multiple subfolders
I am using SharePoint 2010's Form WebPart in junction with its Document Library WebPart.
The form is currently filtering results from a Document Library called Fruit (which is also being displayed ...
1
vote
0
answers
29
views
Getting error after editing web part
I added the content query web part in one of my subsites but after I done the editing and click 'ok', the site has turned into page error.
Does anyone know what is wrong?
1
vote
2
answers
43
views
Concatenate and Display results in CEWP
I have two Content Editor Webparts in a page(CEWP) in a SharePoint page. In the first CEWP I have two html text boxes and one button. If i click on the
button in first CEWP the second CEWP will ...
1
vote
0
answers
172
views
Connecting DataView webpart to Listview webpart
For a customer I have to display related data on a CustomDispForm.aspx page. So I started to add a Listview webpart tot the page showing content from the list with the related data. But when I tried ...
1
vote
2
answers
656
views
XsltListViewWebPart when sorting retrieves all the data instead of from the Query
I've been trying out the XsltListViewWebPart for SharePoint Foundation 2013. So far I have been able to display my list according the the CAML query defined. Here is my acsx code below:
<...
1
vote
0
answers
602
views
SharePoint Foundation 2013 Manual Refresh List
I have a SharePoint 2013 custom list with thousands of data in it. So under the Web Part Properties -> AJAX Options on the list web part, I have enabled Asynchronous Update and Show Manual Refresh ...
1
vote
1
answer
680
views
Adding Report Viewer Web Part to Default page programmatically
I am new to Sharepoint. I need to know the best way to add a ReportViewWebPart to a page through C# code behind.
I have tried accessing the web part from WebPartCatalog. It leads me to the ...
1
vote
0
answers
39
views
How to upload documents FROM sharepoint to an external content management server?
How to upload documents "FROM" sharepoint to an external content management server? Is there a way to provide external CMS as source to sharepoint content server?
1
vote
0
answers
52
views
Problem in mail web part
I wrote this code to send mail but there are exceptions in running it.
public string SendEmail(string mail, string password, string to, string subject, string body, string filePath)
{
...
1
vote
1
answer
177
views
SharePoint 2013 - “Package failed” error while creating the web parts in vs 2010
I am using SharePoint 2013 server and vs 2010. My SharePoint server present in different server and vs 2010 is another PC. I have created test web part using vs 2010 and build successfully. When I ...
1
vote
0
answers
358
views
Change month in SharePoint MonthlyCalendarView control
How to change month in SharePoint MonthlyCalendarView Control? It seems, there is no way to change month in calendar or change view of calendar.
0
votes
1
answer
376
views
Setup Response Header in SharePoint
I want to configure the following security header in SharePoint, however every time I do so, either at the site- or web-config-level, these headers end up being duplicated. Any suggestions?
<add ...
0
votes
1
answer
258
views
Add Water Mark on PDF SPFile
I am trying to add water mark on a pdf file which is saved in Document Library. I don't want to modify the file in document library although when User clicks the Print Button, it should add Water Mark ...
0
votes
1
answer
5k
views
How to run AJAX call on page load and access that information from a custom webpart? [SharePoint Foundation 2013]
New to SharePoint development and not understanding how things work:
I have a "directory search" custom webpart on my home page.
It currently only works on the second search. I guess the AJAX call ...
0
votes
4
answers
602
views
Unable to access the site Using Alternate Name after Alternate Access Mappings
My server name is "dev" and I need to change the name to access the site Locally and as well as on LAN.
I changed the alternate name by using AAM to "abc":
On the Local Server, it says This page can'...
0
votes
1
answer
95
views
SharePoint DateTimeControl styling is getting out in google chrome
I am using a SharePoint DateTimeControl in my web part solution in SharePoint 2013. it is working fine in Internet Explorer:
but when I open the same page in Google Chrome, it looks like the ...
0
votes
1
answer
42
views
Does NewsFeed web part works if my site host is on separate web application?
This is a test environment and I have two web application. One of the web application, my.contoso.com, has a site collection with My Site Host. The other web application, portal.contoso.com, has a ...
0
votes
1
answer
623
views
Office interop unable to open word document
I am trying to open word document using Word interop service, the file exists and I can see the file on disk and it is opening without any issue. Even I am checking if the file exists on disk before ...
0
votes
1
answer
138
views
Hide master page quick launch from sharepoint web part
I need to hide quick launch in certain subsites in sp 2013.
Below is the sample code (ascx.cs) i Tried, but quick launch is still visible.
Not sure what is wrong with the code below.
protected ...
0
votes
2
answers
327
views
SharePoint 2013 - How to make custom list searchable
I pulling list of documents through search results WebPart in SharePoint.
I am writing this query and it is working fine
path:"http://server-sharep/abc/*" FileExtension:pdf (IsDocument:"True" OR ...
0
votes
1
answer
91
views
Access Denied error with custom webpart
I have an internal portal/sharepoint site with a custom webpart used to serve up Crystal Reports reports. Currently I need to give Buitlin/Users Site Auditor permission in "User Policy" for the web ...
0
votes
0
answers
45
views
Need a Web Part for a Page to display a document library for selected subsite
In SharePoint Foundation 2010, I have a Site > Subsite structure in which all Subsites were created with a template, and house the exact same folder structure. What I would like to do is create a top-...
0
votes
1
answer
252
views
How to access and edit excel on SharePoint 2013 standard
As I have SharePoint 2013 Standard version, I will not get "Business Data" web parts. Hence I can't use Excel Web Access Web Part to display and edit Excel on SharePoint.
Do anyone know how to ...
0
votes
1
answer
196
views
Unable to add item to my sharepoint list
I try to add an item to my sharepoint list from a custom web part. Is there any mistake in my code?
[WebMethod]
public static string AjouterDemande()
{
SPList ...
0
votes
1
answer
85
views
How to code a Web Part in C#?
I use this code to have only the word "quatre" in my listbox of my Web Part but it's not working. Can someone explain why and give me a solution for this problem?
using System;
using System....
0
votes
1
answer
389
views
Web parts disappear almost instantly
I have a site that requires a list web part. When I add it to the page, it appears for a couple of seconds. The page then reloads as if it were refreshed, and then disappears, exiting Edit mode at ...
0
votes
1
answer
293
views
Update Custom Webpart with timer
I have a C# custom webpart in sharepoint 2013, display listview from a document library. This library will be updated if we submit a form. I want to update this Webpart each x time.
Here is my code:
...
0
votes
2
answers
493
views
WebPartConnection via XML based Provisioning
I can provision the following on a page via XML-based provisioning:
Query Filter webpart
List View webpart
I am trying to connect the ListView webpart to the Query Filter webpart so I can filter by ...
0
votes
0
answers
1k
views
Show / Integrate Java application in SharePoint?
I have a web application with .Net and java platform. I have one task like when login in SharePoint portal we need to show some application link i.e (java or .net) and when click on link that ...
0
votes
0
answers
54
views
Retrieve only unique values in search web part
I have added a search webpart on the webpart page. For which, I have defined a result source and associated it with some content type which points to a list.
This helps me retrieve all the items ...
0
votes
1
answer
423
views
Custom webpart properties with controls dependent on each other
I have a visual web part with custom properties. I have added 2 fields in the custom properties. One is a check-box and other is a text-box. I have a requirement if check-box is checked then the text-...
0
votes
0
answers
181
views
White space below webparts
I have a web part page and 6 web parts aligned 2x3. However following the web parts there is a lot of white space and I'm not sure how to get rid of it.
The grey box in the first picture is all empty ...
0
votes
1
answer
468
views
WSPBuilder for vs 2012
I am new to SharePoint 2013. I am using trial version vs 2012. I want to use the WSPBuilder to develop the web parts. I have install the WSPBuilder and it is not showing in vs 2012.
I have used the ...
0
votes
1
answer
100
views
Does Sharepoint 2010 search webpart support danish character?
I am using search webpart (SP 2010). This webpart displayes title and other information. My title contains some danish character, but when I enter Ø or Å i get ? .
0
votes
1
answer
479
views
SharePoint 2010 One of two web front ends have broken Audience on web parts
I have encountered a problem with Audiencing in our SharePoint 2010 farm. Hopefully someone out here has encountered this before.
We have 2 web front ends (web1 and web2) 1 app server (app1) and a ...
0
votes
0
answers
146
views
How to manage "log in with different user " event of a sharepoint Web Site
Hi I built a Http Module that change Sharepoint MasterPage based on if the user logged in is a Owner/adminstrator.
It Works good! But when I try to change the user to test the module, when a click ...
0
votes
1
answer
408
views
Cant find mediaplayer.js
I am trying to deploy a silverlight webpart solution to my sharepoint foundation site to play videos from assets library and its based on mediaplayer.js but in layouts folder i cant seem to find that ...
0
votes
1
answer
33
views
Sharepoint 2010 Word Webparts
I have a document library with a couple of Word docs with Webparts in them. Each pull a hand full of field data from a Sharepoint list. One of the Word Docs is working fine and getting populated with ...
0
votes
1
answer
106
views
Creating a Subsite login
Ok, I'm a newbie to Sharepoint, and I don't even know if this is possible. We have a subsite on a Sharepoint server (Office 365). This is what the bosses want:
Front page of the site is this info-...