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

how can i filter a list in a view on a page without breaking pagination?

I have an app part placed on a page in which i want to filter the data in the list to show. The data needs to be filtered by multiple conditions. i have most of the filtering done, but filtering by ...
0
votes
0answers
12 views

Clicking empty content editor webpart throws confirm window

We have a 2013 on-prem setup. We are site collection admin so everything is client-side and javascript, no access to central admin. We have a site using page publishing features and custom page ...
1
vote
2answers
35 views

Why is my webpart not hidden?

I have a promoted links webpart that I need to display only if a particular text string is displayed in another webpart on the same page. I can successfully capture the text string to a variable but ...
1
vote
1answer
34 views

Web part list items count

I have a list built using web part. I want count of that web part list. Scenario: I have List A. Created list B and added web part into it which points to list A. I want list item count of list B. ...
0
votes
2answers
30 views

One document library but want to show different library filters on the same page

I am currently using one document library, so as to avoid the same type of file being use in different SharePoint libraries. The issue that I have is when I create a sub page, I am often asked to ...
0
votes
1answer
29 views

SharePoint 2016: user profile news channel problem

Good day, I have such problem. I opened My profile and found the Web Part Errors on my "News Channel" page. All Web Parts show error: "The web part or web form control located on this page cannot ...
0
votes
1answer
20 views

How to set default focus on the Apply Filters button webpart on a Sharepoint site page?

We are using Shareoint 2016 on Prem. Any suggestion on how to set default focus on the Apply Filters button webpart on a Sharepoint site page? So pressing the Enter key will trigger the Apply Filters ...
0
votes
1answer
113 views

Get the selected item (item id) of SharePoint list (On Premise 2019) with SPFx and React

I am trying to customize the edit form of SharePoint list using web part SPFx. I need to get "item id" of selected item and the send it with query string to new page (custom edit page). have you any ...
0
votes
0answers
22 views

Live “Who's Currently Viewing This Page” In SharePoint?

Is it possible to surface in a web part on every SharePoint page who is currently viewing that page?
1
vote
2answers
49 views

Generate link to Manage Checked Out Files from Document Library URL on SharePoint Online

We have some users we have given access to override check-in on document libraries within SharePoint online, but don't want them to be able to change the configuration of the libraries. Because of ...
1
vote
0answers
39 views

Sharepoint page not opening folders in web parts

I have a web page that has a couple of document libraries as web parts. All the libraries has folders with documents in them. On the main page, I can not open any of the folders. I can go directly to ...
1
vote
2answers
33 views

What info are exposed inside the site activity modern web part? can i know what other users viewed?

I have added a "Site Activity" web part inside our modern team site. and to check what this web part expose >> i login using 2 different users (UserA & UserB). UserA. will see what he/she have ...
2
votes
1answer
68 views

Can't run “gulp trust-dev-cert”. Error “cannot read ”tostring“ of null”

I am trying to build up a react web part for SharePoint, and I was following the instructions from Microsoft page : https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-...
1
vote
1answer
25 views

Web parts continuously loading

Our organization is running a Microsoft hosted SharePoint 2013 Cloud Service as our intranet. It was originally set up by a consultant, who built two "custom" web parts for the site. One is a calendar ...
1
vote
1answer
35 views

Sharepoint Online TeamSite [closed]

I want to create comment box to my Web Part Page like the picture. I use team site template. Any idea? P/S: I can use SharePoint Designer and My SharePoint Online sever is 2013.
0
votes
1answer
37 views

Sharepoint Online Popular Items Webpart

I'm looking to display the most popular items from a document library, but i cannot find an out of the box solution. I have seen that SharePoint 2013 has a solution for this, but i guess it didnt get ...
1
vote
1answer
46 views

Auto populate a lookup field with multiple entries after selecting multiple entries from a lookup

Please excuse me for the vaugness, required due to the type of work. I have a list that indicates upcoming work on various items. When the work is finished on those items, drawings need updated. As ...
0
votes
0answers
45 views

