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

SharePoint Online Remove link in web part title

How do I remove the link in a web part title? I want the title to be text only. I am using SharePoint online and a PC with Windows 10. I do NOT have access to SP Designer The result is the same for ...
0
votes
0answers
17 views

Display Template Error

I've customised a display template for a catalogue of images, and upon clicking the thumbnail, I want the image to download. So I changed the script from: <div class="zoom-...
0
votes
2answers
102 views

Sharepoint online arrange Grids in 4 columns

Simple task,i am using the quicklink webpart to create a dashboard on my homepage,i need to arrange the grids in 4 columns in a 3 column page layout. The maximum column i get when editing the webpart ...
0
votes
0answers
23 views

How to stop CSS to be applied to a part of layout on the samepage

I have created a SharePoint Page using Wiki page option. - I used the two column option and created the page. Added the html code for accordions using the Js and some css style I did that by ...
0
votes
1answer
26 views

SPFx WebPart - SP.Runtime.js evaluation takes a long time

I have an existing JSOM web-part which reference the SPO runtime: , "sp-runtime": { "path": "https://abc/_layouts/15/SP.Runtime.js", "globalName": "SP", "globalDependencies": [ ...
0
votes
1answer
169 views

SPFx React Webpart - Using PnPJs to add files to list field

I'm building an application using SPFx Webpart with React. On one of my components I have a form that the user can fill out. I'm using PnPjs to push the user's responses into my list field. Everything ...
0
votes
1answer
42 views

SharePoint 2019 on premise - show profile image in people webpart

We have recently moved to SP2019 on premise. We have our user profiles syncing from AD and have just imported the associated staff images as well. What is now a problem is getting the profile images ...
0
votes
2answers
47 views

Read the content of web part

I have content editor,script editor, image viewer etc.. part on share point homepage. I am able to read the web part properties. Now i want to read the content or values of that web part using power ...
0
votes
0answers
11 views

SPO Web Part page - Icons edit page ribbon grayed out

I'm facing an issue whereby the icons on Edit View ribbon on a web part page are all grayed out: I verified that I am a member of the Owners group and the page is shared with me. Moreover, I also ...
0
votes
1answer
64 views

The remote server returned an error: (500) Internal Server power shell

I am trying to load the on premise SharePoint site using below PowerShell code: Add-Type -Path "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint....
0
votes
1answer
22 views

Appointment System in SharePoint

I want to create a appointment system in SharePoint There is an Internet SharePoint site where users can take appointments from website and visit the client after he got appointment date and time,for ...
0
votes
2answers
26 views

SPFX JSOM - call a named function from executeQueryAsync

Apologies in advance for the newbie question as I believe this is actually a fairly simple issue. I am using JSOM and in my WebBart.ts file have a named function that queries a list and produces front-...
0
votes
0answers
42 views

How do I collaborate effectively with UML in a M365 environment?

We're currently using PlantUML with Confluence. We're currently trying to move more towards M365, but haven't had any luck finding a decent wiki-like system and a decent UML integration for SharePoint ...
0
votes
1answer
40 views

SPFx, import SCSS from webpart settings

In SPFx webpart - can I import styles not from *.scss file, but from settings? I have same webparts on different tenants with different colors/branding. Want to make my SPFx webpart more flexible ...
0
votes
1answer
17 views

Accessing a migrated list display form will return this error “The page you selected contains a list that does not exist. ”

I have migrated a SharePoint on-premises 2013 custom list to SharePoint online, and the on-prem list display form contains a filter web part referencing another list. now after the migration when I ...
0
votes
1answer
88 views

How can I make a GET request with Headers to an external API?

From a SP Online SPFx Web Part (No Javascript Framework), I've been trying to do a GET request to an API that expects some headers and nothing works. If use Postman, with the same URL and Headers it ...
0
votes
1answer
67 views

Sharepoint 365 Cant Add Web Part to Subsite

I have read through several threads answering this exact question. However these threads relate to older SharePoint editions and am unsure if my inability to implement the solution is due to version ...
0
votes
1answer
102 views

Play Flash(.swf) files in SharePoint Online

Are there any options/webparts to play flash(.swf) files in SharePoint Online modern and classic pages?
0
votes
0answers
4 views

Sharing files among subistes

The idea is to create two subsites under my department's site. The first subsite (A) is intended to be published for authorized partners to download items available for them. The second one (B) is a ...
0
votes
0answers
9 views

How do I modify this Script Editor (snippet) code to Hide Web Parts based on a Yes/No field in my list, currently only Hides web parts

Field Name is "Active" which is a Yes/No checkbox field List Name is "Award Cycle" SNIPPET Code: <script type="text/javascript"> function hidepart() { var hideWP = document.getElementById(...
0
votes
0answers
14 views

How may I dynamically open pdf file in Content Editor web part in SharePoint 2019 on-premise?

I want to open pdf file dynamically in Content Editor web part. I know there is java script involved, I got this java script , but is open the file in the new window. I want it to open the file in ...
0
votes
0answers
10 views

Drag and Drops webpart issue

This issue is making me crazy. So, I had some issues to displaying Microsoft Bing Map on one of custom SharePoint 2016 page. To fix this issue I had to change the below code from IE=8 to IE11 and now ...
0
votes
1answer
59 views

How can I open any .pdf file in the document library in a web part?

I am using SharePoint 2019 on premise version. I have a large document library of PDF file. I want to open any of the file in a web part not in new browser tab. Is there any way I can accomplish this ...
0
votes
1answer
48 views

Loading External JS File Into Script Editor WebPart

I have the following piece of JS code that shows All Views associated with a SharePoint list (without having to use the contextual menu): <script type="text/javascript"> ...
1
vote
1answer
23 views

Webpart not displaying on IE

I have a very weird problem, I have a custom webpart that displaying on Edge and Chrome and not IE. Having said that when I change the page to edit mode, the webpart is visible on IE too and when I ...
0
votes
0answers
39 views

How to transform XML with XSLT on SharePoint Online?

On SharePoint 2013/2016, if I use the option to view file in browser, my XML would be transformed with the XSLT file along with other CSS and JavaScript files. However, on SharePoint Online, it opens ...
0
votes
1answer
26 views

SharePoint Online - Highlight Content web part filtering with parent page properties

I am new to SharePoint but I have been tasked with investigating it. I have added some Custom properties to a Site Page, I have added a Highlight Content web part to this page. I am now trying to ...
0
votes
1answer
24 views

People Group web part for Group connected site collection

It seems like the out of the box Group people web part can't resolve the members of the Members or Owners group in the O365 group that "owns" the site collection. Is there a community web part that ...
0
votes
0answers
21 views

In a modern SPFx Web Part, how do I check if a URL exists? [duplicate]

I am creating a Web Part that shows a video that might or might not be in another Document Library. If the video exist, I should display it. If it doesn’t, I should display another video. How can I ...
0
votes
0answers
20 views

Is there a way to remove the “What's Hot” filter from the categories web part?

If possible, I'd like to remove the "What's Hot" option, in some part because I'm not sure what this is filtering for (if anyone can provide insight to that it would be great!). If necessary, the "A-Z"...
1
vote
1answer
114 views

In a SPFx web part, how can I get description and Url from a SP.FieldUrlValue?

I have a SharePoint list with a Link column of type Hyperlink or Picture. How do I access the description and url values in code? export interface ISPList { Title: string; Link: object; } ...
1
vote
1answer
37 views

Video Carousel for SharePoint Online?

Is there an out-of-the-box solution for a Web Part that displays a carousel based on a SharePoint list. Basically it needs to show a carousel of video thumbnails and open a Url when clicking on a ...
2
votes
2answers
46 views

How can I track if a web part is being used and where?

In SP 2013 OnPrem, how can I track if a web part is being used or not? And, if it is being used, how can I list all pages using those web parts? We will migrate all structure and content to ...
1
vote
1answer
26 views

Best way to troubleshoot custom web part without original source code?

We have been asked to troubleshoot a custom web part in SharePoint 2013 on-premises. The problem is that we are unable to determine exactly what it's trying to do, as we were not given the source ...
3
votes
1answer
45 views

SharePoint User add data using PnPJs

I'm creating a SharePoint SPFx web part app. Using PnPjs I'm able to retrieve the current logged in user's information: sp.web.currentUser.get().then((response : CurrentUser) => { console....
1
vote
2answers
185 views

I want to insert attachment in particular list item using pnpjs

I want to update the list item with attachment but not sure why its failing the payload while saving it. try { sp.web.lists.getByTitle(listName).items.select(item.Title).add((r => { // this will ...
0
votes
0answers
41 views

How to display all views for lists/tasks on a page with more than 2+ webparts sharepoint 2013

I've found solutions on how to display all available views for a webpart by changing the SurfacedPivotCount using a script editor (How to display more than three views in SharePoint 2013). However, ...
0
votes
1answer
19 views

Is there a type of custom web part I can make that is available to all sites without having to first add the app to the site?

I'd like to create a web part that shows the time in specific time zones and some other organization specific info so that any site in our farm can add the web part to any page. Using SPFX and ...
0
votes
0answers
21 views

How to sync a SharePoint Web Part with Teams?

I have developed a SharePoint WebPart, this component has several properties that I can modify from SharePoint: width, height... I have installed the same component in Teams and works fine but I ...
0
votes
0answers
7 views

Configurable static tab in SharePoint

I have developed a SharePoint WebPart that I want to use in my Teams. In this WebPart I can hot-swapping several properties: width, height... but when I try to use this WebPart in Teams, I can't ...
2
votes
1answer
49 views

Sharepoint Excel Web Access Web Part double scrollbars

This has been very annoying for me. I searched for hours now in order to solve this. However I have not been able to find a satisfying solution. On a SP Webpart page I have added an Excel Web Access ...
0
votes
1answer
18 views

SearchExecutor not returning results with non privileged user

for short "testing user" will be "TE", "administrator user" will be "admin". I am currently working in a sharepoint project in visual studio which deploys a webpart that uses the search engine. With ...
0
votes
0answers
47 views

Sharepoint SPFX react/typescript mobile layout

So I created a Sharepoint SPFx React Typescript app which works perfect. Using this guide here I design a mobile version of the web part app: https://goshakkk.name/different-mobile-desktop-tablet-...
0
votes
0answers
89 views

How to use Flow to create a brand new Sharepoint news post?

I am very new to Sharepoint, Forms and Flow. What I am trying to do is when a form response is submitted, automate a workflow to create a news post page on Sharepoint with datacollected from the form. ...
0
votes
2answers
106 views

Drag & Drop Email - Document Library vs. Web part

I'm experiencing two different drag & drop experiences when using the Document Library vs. Document Library Web Part in SharePoint Online when dragging an email from Outlook (Version 1902 Build ...
0
votes
4answers
229 views

In SharePoint 2013, how to embed one site page into another?

I have some common content as Site Pages, lets call it "Page 1", which I want to show in "Page 2" and "Page 3", just as it is shown in Page 1, so that I can just update Page 1, and Page 2 and Page 3 ...
0
votes
1answer
28 views

Bootstrap on sharepoint webpart

I'm developping a sharepoint webpart and i would like to include boostrap for better design. I have had css into my solution and the design is good, no error. But, the css is applied for ALL the page !...
0
votes
1answer
31 views

How would you unit test a WebPart that extends BaseClientSideWebPart?

I want to unit test that webpart, but I am not sure how to go about it. I have around 30 properties and 50 private variables. How do I mock them? I use PnP to fetch values for the private values, but ...
0
votes
0answers
42 views

Add More Tiles to Hero Web Part

I created a Hero web part in SharePoint 2019. I am using five tiles that have a big tile on the left and 4 cluster on the right. I will like to add 2 more tiles to the 4 cluster tiles on the right ...
0
votes
1answer
25 views

Make a SharePoint page that shows (REST GET) links and presents the results

Is it possible even for a SharePoint noob like me to make up a page with many links (which only return a simple JSON result like true or false) and show the result of the clicked link on the same page ...

1
2
3 4 5
77