Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
75 views

Get field value from form and pass to web part list view filter

In SharePoint 2016, I have created an edit form with a web part in the footer area that displays list data. I would like to grab the value from the field named Start Day and then use that value to ...
1
vote
1answer
32 views

Web part vs add-in when integrating web application

We are looking to integrate our web application (a capture component) into Sharepoint Online. The idea is that the user will be loading our app and have the ability to either open an item from a ...
2
votes
2answers
57 views

Unable to edit any page (not site pages, just web part pages) of a Publishing site collection in SharePoint Online

We have SharePoint Online environment at my organization and admins are not able to edit any pages on the entire site collection. Admins are able to edit site pages, but not pages. When i try to edit ...
1
vote
2answers
694 views

SharePoint 2010 - Search WebPart - Unable to display this webpart

Search by People in SharePoint 2010 generates: Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as ...
0
votes
1answer
62 views

Critical Error - Unable to get property 'strFormId'

I have a site page that has 2 web parts. 1. Sharepoint list passing form data to #2 2. read-only Infopath form The purpose of the page is to display list data the issue that i am having is ...
1
vote
0answers
33 views

Iframe blocks elements behind it

Trying to embed a chatbot in SharePoint online. We're doing that with an iframe through True Editor Web Part http://prntscr.com/m3br5p The issue is that even when the bot is folded like in this ...
0
votes
1answer
19 views

Sharepoint 2010 Webpart Column Display

How do I change what columns I see in my Webpart? I have several columns in my list and I have adjusted the order of the columns to appear as desired, However, I only see 6 of the 20 columns in my ...
0
votes
1answer
52 views

Unable to send email via SPUtility

