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
2answers
38 views

Retrieve fields, fields type, fields values and column names of a Sharepoint Content Type used in a library using Javascript

I created a library that contains documents in Sharepoint Online. Let's call it myLib. I also created a content type, myCT. My objective is to retrieve informations concerning fields I created in a ...
0
votes
1answer
34 views

Counts for every option Doesn't match up with total count

LEE_MSFT corrected my code below. Code works well but the only problem i have that total item count is 319. But sum of each count is 21(Active),77(Closed),2(Partial),0(Special). Can anyone help me why ...
0
votes
0answers
35 views

Making one promoted link on the page bigger then the rest

I trying to have my SharePoint page appear like below using promoted links. I'm struggling everything I've tried in CSS is designing the tiles the same.
0
votes
0answers
43 views

WebPart zone properties

I used SharePoint Designer to insert the WebPart zone into page and the WebPart only covers %50 of the page, how can I make it to cover %100 of the page. <WebPartPages:WebPartZone id="...
0
votes
1answer
71 views

How to automatically list related pages on Wiki-Pages

A SharePoint page should be among other things used by our developers to store developer documentation. I don't really know much about SharePoint sites yet, but I thought that wiki sites are the best ...
0
votes
1answer
31 views

Count Items based on filters and display them in webpart

Can you please help? I don't know what i am doing wrong here. Also i have column name that has spaces "File Status". How to write that in the code <script type="text/javascript"> var ...
0
votes
2answers
69 views

How to Add Web Part Zone in existing Page

I have a page which has already a web part and I need to add another web part zone. Can you please help me with this?
0
votes
2answers
617 views

SharePoint 2019 - how do I embed custom script

Ok - another seemingly basic function. Once you were able to insert a webpart into a list - add custom script, text, what ever you needed. I am looking how and where I would find this sort of ...
0
votes
1answer
29 views

Sharepoint 2019 - published page does not show web part

We have just moved to SP2019 - we have an on-premise install. Just finished the install and are now looking at the new experience within the new site. I have created a page and have inserted a people ...
0
votes
1answer
1k views

Add a table in Sharepoint Modern Sites?

I'm trying to make a row of 4 buttons, so I want to put them inside a table, all with the same width. But I can't find any web part to put tables. Is there any way to do this?
0
votes
1answer
686 views

Facing error 'Something went wrong Please try again or refresh the page' while adding OOTB custom list web part in Site Page in SharePoint online

I have been facing below error when I try to add custom list web part in Site page in SharePoint online sub Site. Something went wrong Please try again or refresh the page. Any idea about what ...
0
votes
1answer
129 views

Page Viewer Web Part Displays Excel file but not Chart

I am using SharePoint online. On a Wiki Page, I have added a Page Viewer Web Part in order to embed an Excel file. I am using this web part instead of Excel Web Access because not all of my users have ...
1
vote
0answers
35 views

Can I get the content of a Site Page and use it inside my SPFx Web part?

I have a webpart which I want to fill with the HTML of a SitePage.aspx. If the user fills the SitePage with a Title, 3 blocks of text and an image, I wish to be able to use that exact same content ...
0
votes
1answer
258 views

Creating a View for just SharePoint Lists

Is there a way to create a Web Part that would only show lists in SharePoint 365? I know how to add a web part that would show Document Libraries, etc., but I wonder if there a way to just show lists. ...
1
vote
0answers
32 views

Display form WPQ number assignment

Does anyone know how the assignment of the WPQ numbers can be changed? Example: We have a custom new web form with two web parts "ContentEditorWebPart" and a "ListFormWebPart". When the aspx page is ...
1
vote
0answers
84 views

Spfx Web Part - API call sometimes fails to execute

I have a custom web part that uses aadHttpClientFactory to authenticate with AAD and then get data from an API secured with AAD. It works flawlessly most of the time. Periodically, though, it gets ...
0
votes
0answers
29 views

