Questions tagged [web-part]

Web parts are ASP.NET controls that can be added to web part zones. They are generally distributed through the deployment of .WSP files. Pre-2013, they could be developed off the hosting server. With 2013, Web Parts for the most part have to be developed on the hosting server for proper library inclusion.

Filter by
Sorted by
Tagged with
0
votes
4answers
96 views

In SharePoint 2013, how to embed one site page into another?

I have some common content as Site Pages, lets call it "Page 1", which I want to show in "Page 2" and "Page 3", just as it is shown in Page 1, so that I can just update Page 1, and Page 2 and Page 3 ...
1
vote
1answer
639 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 ...
0
votes
1answer
716 views

XSLT output of XML not showing on SPS WEBPART for RSS Feeds

XSLT code been used to showcase CSS content in SPS 2013 via OOTB - XML Webpart. Tested my XSLT on w3school with the required XML file and output looks great. However, doesnt shows when placed in the ...
0
votes
1answer
17 views

Bootstrap on sharepoint webpart

I'm developping a sharepoint webpart and i would like to include boostrap for better design. I have had css into my solution and the design is good, no error. But, the css is applied for ALL the page !...
0
votes
1answer
20 views

How would you unit test a WebPart that extends BaseClientSideWebPart?

I want to unit test that webpart, but I am not sure how to go about it. I have around 30 properties and 50 private variables. How do I mock them? I use PnP to fetch values for the private values, but ...
2
votes
1answer
776 views

Not able to add an app part to the page with a shared provider hosted app

Situation: I created a SharePoint provider hosted app that contains an app part. I installed the app inside the app catalog. By using the deployment option on an app installed in the app catalog, I ...
0
votes
2answers
826 views

Disable Edit WebPart and/or Snippet link in a Script Editor Web Part on SharePoint Page?

I know it can be done with client side coding, but maybe there is a built in way to do this in SharePoint 2013. I have a web part I share with other sites, but do not want site administrators seeing ...
0
votes
1answer
708 views

Migrate a webpart from sharepoint 2010 to sharepoint 2013

How to migrate a webpart connected with 8 lists from Sharepoint 2010 to Sharepoint 2013. What should I do before migration and what prepere before migration. How to transfer from .net 3,5 to .net 4,5. ...
0
votes
0answers
24 views

Add More Tiles to Hero Web Part

I created a Hero web part in SharePoint 2019. I am using five tiles that have a big tile on the left and 4 cluster on the right. I will like to add 2 more tiles to the 4 cluster tiles on the right ...
1
vote
1answer
710 views

Manipulate Filters in Javascript

Is there any code in JavaScript which allow to manipulate filter to a library webpart?
0
votes
1answer
780 views

How can I manage to avoid the underline in a text-decoration: none

