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
23 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
102 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
38 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
33 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
218 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
38 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
35 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
66 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
33 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
161 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
97 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
173 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
54 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
12 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
2k 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
25 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
40 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
25 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
49 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
66 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 ...
1
vote
1answer
476 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
820 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
29 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
43 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
37 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
128 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
28 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
21 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
54 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
29 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
23 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
76 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
29 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
204 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
26 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
49 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
163 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
18 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 ...