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

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

Problem with paging for specific users (not admin users) in document library view

I have a document library inserted within a web part in a page and the problem is that specific users (not admin users) cannot go to page #2 to view its documents. the filters do not work either. if ...
0
votes
2answers
26 views

SharePoint 2010 Webpart Error

I am accessing a list view webpart and seeing an error: Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML ...
1
vote
0answers
11 views

Using ClientContext can we change the url of text file linked to content editor webpart?

Is there any way to change the url property of content editor webpart using Javascript function ? I found solution to change the title of the webpart not the url properties of the web part. ? ...
0
votes
1answer
22 views

Custom webpart not working after upgrade from 2010 to 2016

I've been facing an issue with one of the custom developed webparts in our Sharepoint Environment, after an upgrade from sharepoint 2010 to 2016. This webpart worked flawlessly in 2010 before the ...
1
vote
1answer
20 views

PnP powershell provision Site with webpart

I am dynamically creating sites (Modern sites/pages) and I want to add embed webpart with embedded code each time a site gets created. How can I do that with PnP Powershell script?
1
vote
0answers
19 views

Sharepoint Web Part Error CS1061

My web parts deployed yesterday morning very well. Cant recive code in my ascx. now getting error like this : Error CS1061 'announcementdescription_announcementdescription_ascx' does not contain a ...
1
vote
2answers
28 views

How to get document library view from web part on SharePoint 2013?

I currently have a document web part on my home page with a few folders with documents in each of them. When I click on the folders, the documents show as they should. However, I would like when I ...
1
vote
0answers
12 views

Excel Web Part - remove options from drop down list?

I have a site that contains an Excel web part. The web part has a drop down list for named ranges on the Excel file. The DDL has many names/options that don't appear in my named ranges. Is there ...
1
vote
1answer
20 views

Sharepoint 2013: Wiki page -how do I embed another page? the other wiki pages do not show in webparts

I am trying to create a wiki and to add a menu at the right side of my layount. That is a column where I would like to embed a content page that will be common to all my wiki pages. How do I do that? ...
0
votes
0answers
24 views

Display dropdown by reading list in Sharepoint online

I have list in SharePoint online which has data of cities. Against each record there is a column state. For example: Mumbai --> Maharashtra Kagal --> Karnataka etc. I want to create a new aspx page ...
0
votes
0answers
11 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
37 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
44 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
35 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
9 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
19 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
18 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
15 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
13 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
22 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
19 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
18 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
20 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
25 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
22 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
20 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
53 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
229 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
29 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
28 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
15 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
34 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
17 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
15 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
19 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
27 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
62 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
44 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
29 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
42 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
135 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
62 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://...