The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
0answers
17 views

Web-Part Code inconsistent

I'm relatively new to web-parts and coding in general. I wrote a code which, in theory, should fetch all items from two different sharepoint lists and displays them as a tree-view in the webpart. So ...
0
votes
0answers
245 views

Modern web part Code snippet

Is there a way to hide the new web part Code Snippet? Tried but I can't find a way. Best regards Michael
0
votes
0answers
6 views

O365 sharepoint sites created from a template don't match the templated site (random differences)

We are doing SharePoint development in our third online (O365) environment and have experienced the following issue in each system. After a site is templated and a new one is created based on that ...
2
votes
2answers
185 views

What Happend to the Resources List on Central Admin SharePoint 2019

Previous versions of SharePoint had the "Resources" list view web part on the Central Administration home page (far right side), but in SharePoint 2019 On-Prem its missing. I see it in the "View ...
0
votes
0answers
203 views

List Tree View in Sharepoint Web Part

I need to create a Web-Part, where it shows all items from one list and if you expand the item, you see all items from another list which are connected to the first one and so on. So f.e. I got a ...
0
votes
0answers
10 views

For a web part that maintained a PER-USER collection of data objects what would be the recommended place to store the per-user data?

New to SharePoint. Traditionally I would throw something like this into a SQL database, but perhaps something in SharePoint would suffice and be less overhead, an overall better option. I know there ...
1
vote
0answers
21 views

WebPart execute JS function

I've this code below: <webParts> <webPart xmlns="http://schemas.microsoft.com/WebPart/v3"> <metaData> <type name="Microsoft.SharePoint.WebPartPages....
1
vote
0answers
22 views

Change row limit on webpart with JS or AngularJs

I have a webpart wit row limit 9, and a widget that displays me a table with different numbers. I want that table to continue to show me the 9 rows until a date, and after that date to show me 5 rows. ...
0
votes
1answer
20 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
26 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
22 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
28 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
20 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
29 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
31 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
30 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
182 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
37 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
58 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
1k 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
102 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
35 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
21 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
70 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
53 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
53 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
40 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
44 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
299 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
178 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
42 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
63 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
52 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
218 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
308 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
19 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
288 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
59 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
218 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
163 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
56 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
236 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
373 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
84 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
124 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
66 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 ...