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.

0
votes
1answer
860 views

Pin documents to home page

Is there an out of the box web part that might allow one to "pin" documents from one or more libraries? My use case is I'd like a webpart on the homepage to show documents pinned from various ...
0
votes
3answers
25 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 ...
0
votes
1answer
837 views

Using multiple list in a glossary a-z index

I've been searching for a A-Z Index web part and all i found looks the same, a top bar with A-Z letters and then it searches inside a list content with the selected letter. My purpose is to have it ...
2
votes
2answers
33 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 ...
0
votes
1answer
26 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
1k views

How to add style bullets to Summary Links Web Part

I am working with Summary Links Web Part and I notice that when I click on Configure Styles and Layouts that in the dropdown the selection is different from one Site Collection to another. My ...
3
votes
1answer
942 views

Excel Web Access Web Part won't load any workbook

I've been attempting to troubleshoot an issue on my SharePoint 2016 site with the Excel Web Access. I'm trying to embed a simple work sheet into a page. I should simply be able to open the Web Part ...
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, ...
1
vote
0answers
17 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
17 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
2k views

Alternate List Row Color in WebPart Content Query

XSL File : Created Custom Template Style <xsl:template name="Custom" match="Row[@Style='Custom']" mode="itemstyle"> <xsl:variable name="SafeLinkUrl"> <xsl:call-...
0
votes
1answer
31 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
12 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 ...
2
votes
2answers
3k views

SharePoint 2013 - Doc Library WebPart to display subfolders

Usually you put a WebPart for a Document Library on a page, and this WebPart shows the content of a specific library, starting in root. Now I have some subfolders like "Marketing", "Finance" etc and I ...
6
votes
1answer
2k views

Setting an audience from declarative WebPart?

I have a module that deploys some page. I'm adding webparts to these page, using a <AllUsersWebPart> node within a <View>: <View WebPartZoneID="Body" WebPartOrder="5" ...
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
2answers
990 views

How to show pop up outside the iframe of the webpart

I have a page with custom layout and contains 3 web part zone.In each web part zone I have inserted apps like announcement.I need to show pop up on click of the content in the announcement web part.I ...
1
vote
1answer
905 views

Can I insert multiple People Search Core Result Web Parts on the same page?

I have created a department page displaying a gallery of staff along with a few select fields from their user profile. I successfully used a People Search Core Results web part with a Fixed Keyword ...
0
votes
2answers
875 views

show USER TASKS (webPart)

I am new here as well as new to SharePoint 2013. I wanted to use the USER TASKS webpart to show the user's tasks on the page, instead of the user having to navigate to MySite > Tasks I found ...
0
votes
2answers
3k views

Display a list/library from one site to another site with SharePoint online (o365)

I am looking to display a list and libraries that are on a site from within the same site collection. In SharePoint On-Prem i could use something like Sharing Lists and Libraries across SharePoint ...
1
vote
1answer
922 views

“site users” web part sharepoint 2013 not available

"Site users" web part not coming when trying to add web part on my new site collection. Please let me know, if i need to active any feature for this?
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
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
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 ...
2
votes
2answers
2k views

Make Page Viewer WebPart automatically refresh

Is it possible to make a page viewer webpart automatically refresh or upgrade? I have a report image which I am replacing every 15 minutes with a script but the Page Viewer on SharePoint isn't ...
0
votes
0answers
14 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
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
2answers
351 views

Modern List NewForm on Modern Site Page?

Any way to embed a Modern List New form into a modern site page? Dialog option does not seem to work and I see no web part option.
1
vote
1answer
996 views

SharePoint 2013 Popular items web part - wrong results

Essentially, I have a Popular items webpart on a page, analytics is running - usage reports are being generated but results are not displaying correctly in the webpart. The popular items is set to a ...
4
votes
1answer
332 views

Print Files through SPFx/JS?

I would like to build a button which would send a batch of files to the printer when clicked (It can prompt the user. Doesn't need to go to the printer without approval). The files would exist in a ...
0
votes
1answer
883 views

Unable to add a webpart created through SharePoint designer 2010?

I am trying to create a webpart through SPD 2010 on a list. Below are the steps which I followed: Open site in SPD Go to List. Edit list in designer. Go to Views. Click on one of the Views. Click ...
0
votes
1answer
1k views

Sharepoint doesn't always execute script

So i have a webpart where some very smart people have hardcoded the number of items to show... So i've insert some javascript in a script editor to show more items (since those smart people just add "...
0
votes
0answers
19 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" ...
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 ...
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 ...
3
votes
2answers
1k views

How to restrict the number of lines to show using jquery or css?

i have created simple Custom webpart. It looks like in that web part, Description display multiple line . i have used html P tag to display Description value <p>​Loream Ipsum​Loream Ipsum​...
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
14 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
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 ...
0
votes
2answers
984 views

SP.UI.ModalDialog Namespace or Reference

Is there any server side reference for SP.UI.ModalDialog? What is the reference for SP.UI.ModalDialog for client side? How i reference this in webpart?
1
vote
1answer
1k views

Value cannot be null. Parameter name: fileOrServerOrConnection

I have a web part for Project Server 2013 that was developed by a colleague that's no longer in the company, and I need to support it. When I try to add the web part to a page I get the following ...
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 ...
2
votes
2answers
1k views

WebPart Does Not show up in Gallery

As a noob taking a training class, I have created a very simple sandbox solution in VS2010 with the VS2010 SP Power tools. The solution has one webpart with one button. It deploys to my site, the ...
2
votes
1answer
245 views

How can I fit a Datatable only into a webpart (not page) dynamically?

I develop a Webpart, which should be deployed in other SP-Farms. The Webpart contains a DataTable. I deployed the solution and the DataTable appears in the right side of the Website. I'm using a ...
2
votes
3answers
934 views

Can a web part prevent master page jQuery from executing properly?

I'm including jQuery and a custom .js file into the master page of my SharePoint 2010 site. In the $(document).ready() function, I'm setting a live event handler on an element in the header of the ...
1
vote
3answers
5k views

How do I run some JavaScript in a web part?

I found some JavaScript code on the web that I want to add to my custom web part so that I can modify a PageViewerWebPart's height to 100%. I just need to know what steps to take to call it. I added ...
10
votes
2answers
10k views

Adding ScriptLink for js file to my Visual Webpart causes error: “Cannot make a cache safe URL for…”

Full error: Cannot make a cache safe URL for "sprocketcomplete/layouts/sprocketcomplete/js/sprocketcomplete.js", file not found. Please verify that the file exists under the layouts ...
11
votes
4answers
2k views

Why does having `windows.onload` break page editing?

This is related to an earlier question that I posted: Can't edit page after adding custom web part! Basically, I have created a web part with some javascript. When I add this web part to a page,...