Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
15 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
25 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
29 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
42 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
18 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
19 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
37 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, ...
0
votes
1answer
13 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
18 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
21 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
15 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
9 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
19 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
33 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
28 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
28 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
20 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
24 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
16 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 ...
0
votes
0answers
15 views

Adding Microsoft shifts in to SharePoint online

We have started using Microsoft shifts in Microsoft teams for our service desk team but we want to give all employees visibility of their shift patterns so they know who is in each day. I can't work ...
0
votes
1answer
12 views

Modern page -> Modern Document library webpart

System: SP19 on-premise; Page: Modern page; Webpart: Document library; Situation: I want to open DocSet in the same or the new tab with all details in in (standart docset page); When I pressed on ...
0
votes
0answers
7 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
25 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
votes
0answers
10 views

shaded view style takes removes other view options

My coworkers all want the shaded view but when selected it removes the options to switch to other views and add a new document. How can I keep both? strong text
1
vote
0answers
23 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
17 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
21 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
7 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
10 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
9 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
34 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
62 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
9 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?
0
votes
0answers
13 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
18 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
40 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
32 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
29 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
35 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
16 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
20 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
16 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
18 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
28 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
20 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
26 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
33 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, ...