SPFx packages are referencing older versions

I have created a new solution with option SharePoint 2016 onwards, including 2019 and SharePoint online. Then I have added a web part and did the gulp serve. I got below error: Now I checked the ...
1
vote
0answers
11 views

Table Of Contents won't show subsites and pages at the same level

I am using the Table Of Contents webpart, but I cannot get it to show the contents in a logical manner. The problem is that pages and subsites are treated differently in the displayed hierarchy. I ...
0
votes
0answers
19 views

SharePoint Online Connectors not working and now missing

I'm using SharePoint online, Plan 1 with modern Team sites and Communication sites. I was having an issue adding any connector, I could add the connector but when I clicked on "configure connector", ...
1
vote
0answers
42 views

Change Look of Classic List

How can I change the look of this list? In classic view, the space in between the question and the text box to be filled up is too big. Is this a change web part? and if so what formula may I use?
0
votes
1answer
35 views

how to add anchor links in a Text web part?

We use Office 365 and have a private Sharepoint website setup for our company. I added a Text webpart to one of the pages on the site. We want to add another links to some of the headers so we can ...
0
votes
1answer
17 views

How do permissions interact with the Modern Activities Web Part?

We have a subsite that has specialized permissions for 4 user groups (e.g. North, South, East and West regions). This subsite is using the Modern experience. All four user groups have access to the ...
0
votes
1answer
22 views

Change site titles in Sites web part

I am building a Sharepoint Online site and have an issue with the Sites web part in a site collection hub. I have a number of site collections which do not have the proper title. When I rename the ...
0
votes
0answers
24 views

Way to get List webpart to work with List properties webpart on mdoern page with custom View format

I am trying to get my list webpart to work with the list properties webpart in the modern pages, while having some custom JSON View formatting, but finding that "hideSelection": "true", seems to ...
0
votes
1answer
190 views

How to edit Web Part properties in REST or CSOM?

This is a follow-up to my earlier question, How to get all properties of a Site Page using REST API?. Using REST in an AngularJS application, I was able to read the properties of the Web Part Page ...
0
votes
1answer
30 views

How to run AJAX call on page load and access that information from a custom webpart? [SharePoint Foundation 2013]

New to SharePoint development and not understanding how things work: I have a "directory search" custom webpart on my home page. It currently only works on the second search. I guess the AJAX call ...
0
votes
1answer
54 views

Mask for textbox in sharepoint 2013

I'm trying to put mask in my sharepoint list, unfortunately answers from similliar questions are too old, so jqueries doesn't work at all (or they are false added by me) I don't have Sharepoint ...
0
votes
1answer
71 views

How to use Hero web part in publishing template SharePoint online 365

Goal: I want to add a Hero part (or something similar which allows to present links as tiles/pictures with grid) to a page on a site which has template 'publishing'. Problem: It seems like the ...
1
vote
1answer
46 views

Fill SharePoint People Picker from SharePoint List Column

I have a SharePoint List who has the column of type Person or Group. In my webpart solution I am trying to use Caml Query to get the Data of the List based on Department column. Each Department is ...
1
vote
0answers
28 views

is there Markdown webpart for sharepoint 2016 on prem?

I am looking for a way to store markdown code in SharePoint. Is there a way to keep markdown in SharePoint and display it properly?
1
vote
2answers
96 views

Error: AADSTS65001: The user or administrator has not consented to use the application

