Stack Exchange Network

Stack Exchange network consists of 174 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
Make your voice heard. Take the 2019 Developer Survey now

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.

0
votes
1answer
14 views

Implement 2FA webpart on pages that needs restriction

So currently the previous engineer has developed a 2FA functionality for the sharepoint 2010 intranet we are supporting. currently it is deployed as a webpart on the homepage and it does redirect ...
0
votes
0answers
12 views

SharePoint 2013: The site throws error after adding a web part

I am moving a web part from SharePoint 2010 to 2013. After updating the assemblies reference in Visual Studio 2012, I create a WSP file for the web part. Then I add the WSP solution to the farm and ...
0
votes
0answers
20 views

Embedding link to sharepoint

I got a case where I have an intranet FQND that should not be acessible through direct link via browser from any device, but instead of it, the access should be via a sharepoint intranet website with ...
2
votes
2answers
20 views

Changing a View doesn't reflect on a page

I've modified my "Wanted" view of a classified ads list, grouped by Category, so that it doesn't display the annoying "Category:" text on each line. That works flawlessly when viewing the list ...
0
votes
1answer
17 views

Is it possible to set web part criteria based on value from a list?

I have a sharepoint list with current and upcoming cases, and a list of years in which these cases will be completed. I would like to create a page with web parts showing cases for each year currently ...
0
votes
0answers
12 views

bootstrap pop is not displaying properly in chrome suddenly. pop is displaying inside webpart in modern site [closed]

in ie pop up is displaying properly.But all of a sudden in chrome bootstrap pop up is displaying within the webpart instead of whole window
0
votes
0answers
16 views

how to set the actual webpart code as initial value in PropertyFieldCodeEditor - SharepointFramework

Hello i am using this custom property pane control called PropertyFieldCodeEditor. what i want is to display the actual webpart code as the initial value of the code editor, then after i click save, ...
0
votes
1answer
18 views

Call JavaScript dynamically on Visual Web Part

I currently have a visual web part that displays clocks from different time zones, using the jClocksGMT library as provided here in the .ascx file. However, instead of hardcoding the timezones I want ...
0
votes
0answers
21 views

Tiles/Miniature View on Image Library: How to display custom metadate on mousover/hover?

The title might already say it. In one of my projects I'm currently looking for a solution to show additional metadata to an image on mouseover/hover. The first idea I had was to use the build in ...
1
vote
1answer
16 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
18 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
50 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
137 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
22 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
26 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
14 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
30 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
16 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
12 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
17 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
25 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
46 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
35 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
36 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
22 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
41 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
38 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
123 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
12 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
29 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
20 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
48 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
34 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
41 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
47 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
38 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
39 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
31 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
87 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
33 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
34 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 ...
3
votes
0answers
22 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
61 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
37 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
26 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 ...
1
vote
1answer
20 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
77 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
53 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 "+...