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
1answer
30 views

Cannot delete the App added in Site Contents

We added a SPFX App in a SharePoint 2019 on-premise environment but somehow got an error. The problem is we cannot remove the app from the Site Contents. What possibly is the cause and how can we ...
0
votes
1answer
21 views

View showing new list items

Is there a view (or a way) that show new items only to a list? My goal is to have a "New Items" list, or view that will be updated automatically shows any thing within the past 24 hours. Filtered ...
1
vote
1answer
48 views

@pnp/sp - send email function returns 404

Just wondering if I could get some help. I built a small webpart that sends an email. On my local workbench it works fine however when I deploy to production Error: Error making HttpClient request ...
1
vote
0answers
70 views

SPO highlighted content on Site Pages library?

I have an SPO Communication site with three custom site columns (all Managed Metadata type) which are all in two separate custom content types. the site columns are mapped to RefinableString00, 01, ...
0
votes
1answer
85 views

Only Showing Timeline in Task List

I know how and find many ways how to hide the timeline from the task list but I don't find where I can just show the timeline and hide everything to the list. Question: What can I do to show the ...
1
vote
1answer
52 views

javascript not working first time after iisreset in a visual web part

I am having a bug in one of the visual web parts. First of all, this is not my code and I am not an expert in javascript. Secondly, this issue is only happening the first time after the pool has been ...
0
votes
0answers
9 views

Web Part Iteration

Using Content Search to return URLs from a list, I'd like to pass each URL to another web part (likely Content Search or Content Query). Is this possible with a web part?
0
votes
1answer
16 views

Sharepoint List View with 50 individual web parts dificult to maintain

I have a public Sharepoint View to show a list of items. I edited that view to include several web parts (around 50). Each web part has targeted audiences and is visible only by one sharepoint group, ...
0
votes
0answers
11 views

Sharepoint Webpart on mobile view

I have a page let's call it "Lists Of Items" and it has a web part that gets the list of lists and libraries using JavaScript, everything works fine until I go on mobile view, However when I go to my ...
2
votes
1answer
888 views

Hide “See all ” link of list/document webPart in modern page

I want to prevent users from opening the library/list source. I created views and I don't want them access to the original list/library and switch between views or modify them. So how I can hide ...
0
votes
0answers
9 views

Display Template vs WebPart

I am trying to understand the best practices around whether to use Display Templates or a Custom Web Part to display contents of a list on a Web Part Page. As an out an out developer I would err on ...
0
votes
1answer
21 views

Community Portal: Saving default.aspx in SharePoint Designer makes Search Box WP give error

I want to customize the Community Portal home page (default.aspx) in SharePoint Designer on a SharePoint 2016 site. I have a site collection built off of my home page using Central Admin with the ...
0
votes
1answer
37 views

Can jQuery Datatables in a search results web part return more than 50 documents?

I've hit a wall on figuring out how to remedy this issue. Im currently developing a search center page with jQuery datatables and control and item display templates. The search results webpart is ...
0
votes
0answers
10 views

Slideshow of web page

new to sharepoint, I'm for now just an explorer. For our sharepoint we want to display on a screen a display than can rotate between several page like a slideshow. A screen which display some of the ...
0
votes
0answers
23 views

SharePoint Display Templates - Column not translating

I will try and be as brief and simple as I can be in my explanation. We have a SharePoint site with project items listed, the title is using managed metadata, the column is 1 column which within the ...
1
vote
1answer
27 views

SharePoint WebPart won't update without IISRESET when deployed

I'm using visual studio 2017 to create a Visual WebPart for SharePoint 2013 and I have deployed it using visual studio but the problem is that the webpart won't update without resseting iis. How can I ...
0
votes
2answers
45 views

Is there a way to show documents across different site collections in Modern UI on SharePoint Online?

The highlighted content web part does work with this question, sort of. But is there a Content Search Web Part equivalent in Modern UI on SharePoint Online? My main requirement is to show a list of ...
2
votes
1answer
264 views

Replacement of QueryString web part in SharePoint Modern UI

Is there any replacement of QueryString Web Parts in Modern UI? SPFx is the last option.
0
votes
1answer
408 views

How to add a divider line between two web parts?

I want to add a horizontal dark line underneath my web parts to separate each. How do I need to go about doing this?
0
votes
0answers
26 views

Restore of Web Parts in Page Edit Mode

I use the following code to minimize a number of summary link web parts on a SharePoint 2016 welcome page with web parts and it seems to do the expand/collapse work properly in view mode. However, in ...
0
votes
0answers
36 views

Query from a script editor

I need to use a script editor to display list data. The content query web part will display the data the exact way I need to have it display but I need to use a script editor web part on my site - is ...
0
votes
0answers
32 views

Excel Web Part - not getting Data validation dropdown list

I have excel Summary Page hosted through Web Part in SharePoint. The excel summary table linked to a cell that has drop down list Basis Data Validation.However, this drop down list is not visible when ...
1
vote
0answers
120 views

Modern pages: page details web part

The web part called 'Page details' that can display one or more metadata columns on a page, displays terms as text. Is this the designed use or is there a way to have them hyperlinked?
0
votes
1answer
26 views

Search Results WebPart

Good Morning; Is there anyway of increasing the width of the Search results webpart? It seems fixed at around 400px. Thanks
0
votes
1answer
18 views

move discussion board library items?

I have a site where I have a Discussion Board which has Contribute permissions for a group. I want to add a webpart with the ability to read-only (not upload) files. I created 2 groups... one ...
0
votes
1answer
41 views

JS Link Conditional Formatting Paging Not Working

I've added a list view webpart onto a SharePoint 2013 online page, this webpart has a JS Link to a file containing JavaScript which applies different CSS to the CurrentRiskImpactLikelihood column ...
0
votes
0answers
27 views

SharePoint Web Part error After Reinstalling IIS Features

Recently there was a IIS features reinstallation done on my server to resolve FBA login issues. The login is fixed now, but I am facing web part errors. Error: Web Part Error: A Web Part or Web Form ...
0
votes
0answers
21 views

Office 365 - use Javascript to show images based off of SharePoint List

I have a SharePoint site that contains a series of site pages for users across many geograpical areas. Users will open these site pages for the specific areas in order to collaberate. Site pages are ...
1
vote
0answers
25 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
63 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
12 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
26 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
148 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
23 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
33 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
44 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
111 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
26 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
14 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
230 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
173 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
174 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
24 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 ...