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
1
vote
2answers
628 views

Download all attachments of a list item from grid view

I need to download all attachments of a list item from gridview in a visual webpart. I tried hyperlink but unable to get it. Can anyone tell me how to use anchor tag and use href or any other ...
0
votes
1answer
708 views

RSS Feed Web Part Stopped Working - SharePoint Online 2013 - Internal Server Error

I am still fairly new to SharePoint and do not have much development experience in it. We are using SharePoint Online 2013. I've checked the forums for similar posts but can't seem to find any ...
0
votes
1answer
666 views

Applying css to a sharepoint gridview

Within my web-part, I want to make the header row of a gridview match the css from the sharepoint css class called ms-ContentAccent1-bgColor(I want to match the theme of the site). However, when I ...
0
votes
0answers
16 views

How to sync a SharePoint Web Part with Teams?

I have developed a SharePoint WebPart, this component has several properties that I can modify from SharePoint: width, height... I have installed the same component in Teams and works fine but I ...
0
votes
0answers
4 views

Configurable static tab in SharePoint

I have developed a SharePoint WebPart that I want to use in my Teams. In this WebPart I can hot-swapping several properties: width, height... but when I try to use this WebPart in Teams, I can't ...
2
votes
1answer
22 views

Sharepoint Excel Web Access Web Part double scrollbars

This has been very annoying for me. I searched for hours now in order to solve this. However I have not been able to find a satisfying solution. On a SP Webpart page I have added an Excel Web Access ...
0
votes
1answer
755 views

Sharepoint Template page with webparts

I am working in SharePoint Online (Sub-site) and we have 10 pages with custom web parts (for example a Photo library) and custom content (text). Each page consists of 2 'default' web parts with two ...
5
votes
4answers
6k views

List all subsites with REST API

I have a SharePoint site wich I named ''Portal'' and under Portal I have several communities (subsites). For each subsite I disabled permission inheritance and I setted up the groups and roles ...
0
votes
1answer
10 views

SearchExecutor not returning results with non privileged user

for short "testing user" will be "TE", "administrator user" will be "admin". I am currently working in a sharepoint project in visual studio which deploys a webpart that uses the search engine. With ...
0
votes
2answers
770 views

SP 2013 webparts, hidden property check box greyed out

SP 2013. Hidden checkbox on webparts, regardless if the said webpart has got chrome set to none or default or other, is grayed out on wiki pages. On a site collection with publishing features and site ...
4
votes
2answers
806 views

Strange behavior appears when using Updatepanel on web part in Sharepoint 2013

Strange behavior appears when using Update-panel on web part in Share-point 2013. Everything works fine but after several(2-3 minutes), any action in page cause Full page load. In FF and Chrome post-...
0
votes
1answer
1k views

Web Part Error: Access denied. You do not have permission to perform this action or access this resource

I created four site pages for one list; each page has its own view as not everyone can see all the columns within the list. I then assigned unique permissions to each page and stopped the inheritance ...
0
votes
1answer
834 views

Most Popular Items from Library Sorting Not Working

When i click into the page of Most Popular items that has the sorting of recent and ever. But i click these two buttons that has no any response. i checked IE F12 debug mode that also has not any ...
4
votes
1answer
775 views

Modern Site “Highlighted Content” web Part links not working properly

This seems to be a known issue on Microsoft's website. When a new link is created and a filter is added to the highlighted content web part to pull that link it seems to pull the link in a card layout....
1
vote
0answers
27 views

error when using RSS feed webpart in SP 2013

I'm using the RSS webpart to display an RSS feed. It worked fine for 2 years, but a couple months ago it stopped working and displays the error message 'The requested RSS feed could not be displayed. ...
0
votes
1answer
643 views

Date Control and Dataview filter on created date using Sharepoint designer

I know this is fairly simple but I am using SharePoint Foundation 2010 and I have a dataview web part and a calendar asp.net control. I created a parameter named SelectedDate and had it to get it's ...
0
votes
1answer
1k views

SharePoint online- How to remove space between web parts in modern page?

I have a text web part and then a promoted link web part from (classic SP) added in the modern page and there is a lot space between these web parts, which makes the page look blank. Is there a way ...
0
votes
0answers
18 views

Sharepoint SPFX react/typescript mobile layout

So I created a Sharepoint SPFx React Typescript app which works perfect. Using this guide here I design a mobile version of the web part app: https://goshakkk.name/different-mobile-desktop-tablet-...
0
votes
0answers
21 views

How to use Flow to create a brand new Sharepoint news post?

I am very new to Sharepoint, Forms and Flow. What I am trying to do is when a form response is submitted, automate a workflow to create a news post page on Sharepoint with datacollected from the form. ...
0
votes
2answers
30 views

Drag & Drop Email - Document Library vs. Web part

I'm experiencing two different drag & drop experiences when using the Document Library vs. Document Library Web Part in SharePoint Online when dragging an email from Outlook (Version 1902 Build ...
1
vote
2answers
793 views

How to display data from a parent site list on a subsite home page

This is best explained using an image: I have a parent site with a list of products, each of which has its own Project sub-site. I want the home page of each sub-site to display data about its record ...
0
votes
4answers
44 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
638 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
699 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
14 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
11 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
771 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
802 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 ...
1
vote
2answers
9k views

Display a list/library from one site to another site with SharePoint online (o365)

I am looking to display a list and libraries that are on a site from within the same site collection. In SharePoint On-Prem i could use something like Sharing Lists and Libraries across SharePoint ...
0
votes
1answer
705 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
12 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
701 views

Manipulate Filters in Javascript

Is there any code in JavaScript which allow to manipulate filter to a library webpart?
0
votes
1answer
674 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
23 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
40 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
24 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
807 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
12 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
999 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
745 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
789 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
27 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
19 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
19 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
15 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
47 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"...
1
vote
1answer
100 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
764 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-...

1
2 3 4 5
76