We’re rewarding the question askers & reputations are being recalculated! Read more.

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
12 views

How to highlight new items

I've been tasked with highlighting the recently added content on one of main pages of my company intranet page. I need to restrict the items that are shown by the sub-pages under the main page. I'm ...
1
vote
1answer
28 views

Help: Modify code to only show once the Edit Form

The code bellow allows for the edit for to show up when you use the Drag&Drop option to upload files. If you select multiple files, the edit form will also appear multiple files Is it possible ...
1
vote
0answers
26 views

Bulk Upload & Give same Metadata to all of them

Goal: Is it possible to change the code in a way that when uploading mutiple files, the Metadata to appear only once and all the files being uploaded to get the same Metadata ? How the code works ...
0
votes
0answers
20 views

How to fix browser displaying horizontal scroll after inserting web part list?

I have this web part list of named resources that displaying 5 column 500px fixed width, it has vertical scroll in it. it is in table form and // I tried to edit the css by resizing both table and ...
0
votes
2answers
23 views

Turn Title bar filters on at all time

We have a number of custom lists, and on some of the larger ones the sidebar popping up is undesirable. We added Filter=1 to the links to the lists which turns on the filters at the top, which is ...
0
votes
0answers
10 views

View count for documents across all document libraries with timeframe

I am trying to get view counts across document libraries for all the documents (pdf/docs/docx/pttx/xslx/etc) not the web pages. What I am trying to do is getting the count for the total documents in ...
0
votes
0answers
23 views

Strange error in Display Template after removing other web part

I'm facing a strange error when a user edits a web part page. There are a couple of web parts on this page, like content editor, a search content web part (for displaying some user information from ...
0
votes
0answers
14 views

listviewebpart GetDesignTimeHtml() return blank webpart

I am programatically creating ListViewWebpart in SharePoint 2010. I am querying the list and programatically trying to add the listviewwebpart to the page. When I do this listviewebpart....
0
votes
1answer
55 views

To display the webpage again, Internet Explorer needs to resend

I have the code from Here to my document library The script basically opens the edit form when you Drag & Drop files into Document library. The code seems to work fine, however I am getting ...
0
votes
1answer
93 views

Help: How to use this script in Document Library

There is this script which I got from Here. I just have to add ScriptEditor WebPart to my library page and apply this code Not sure how to go with this. I know how to go edit and add a Webpart and ...
0
votes
0answers
26 views

Powershell script to get all site pages which has yammer webpart

Is there any powershell script to get all site pages (Title, site link) within the site collection, which has yammer web part in SharePoint online?
1
vote
0answers
15 views

Content Query Web Part - Get each task's site

Using a custom content query web part and XSL file in SharePoint 2016, I am bringing in tasks across a site collection. I would like to bring in each task's associated site. Using this article as a ...
0
votes
0answers
9 views

Retrieving and displaying values on my web part

I have created a web part property to take in a string value by user and then search my document library for a list of documents that contains the specific value entered, for example "ABC". However, ...
0
votes
1answer
22 views

Sharepoint sp start kit webparts question.Is there a script/content editor webpart?

I have provisioned the starter kiton my tenant and its really impressing with some additional webparts included. see below https://github.com/SharePoint/sp-starter-kit But can we still get the ...
0
votes
0answers
12 views

How to display information on my webpart

I have created a web part property to take in a string value by user and then search my document library for a list of documents that contains the specific value entered, for example "ABC". However, ...
0
votes
1answer
70 views

SPContext.Current.Web.CurrentUser returns incorrect/random value

On button click I am saving few values and the user who performed the action by using SPContext.Current.Web.CurrentUser in the list But SPContext.Current.Web.CurrentUser is not returning the correct ...
0
votes
1answer
35 views

Create custom webpart that uses CAML Query

I am quite new to Sharepoint and I am supposed to create a webpart that can display all the titles with a specific value from a managed metadata column(TAGS). I am required to write a CAML Query to ...
0
votes
2answers
32 views

Cannot delete homepage web part

Noticed on SharePoint online that when a site is created without a office 365 groups i.e. sts#3 template, you cannot delete home page web part and on lists and library’s you cannot save view as. Has ...
0
votes
1answer
151 views

Embedding full page html applications into SharePoint 2019 modern

I am working on a project where client has SharePoint 2019 on premises installed and setup. They are using the modern UI. In addition, they have certain HTML built up full page applications and they ...
0
votes
1answer
30 views

Issue with Date Range when adding Events Web Part?

I am new to Sharepoint and am putting together a site for our internal users. I am wanting to add an events web part that will show upcoming events and internal birthdays. When adding this i am able ...
0
votes
1answer
31 views

Content Search Webpart missing “new” Items from List Query

I've created a Content Search WebPart on my SharePoint 2016 site page, and it's missing items from the list which have the "new" tag on them, meaning they were newly created. The following is what my ...
0
votes
1answer
55 views

Add-pnpClientSideWebPart not working as expected

I´m trying to add a WebPart to a modern page via PnP. Add-PnPClientSideWebPart -Page "home.aspx" -DefaultWebPartType ContentRollup -Section 3 -Column 1 -WebPartProperties @{layoutid="List"} It ...
0
votes
1answer
20 views

Sharepoint 2010 Word Webparts

I have a document library with a couple of Word docs with Webparts in them. Each pull a hand full of field data from a Sharepoint list. One of the Word Docs is working fine and getting populated with ...
0
votes
0answers
20 views

SharePoint Page Update

The system I'm working on is a internal subsite of a huge intranet for knowledge sharing. I have a SharePoint Page with two columns (Layout -> Textlayout -> two columns). In the first column (Column A)...
0
votes
1answer
31 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
22 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
84 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
87 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
115 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
53 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
1k 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
10 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
39 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
24 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
36 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
50 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
354 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
571 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
38 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
35 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
124 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
27 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
19 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
47 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 ...