I am trying to install webpart with permissions to users and groups in Microsoft Graph. I use "@pnp/graph" to comunicate with Microsoft Graph API. "webApiPermissionRequests": [ { "resource": "...
0
votes
4answers
39 views

Unable to access the site Using Alternate Name after Alternate Access Mappings

My server name is "dev" and I need to change the name to access the site Locally and as well as on LAN. I changed the alternate name by using AAM to "abc": On the Local Server, it says This page can'...
0
votes
3answers
54 views

Access denied in subsite

I have custom web parts deployed in my SharePoint 2016 solution. Scope for web part features is web. I am facing a weird issue in sub site. If I break inheritance in sub site and user does not have ...
2
votes
2answers
58 views

Chrome is opening Local Host site with HTTPS

In a SharePoint Development Environment whose server name is "dev", the site is deployed on the port 80. I am accessing the site in Internet Explorer using dev:80 then internet explorer automatically ...
1
vote
0answers
62 views

SharePoint Online Modern Experience: Sketch app web-parts template for Designers

Does anyone know where I can find a library of SharePoint web-part designs for the sketch app? They can be custom, the intention it to find web part designs that can be tangibly created in the ...
0
votes
0answers
118 views

SPFX Conditionally display fields in custom web part (react-list-form)

New to SPFX - I'd like to implement the custom web part react-list-form. Everything looks and works great, except I also need the ability to conditionally show / hide certain fields based on other ...
0
votes
1answer
40 views

How do I run this JSOM

I was looking for ways I can automatically change the content type of my files inside SharePoint online. I go a code from Here I'm not sure how the code is supposed to work. Added a Webpart, ...
1
vote
1answer
77 views

remove <div> from a sharepoint list with powershell

I have a web part where a user adds a comment into a multi-line text field. It was originally set up as a rich-text field but I need to change it to plain-text for reasons. When I did so, all the ...
0
votes
1answer
69 views

How do I change a SharePoint ClientSideWebPart?

I have links in a SharePoint Online site page that I would like to retrieve and modify from within a C# application. I have been successful in using the SharePointPnPCoreOnline NuGet package to change ...
0
votes
1answer
30 views

Connect HTML with Document Library

Is it possible to add an Html page as a web part inside SharePoint. I want this html page to have rows of links that once clicked, it would bring users to specific folder inside a Document Library on ...
0
votes
0answers
24 views

Why do the headings in the text web part differ from the HTML in SharePoint Online?

When I inspect a text element on a site page I see that headings in the text map to different HTML headings. When I apply a Heading 1, I see an H2 in the code. When I apply a Heading 2, I see an H3 ...
0
votes
0answers
12 views

Web Form with unique ID to CSV

I have a big question, I just joined a project for work about sharepoint. They threw me in there with knowing that I dont have any SharePoint knowledge. I dont want to let my first project down so i'...
0
votes
0answers
24 views

Dropdown from List

I have a page that I would like to create a dropdown list that is linked to other areas of the page. I used the choice webpart . Can the web part dropdown instead of popout?
0
votes
1answer
39 views

Javacript as Webpart to change Content Types

I am not allowed to change the Content Type of a file using the Quick Edit. I was wondering if there is any JavaScript code that I can add as a Web Part to the document Library. This code should ...
0
votes
1answer
40 views

SharePoint DateTimeControl styling is getting out in google chrome

I am using a SharePoint DateTimeControl in my web part solution in SharePoint 2013. it is working fine in Internet Explorer: but when I open the same page in Google Chrome, it looks like the ...
2
votes
1answer
54 views

SharePoint online column formatting not reading my children array in JSON object

I can get the formatting to render the background and font style for the column text but not the icons in the children element. I have messed with this for days. I must use style elements as opposed ...
0
votes
0answers
130 views

“File Viewer” modern web part zoom level for an excel sheet

I have an excel sheet inside my PC, and I set its zoom to 50% and save it. Then I uploaded it to our SharePoint online document library >> then I show it inside a modern page using "File Viewer" ...
1
vote
0answers
34 views

Picture Library Slideshow Webpart Library View

I inherited a SharePoint site that has a photo gallery section. Inside the photo gallery there are multiple pages and each page is supposed to have a filtered list of photos in the slideshow from the ...
0
votes
1answer
22 views

Layout - enlarge multi-value fields using designer

I changed an Edit Form in Sharepoint (included a script editor web part) to enlarge multi value fields list boxes (they were to small in width) and it worked (inserted code snippet). However, if i ...