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

SPFX 404 When Trying to Get Current User In Workbench

I'm trying to get the user context in my React webpart and am getting 404's when requesting: https://localhost:4321/_api/web/currentuser This is the part of the code that fetches the current user: ...
0
votes
0answers
7 views

Recent Documents Web Part Explanation

I am currently trying to implement a Recent Documents Web part in SharePoint Online using the Modern Experience, however, I don't yet understand how it works. The main documents i want to show up are ...
0
votes
0answers
7 views

SQL Server Reporting Services Report Viewer - Error Message

We are trying to add the SQL Server Reporting Services Report Viewer webpart to a page, but get the following error: "An error occurred during local report processing. For more information about this ...
2
votes
1answer
43 views

“Show Toolbar” style working in the document library view (not a webpart) - SP2013

I am actually quite confused as to why it worked. Here are my steps: Make a web part of the library anywhere, change the toolbar to "show toolbar". Save. Edit the web part again, this time change the ...
0
votes
0answers
29 views

Move SharePoint vertical layout section

Is there a way that I can adjust the vertical section layout option? I am currently using a "One-third right" option but want to increase the left hand section of the page, every so slightly. Also ...
0
votes
1answer
18 views

Sharepoint online chart using library data not list data

Is it possible to generate a chart webpart that will show data from a sharepoint document library as opposed to a list. I have over 2000 documents in a library and would like to generate a webpart ...
1
vote
1answer
18 views

current user filter web part in SharePoint

I would like the user to only see their tasks that are meant to their department for example (IT Users when they are logged into to Tasks list ) they should only see Tasks for IT department only. I ...
0
votes
0answers
11 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
10 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
32 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
28 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
22 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
11 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
19 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
21 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
33 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
34 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
28 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
24 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
24 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
34 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
30 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
27 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
29 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
9 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
17 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
39 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
26 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
13 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
18 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
48 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
24 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
25 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
27 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
41 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
16 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
38 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
32 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
46 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
47 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
27 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
38 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
38 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
32 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
0answers
37 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
25 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
21 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
11 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'...