Excel Web Part Disable Cell Selection

I'm trying to display a named item in an Excel Web Part, but it always shows a green box for a cell selection. I've already tried protecting the sheet and preventing access to select cells, and re-...
1
vote
1answer
57 views

webparts using @pnp/js

I am trying to create a sharepoint page that contains a webpart which contains some text and images. I am trying to do this using pnp/js. I have been able to create a page using pnp/js, but I can not ...
0
votes
0answers
24 views

Allow custom script in read-only site

I am managing a SharePoint website in SharePoint online, and I created a custom app using the Modern Script Editor webpart (this one). What I'd like to do is make my site read only, preventing anyone ...
0
votes
2answers
25 views

How to share list depending on the value of field?

I have a list with the Company field, as well as 30 different companies. For them, I need to restrict access depending on the value of the company column. At the moment, I created a page from web ...
0
votes
1answer
54 views

How to get the webpart “Persons”

I want to use the webpart "Persons" on my SharePoint site. Only when I press the Webpart button their is no webpart "Persons". How can I use the webpart Persons? Gr, Peter
0
votes
1answer
134 views

Hide web-parts using JQuery in SharePoint Online

I have a page with multiple web-parts. I have four buttons in a web-part: <div id="buttons"> <div class="gmcButton" id="About GMC">About GMC</div> <div class="gmcButton" ...
0
votes
0answers
12 views

sharepoint 2013 Web part issue when call spweb

I am facing below issue on custom web part. I developed this web part in vs2010 and deployed into SharePoint 2013 and framework version is 3.5. The Web application at http://servename.domain.com:8899/...
0
votes
0answers
32 views

News not appearing in News-Webpart and Sites not appearing in Activity Webpart

Basically what the title says. I can add a news site in my SharePoint 2019 Server, but it will not appear in any of the webparts. It is shared as a news article, it is also readable by all users. I ...
0
votes
1answer
41 views

Is it possible to have external provider-hosted app work with SharePoint Lists effectively?

I have been learning about SharePoint and Provider-Hosted Apps recently. Based on some videos and tutorials, I have seen most having a site with a SPHostURL. I was able to recreate that as well. ...
0
votes
0answers
36 views

Modifying WebPartPage in SharePoint Online changes ContentType property

I am using the SharePoint Online CSOM library to change an ImageLink property in a WebPartPage. I first check-out the page, make any changes, and then check-in the page. When I check-in the page, the ...
0
votes
1answer
31 views

SSOM - How to set a custom property value when adding web part programmatically