I am trying to send email via SPUtility by trying the following code: bool blnIsEmailServerSet = SPUtility.IsEmailServerSet(web); bool IsSent; SPSecurity.RunWithElevatedPrivileges(delegate () { ...
0
votes
1answer
37 views

SP Classic: how do I add padding and vertical-align to list web part with CSS

The list web part contents are vertical-align middle and no padding right. How do I apply CSS to the web part? I am on SP Online: Classic Experience. I need to clarify. What is the specific code ...
0
votes
1answer
30 views

Visio Web Drawings out of focus when embeded within Visio Web Access Web Part

we are using Visio Web drawings for our documentation and embed them on pages using the Visio Web Access Web part. For some reason, they seam to be completley out of focus. Additional Information: ...
0
votes
1answer
24 views

Can i restrict a App (which is deployed to our app catalog) from being added inside certain site collections

I have developed a client-side web-part by following steps simialr to those mentioned on this link Deploy your client-side web part to a SharePoint page (Hello World part 3) then i deploy the web ...
0
votes
0answers
6 views

certain charts do not load when using excel web part

I am using SharePoint online and have numerous charts in excel files displayed across 20+ sites using the excel web part. So I am confident my usage of this tool is correct. I recently created a new ...
0
votes
1answer
42 views

What is the html code for “Edit item” to be use on form web part?

I would like to have an edit button (not in ribbon) to show when a Sharepoint list item is viewed/display, with condition Where field "Status" is not equal to "Approved". Can somebody lend a hand on ...
0
votes
1answer
171 views

Multiple attachment upload causing 409 conflict error. (SPFX, PNP)

I have noticed a bug when using the PnP library for SPFX to upload multiple attachments. Using: sp-pnp-js@3.0.10 targeting: SharePoint Online Expected Behavior Question When uploaded multiple ...
0
votes
1answer
118 views

Programatically add a user to people web part

I'm trying to programatically(c#) add a user to a sharepoint People web part on a modern page but with no success. I try to set the "persons"-property the same way it looks after adding a person ...
1
vote
1answer
40 views

SharePoint 2013/16 Doc Library web part - change view but no new page

I have a requirement to change the view in the Document Libarary web part, and I already have the change view links enabled. They do not want the view to open in a new page, but to change the view ...
1
vote
0answers
47 views

How configure List Filter Webpart?

I have two list : Users: Fields: username (AD users), region and city. Cities: Fields: regions and cities I would like to filter Cities list by current user's region. I created List filter ...
1
vote
1answer
43 views

Modern News Gallery Bug(s)?

Running into two different things that seem like bugs when using the News Gallery web part in a SharePoint Online Modern Communication Site: Internet Explorer: Within IE, the News Gallery does not ...
2
votes
1answer
89 views

Document Library - filter

Good morning, Is it possible to apply Key Filter tree to a Document Library inside a WEBPART (not COLUMN HEADER FILTER)? When I add the document library as a webpart I only see the webpart but not ...
2
votes
1answer
219 views

SPFx Office UI React - How to default select user in People Picker

On componentDidMount I have received the current logged in user using MSGraphClient. I have saved the object that I received from graph in fullObject variable. I am using below code: <...
1
vote
0answers
18 views

Connected web part showing no data

I have a parent list for which I've created a custom DispForm. In the custom form, I have added a list which contains child records. If I connect the web parts and set the provider field and consumer ...
1
vote
0answers
30 views

What happens if two pages have the same WebPartId?

I have to programatically create new Sharepoint pages (~50). To do so, I've created a template page and I simply copy the information I want inside this template using a macro made in Visual Studio. ...
1
vote
1answer
21 views

HTMLAnchor server click refreshing page so the expetced result is missing

I have created a simple SharePoint web part with HTMLAnchor tag with server click event handler by following the below article. https://docs.microsoft.com/en-us/dotnet/api/system.web.ui.htmlcontrols....
1
vote
2answers
128 views

Solution Option is missing in Sharepoint Online

I have created the trial site on Office 365. I have created a Test Site in SharePoint Online. Now I want to deploy custom web parts on SharePoint Online refer to the following link: https://...
1
vote
0answers
48 views

Displaying most recent items on subsite lists on parent site

I am currently creating a PMO site / Project Overview Site. I have my main site functioning as a portfolio which gives a view of data from all subsites under it (these sub sites will be the various ...
1
vote
1answer
82 views

Copy sharepoint online Page (with webpart) in different site collection

I created a page under Site Contents --> Pages library in sharepoint online. This page contains Script Editor webpart. This page working as per requirement in its own site collection. When I try to ...
1
vote
1answer
93 views

How do I open a Word document in a web part

I want to display a .docx (Word) document in a Sharepoint page. I have a sharepoint page with a Page Viewer web part an a Word document on the same Sharepoint site. What I'm trying to do is the ...
0
votes
1answer
44 views

Getting data from another website using C# and displaying in a web part

I'm trying to read information sitting in another wesbsite using C# and displaying the result in sharepoint 2010 web part. I read about httprequest but I'm failing to implement it. Please anyone help ...
0
votes
1answer
156 views

SharePoint Online Page Viewer Web Part Folder Path - I've Tried Everything!

I've been Googling for 4 hours and have tried every syntax I could find and nothing works. I get errors or no reaction at all when clicking "test link". I want to display my company's network folder ...
1
vote
0answers
34 views

Custom HTML View for list part

I am new to Sharepoint and am looking for some help. I have a list of about 300 items and each item has a unique ID. I created a page that has a filter web part and a list-view connected to the ...
1
vote
0answers
264 views

Regarding Highlighted Content Web Part with Carousel layout in SharePoint online

I am working with Highlighted Content Web Part in SharePoint online with modern template. when i select carousel to my show images in slider, the carousel is not showing images, but with any other ...
0
votes
1answer
66 views

Web part page arrows showing Of how many (Total count of list items)

I'm hoping one of you are able to help. One of my users asked to see the Of XX for the page tabs. So they know if they're on 10-20 of 1000 or 50. I've been searching around for some time without ...
1
vote
0answers
114 views

How to display subfolder in documents web part?

My situation: I have one documents library with sub folders on a page I like to show content of one subfolder. I also want to have sub folders of folders visible. I couldn't find an obvious way ...
4
votes
1answer
48 views

Create-react-app version 2 not compatible with SharePoint?

I'm trying to make a web part with React (not SPFx, just a regular mini React app) for use in SharePoint. I have done so successfully with version 1.x of react-scripts, but now 2.x is out, with ...
0
votes
1answer
305 views

Modern webparts & iframes not navigating to a new page

I am using SP classic site with using modern webparts in iframes. I have added the webpart into a site page and embedding this onto the homepage classic site. However, when opening a link i.e a ...
0
votes
1answer
28 views

Sharepoint 2013 Document library and search not displayed

I have a problem with document library, search zone' webparts which are hidden. I don't know the reason of it. I have Windows 2008 R2 server, Sharepoint 2013 enterprise in 3 VMs (Front End, Back_End ...
1
vote
0answers
69 views

Modify the List View Web part's Miscellaneous ( Form Template Name ) value using C# in SharePoint 2016

Is there any way to change the List View Web part's Miscellaneous ( Form Template Name ) value using C# in SharePoint 2016
0
votes
1answer
34 views

Visual Web Part cannot be found or is not registered as safe, and isn't being added to web.config

I'm new to SharePoint development, and I'm making a basic Visual Web Part with Visual Studio 2015, which currently only displays a header. It successfully builds and deploys, however the SharePoint ...
2
votes
1answer
52 views

Programmatically Delete Web Part

I have been able to add a web part, thank to this post, using code like: limitedWebPartManager.ImportWebPart(webPartSchemaXml) However now I'm not able to remove the Web Part anymore by Editing the ...
0
votes
1answer
350 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
vote
1answer
93 views

Hide “+ Add” in iFrame - News Webpart

I have a new modern news webpart in classic SP Online and I need to hide the "+ Add" Could you explain how this can be done with JS? I have the following code, how can this be used to not load the "+...
1
vote
0answers
51 views

Issue with docsethomepage.aspx webpart on SharePoint 2010

We had a SharePoint 2010 environment. Under that we have page called as "docsethomepage.aspx". On document set home page, we had some webparts like "Document Set Properties", "Document Set Contents", "...
0
votes
1answer
45 views

Is there a way to force the sharepoint RSS viewer web part to get the latest 5 RSS feed items

I added an RSS viewer web part to our sharepoint online site page, and i define this RSS feed url http://feeds.bbci.co.uk/news/world/rss.xml + i define to get 5 items as follow:- now i thought that i ...
0
votes
1answer
519 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
2answers
478 views

User picture is in delve and email but not showing up in the SharePoint online people web part

I used people web part in the SharePoint online to show up users pictures and there title. One user doesn't pulled his picture. When I checked it from user profiles, I saw his picture in the ...
0
votes
1answer
360 views

Sharepoint Online - missing webparts on team site

On Sharepoint Online we have two different sites. First site is created throught Office 365 Group. So, we created Office 365 group and sharepont site is created automatically with various web parts ...
1
vote
0answers
33 views

Web Part not visibile while customizing a page

This problem is very frustrating... I am developing a SharePoint hosted add-in. In this project a I have added a Web Part and code to the MyWebPart.aspx file. When I publish a new version of the add-...
0
votes
1answer
412 views

SharePoint online workbench not working using Edge

I'm about to develop a SharePoint modern web part but I cannot test my web part online using Edge (IE 11 works fine). I have deleted the gcb-serve-data folder and reinstalled the cert, still I get ...
0
votes
1answer
52 views

Strange result sorting in Search Web Part SharePoint 2013

We have a Search Web parts with a Sorting drop down list. In the Query config panel, the default sort is on the "ranking". However, in the Web Part we have the following JSON to present a drop down ...
1
vote
2answers
129 views

Are there any available modern web parts to show existing “Prompted links”

Are there any available modern web parts to show existing “Prompted links” inside modern pages or any-other web part which can be used. i want to add few clickable links/ images which will redirect ...