I am trying to solve the problem with the underline in a text-decoration: none. This is the script I have: p { padding: 5px 0; } a:link { text-decoration: none; } a:visited { text-decoration: ...
0
votes
1answer
24 views

Make a SharePoint page that shows (REST GET) links and presents the results

Is it possible even for a SharePoint noob like me to make up a page with many links (which only return a simple JSON result like true or false) and show the result of the clicked link on the same page ...
2
votes
1answer
189 views

Retrieving data from rich text editor in spfx web part properties

I am currently creating a custom web part, the webpart is using PropertyFieldCollectionData to collect user data (https://sharepoint.github.io/sp-dev-fx-property-controls/controls/...
1
vote
1answer
28 views

Custom Web Part Uploading Incorrectly

I am trying to upload my custom web part to my sharepoint online site. The upload is successful, but when adding the web part to a site it is not the expected content of the web part. It seems to be ...
0
votes
1answer
830 views

Display/hide control in Webpart based on edit/browse mode

I have a Visual Studio project in which I have created a Visual Webpart. In the user control I have a panel which I want to display in edit mode and hide in browse mode. ASP.NET code snippet: <...
0
votes
0answers
14 views

How can I get the user token from the context in a Sharepoint WebPart?

I have been working in a Sharepoint Webpart with TypeScript. I would like to obtain the user token to pass it as a parameter in the headers. How can I do this?. So far, I have something like this: ...
0
votes
1answer
1k views

List down all custom webparts available under SharePoint Site using powershell

I have deployed webparts to some SharePoint site say "http://SiteCollection:6413/SiteName/". Now I want to know all the available Webpart which are addable to any page (whether are those already added ...
1
vote
1answer
1k views

Web-parts do not align on page

Setup: I have a SharePoint page where I have two lists (call it List A & List B). List A is placed in a left-hand webpart zone (any left-hand zone) and List B is placed in the right-hand webpart ...
1
vote
1answer
749 views

How to add Summary Links WP in page Layout in SP2013 Standard?

I'm coming to an issue : I want to create a page layout whith a Summary Links Webpart. I went to the design Manager I chose my layout I get the Snippet Gallery I get the Summary Links WP code I ...
0
votes
2answers
794 views

Toggling Data View Web Part Paging at Runtime

I'm using partial text filters that push query string parameters to the Data View Web Part. The DVWP is using an XSLT filter that refers to the values supplied by the textboxes. The challenge that I'm ...
0
votes
1answer
33 views

Web Part problem (Content Query), “Sorry, Something went Wrong”

I'm trying to correct a broken web part that's not pointing to the correct list (Content Query Web Part). However, when I click to edit, I get the "Sorry, something went wrong"...File Not Found. ...
0
votes
0answers
20 views

Custom page solutions

I want to preface this by saying that I am not a programmer, although I enjoy learning how to do so. I was fortunate enough to be tasked with redesigning our company's sharepoint site. We are on ...
1
vote
1answer
30 views

WebPart opens in Edit Mode using Enter in Chrome

I have a webpart that has a search bar. In the Internet Explorer it works fine. But when the user writes a text in the search bar of the webpart in Google Chrome, the site refreshes and the web part ...
0
votes
1answer
17 views

Change style of web part tile

Is it possible to change the title style of the web parts titles? If yes and if I have to change some coding, how do I access the files? I am using the latest version of Sharepoint (16.0 I think) ...
0
votes
1answer
59 views

Issue with Date Range when adding Events Web Part?

I am new to Sharepoint and am putting together a site for our internal users. I am wanting to add an events web part that will show upcoming events and internal birthdays. When adding this i am able ...
5
votes
1answer
854 views

Declarative WebPart on publishing page

I have made a publishing page layout that has a WebPartZone and a MediaWebPart in the ZoneTemplate. Example below. <WebPartPages:WebPartZone runat="server" Title="Fokusøki Media" ID="WebPartZone1"...
2
votes
1answer
748 views

How to resize webpart in SharePoint Online Modern Experience

I met the following situation, I'm trying to embed Power BI report to a SharePoint Online page, I managed to do that by using Power BI webpart as it shown bellow : now I wonder if there is a way to ...
0
votes
1answer
881 views

iframe & removing scroll bars

Hi I have an iframe and I am trying to hide the scroll bar however with the code I'm assuming it doesn't seem to disappear. Any suggestions? <div style="overflow: hidden; margin: 15px auto; max-...
2
votes
1answer
19 views

Sharing one Issues Log between multiple pages

We have multiple teams that are working on separate aspects of the same project. Each team has their own sub-page of the project. What I wanted to be able to do is to have one master Action Item/...
0
votes
0answers
20 views

Standard web parts not saving custom titles in multiple languages

I have a SharePoint Online modern team site in english language with german as an alternative language. When I add a standard News web part its default title for an user with english language is "News"...
0
votes
0answers
8 views

BizFlow In a WebPart

Anyone familiar with BizFlow? I’m in a SharePoint 2010 environment and we have a web part that is referencing/calling documents from BizFlow. When we edit the page, Its a content editor web part but ...
1
vote
2answers
883 views

Missing Web Parts

I getting error of missing dependencies on web parts at Central Admin. So I ran Test-ContentDatabase to find all the errors. Once found, I ran another script against my database to find where the ...
0
votes
0answers
33 views

SharePoint 2016 excel WebPart input back ground color

I set up a sharepoint using 2013 with excel webparts and the input back ground was black. Now the site has been moved to 2016 and the excel webpart input back ground is white. I have seen only how ...
0
votes
0answers
22 views

Avoid extra markup in Sharepoint Web Parts

I am building a Public facing web site using a Publishing Portal. Im using a lot of web parts for it. So everything works fine functionality wise but I am seeing a lot of extra markup that is ...
1
vote
1answer
197 views

Failed to load component

I've been having a problem with Web Parts. I created this webpart and it works perfectly fine in the workbench, but when I tried to deploy it I received this error. I've tried gulp clean and ...
1
vote
1answer
28 views

For SharePoint Online, is it possible to install an app globally for a Hub Site Collection?

I am looking for the ability to install an app for my collection of sites and manage the app's content from a central location, but add the corresponding web part to pages in several different sites ...
1
vote
1answer
22 views

Web Part connection Server Render in combination JS link not working

I am using a connection with filter to a list view webpart of a Task list. (SPO) This didn't work because of a known MS issue. (see: https://docs.microsoft.com/en-us/sharepoint/troubleshoot/web-parts/...
0
votes
0answers
25 views

Connecting web parts through Javascript in SharePoint 2013

I am working in SharePoint 2013, and I have two OOTB web parts (list view & URL filter) that I want to connect programmatically. I also want this to be a client-side solution with JavaScript, ...
1
vote
0answers
18 views

Hide OOTB web parts [duplicate]

Environment: SharePoint 2019 - Modern On my SharePoint Teams Site, I want to use only a few OOTB webparts and I'd like to hide other OOTB web parts from the web part list. It is just to avoid the ...
0
votes
0answers
17 views

Migrating a SharePoint 2013 web part to SharePoint 2019 (on-prem)

I'm fairly new to SP 2019 (On-prem), but haven't had much luck finding information regarding moving a SP13 web part to SP 2019. It looks like I may have to recreate it using the SharePoint Framework. ...
0
votes
2answers
341 views

Read Data from Excel file in SharePoint web Part C#

I need to read Excel Data in C# DataTable in my Visual web Part. for this purpose I've uploaded the excel file in a temporary location in a document library, the file upload is successful, now I ...
1
vote
0answers
16 views

Modern list web part - voting field does not work

I've created a list and added a voting option (found under the Ratings settings). Users now see a heart-shaped icon depicting the number of likes a list item received and can vote on it. This works as ...
7
votes
2answers
15k views

How to use html code in modern UI

This may be a rookie question but I just entered the world of SharePoint after a long time. I used to use the content editor web part to include custom html into my SharePoint pages, but now on the ...
1
vote
1answer
30 views

SharePoint Online, Webpart and JSlink issue

I have a very weird issue, working fine for last 4 years and now unable to resolve. List called tools, has its own custom views. I add the list webpart to the page, set the view (Business Systems) ...
0
votes
1answer
23 views

How do I make ALL drop-down lists hidden in Sharepoint Wepart? [closed]

I have a webpart that would be used for a FAQ page on our website. There will be a lists with titles (questions) and below them the answers. My accordion list of questions displays fine and when ...
1
vote
0answers
17 views

On publishing sites, how does the user's preferred Display Languages preference affect page contents and CAML query results?

On an on-premise SharePoint 2016 farm with Language pack deployed, we see that users with different preferred Display Language (in their profile) get different results of CAML queries, different web ...
0
votes
3answers
77 views

How to implement Content Search Web Part in SharePoint Modern experience?

In the classic experience i found this official MS documentation (link here), my question is how can I do the same in the Modern experience ?
0
votes
0answers
54 views

Why is my webpart Accordion only displaying half of my html code?

I'm creating a FAQ and my webpart embedded code is only displaying the first six questions in my code? Here's a screenshot of what it displays even though my html code has 12 questions. My spacing ...
1
vote
1answer
18 views

Metadata filtering for a listview webpart

Followed tutorials like this to turn on list metadata filtering. Most of the tutorials I'm finding are form more recent versions of SP, but it worked in our SP 2013 as well. When we have the list ...
0
votes
1answer
115 views

How can I embed a hyperlink within an accordion style web part…?

I created a hyperlink accordion that will be used for a FAQs section of a webpage. I got it working but I need to have a hyperlink within the text of the accordion. Also, I can't seem to modify the ...

1 2 3
4
5
77