I want to set a custom property value when add web part programmatically. This is my code for add web part in page: using (SPLimitedWebPartManager manager = oWeb.GetLimitedWebPartManager(...
0
votes
1answer
41 views

SharePoint Welcome Page Calendar

I have a SharePoint welcome page that leads to new modern team sub sites, kind like a hub or holder for the sub-sites. The welcome page is on an older version it looks like. The heads of the ...
1
vote
0answers
152 views

Constant console errors in SharePoint Online

I just finished building my first SharePoint Online page. Just a simple page with a few standard web parts (image, news, document library, list, events, file embed). Everything seems to work okay (...
0
votes
1answer
22 views

WebPart Zone Wont change

I am using Design Manager (snippet) to add WebPart Zone which works fine, however this issue I have is all of the webparts are showing one after each other. How can I show them next to each other:
0
votes
1answer
139 views

Hero Webpart Not Editable SHAREPOINT ONLINE

I just created a communication site. By default a Hero webpart is on the main page. I can go to edit the page and on that specific webpart it gives me the option to edit details(the icon with the ...
1
vote
2answers
168 views

SharePoint Online OneDrive Webpart

I have had a requirement if there is a way to display individual user one drive files on SharePoint front end page in a webpart? I haven't been able to see one OTTB? I am trying to complete this with ...
0
votes
2answers
379 views

Filter out empty 'multiple lines of text' column(s) in list view. SP 2013

I need to filter out items that have empty 'multiple lines of text' columns in my list view. Traditional filter methods do not work. See images below. Please help!
1
vote
0answers
53 views

how to duplicate pages in SharePoint

I am trying to copy page layout from one sub site to another. It contains web parts and also from the context menu this page layout contain duplicate options for creating multiple pages quickly (...
0
votes
1answer
34 views

Current View - which view am I actually looking at?

I have a list with a few views. There are web parts used that links to the List and one of it's views. However, I am trying to determine which one is the Current View. I looked at the view ID ...
0
votes
1answer
14 views

What are different ways of creating a webpart in Office 365 these days?

Last time I was working on SharePoint Online, there were 3 types of apps one could create, provider hosted etc. What options are available now a days and preferred for Office 365 only?
2
votes
2answers
211 views

How can I make the 'modified date' column of a list reflect when the contents of folder were last modified, not the folder itself?

I am using SharePoint online for work. I have a subsite with 2 WebParts, both of which are lists (XsltListViewWebPart). Each list has folders, with each folder having a number of documents within. ...
0
votes
0answers
52 views

iframe in sharepoint

Referring content from this SharePoint and iFrames (This content cannot be displayed in a frame), I have added allow framing in one of the web app in SharePoint 2013 to make apps work. But now its ...
0
votes
1answer
70 views

content editor in page Layout

my page Layout: <%@ Page Language="C#" Inherits="Microsoft.SharePoint.Publishing.PublishingLayoutPage,Microsoft.SharePoint.Publishing,Version=16.0.0.0,Culture=neutral,PublicKeyToken=...
0
votes
1answer
38 views

Popular Items webpart removes other webparts from page

I have created a webpart page for search in sharepoint /SitePages/. I have added Search Box Webpart, Search Refinement Webpart and Search Results webpart. But whenever I drop Popular Items webpart, I ...
0
votes
1answer
76 views

Add new button to ribbon

I want to add a new button to the ribbon called "Closed", this button will update the column to "closed" in my "Status" Column inside my list. Also all the lines that got "Closed" status the button ...
1
vote
0answers
45 views

error when using RSS feed webpart in SP 2013

I'm using the RSS webpart to display an RSS feed. It worked fine for 2 years, but a couple months ago it stopped working and displays the error message 'The requested RSS feed could not be displayed. ...
0
votes
1answer
35 views

Two Highlighted Content web parts side by side

I have created a new page where I have added a highlighted content web part linked to one of my document libraries and it filters by most viewed files. I want to add another highlighted content web ...
0
votes
1answer
16 views

Dynamic list of site owners

I trying to create a line of text in my SharePoint site that says something like, "For questions or problems regarding this site, please contact the site owner(s):" and then list the site owners. I'm ...
0
votes
1answer
61 views

No custom query option in my highlighted Content

I created a page and added a Highlighted content web part. I wanted to target a specific library so I wanted to add a custom query. However, I don’t see anywhere the option for Custom Query inside my ...
0
votes
2answers
126 views

Add a Highlighted content web part in Document Library

I’m relatively new when it comes to having knowledge regarding “Highlighted content web part” Based on some post I figured it out that it can be used to filter and sort to narrow down and organize ...
1
vote
1answer
36 views

How to get all 365 users emails in my organization by SharePoint?

Is it possible to get all the e-mails in my organization and put them in a SharePoint Dropdown List. So let's say i have a group of customer service team that have 50 emails so instead of writing ...
0
votes
1answer
85 views

Can I show the most active users on my SharePoint site?

I would like to add a new web part to my SP home site, showing the most active users on the site. Is it possible? And if so how?
2
votes
2answers
661 views

Highlighted Content Column Creation

Our SharePoint tenant is host to multiple Client sites, all of which are structured more or less the same and with access to each Client site given to ourselves and the respective client. Each site ...
1
vote
1answer
235 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: ...

1 2 3
4
5
77