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
1
vote
2answers
7k 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 ...
0
votes
2answers
40 views

Can you add two isolated calendar web parts on a site, each calendar having it's own events?

I would like to put 2-4 distinct calendars on my Sharepoint homepage. Each one will have its own events; not looking to overlay or have overlap. The purpose would be to collaborate across several ...
0
votes
1answer
851 views

Special characters % and # allowed in Team Site but not in Document library web part in Sharepoint Online

Last year it was announced % and # support for file and folder names in Sharepoint Online, according to this link: https://techcommunity.microsoft.com/t5/SharePoint-Blog/New-support-for-and-in- ...
0
votes
1answer
34 views

Using Webpart to replace logo

How do I change the sharepoint logo to add a picture and "welcome" Message? Is this done in Web parts?
0
votes
1answer
125 views

SPFX Webpart stalls Chrome?

I have the below code being used in a SPFX webpart that I created which displays Social Media icons and a company name. Everything works fine, but when using Chrome if the webpart attempts to load ...
1
vote
2answers
67 views

Unable to add a custom webpart

I'm working on SP2016 On-Premises and VS2017, new in Server Side development and trying to create a custom WebPart. In order to get familiar with it I followed some tutorial found on the web. Let's ...
0
votes
1answer
40 views

Does NewsFeed web part works if my site host is on separate web application?

This is a test environment and I have two web application. One of the web application, my.contoso.com, has a site collection with My Site Host. The other web application, portal.contoso.com, has a ...
0
votes
1answer
39 views

How do I get column data from list webpart using javascript based on the webparts selected item

Scenario: I am trying to create a group mailto function for one of my SharePoint pages. The idea is that the user can select the groups they wish to bulk e-mail within our organisation. They click a ...
1
vote
1answer
415 views

Responsive Design in Web Parts

How can one use a grid like this https://www.npmjs.com/package/react-material-responsive-grid so it's displayed on mobile phone properly without the Desktop View on any Mobile phone browser(Safari,...
0
votes
1answer
31 views

People and Groups List Column Not Appearing in List Web Part

I have one main list called "Employees". A field on the new item form is a people and groups field. On one site page I have added 2 of the employee list web parts, one is filtered. My issue is that ...
2
votes
1answer
439 views

How to change state in webpart.tsx from wepart.ts property pane - SPFx

I am trying to add a button to my property pane that will pop up a modal where the user will be able to enter in an image to be displayed on my banner webpart which is just an image carousel. I ...
0
votes
1answer
49 views

Get sharepoint list name Dynamically

I have some page with multiple views. I want to write a custom filter for default active view. How can I get list or view properties such as (View or list )name using SharePoint CSOM (or other ...
0
votes
1answer
39 views

Some Content Search web parts have RefinableString01 available, and some don't. Can someone tell me how to get it available universally?

I have Content Search web parts on several different pages (SPO). In the Refiners list, sometimes the RefinableString01 is available, and sometimes it isn't. Can anyone tell me how to make it ...
4
votes
1answer
482 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 ...
1
vote
0answers
195 views

Web Parts - Unable to Collapse a List Group by Default

First question on this site and this is probably stupid and I'm overlooking something glaringly obvious but here is goes. Background I just recently rebuilt our site in SharePoint Online (2016) from ...
2
votes
1answer
24 views

How to Display Microsoft NAV pages in SharePoint On-Premise Web Parts?

We have a client requirement in which we have to display Microsoft NAV pages in SharePoint web parts . I know we can do this by using "SharePoint Add-ins". Can we do it by using SharePoint Web Part ?
0
votes
1answer
95 views

Translate a boolean value to show yes/no in a dataformwebpart

I have a dataformwebpart which gets data from a SharePoint list. I am trying to show a yes/no field in the webpart but it displays 1 for yes and 0 for a no. I would like it to displayed yes and no ...
0
votes
2answers
55 views

SharePoint Solution Permissions and Server Object Model (SSOM)

I have to build a simple full trusted SharePoint Solution with a webpart. When a user clicks a button in this webpart, I want to change some data in a list, to which he has only read-only permissions. ...
0
votes
1answer
329 views

What are the available approaches to show our meeting rooms' calendars inside sharepoint online modern site page

I am working on a SharePoint online team site (classic team site), which have some modern UI pages. and we have our meeting rooms created inside our Active directory, and those meeting rooms have ...
1
vote
0answers
28 views

SharePoint Online : Converting Webpart as an Addin

We are trying to re-code our custom webparts into SharePoint Add-ins. These custom webparts have properties that are Dropdowns , TaxonomyWebTaggingControls , AudienceEditor etc., How do we add these ...
1
vote
1answer
182 views

SharePoint 2010 RSS Viewer Web Part Accepting .XML File

I am trying to use the RSS Viewer web part on a team site and it accepts Feed URLs that end in .rss but when I insert one that ends in .xml, it doesn't load the content. Has anyone else experienced ...
0
votes
1answer
102 views

Team site missing web & App Part options?

I've been allowed onto our team SharePoint site as an admin, I've gone to add a Web Part but the options are blank? I've looked into my own team site and they are there?
1
vote
1answer
397 views

Get WebPart Zone Information using Javascript - Sharepoint Online

I'm planning to get zone information of a web part using JSOM and I couldn't find any chance of getting it. My Code: var ctxOBJ = SP.ClientContext.get_current(); var webOBJ = ctxOBJ.get_web(); var ...
1
vote
0answers
46 views

How to get popular Tags using Popular Items' web-part in SharePoint online?

I want to show popular tags used across my site collection. I have tried 'Tag cloud web part' but it has been retired from SharePoint Online. To achieve this I have used 'Popular Items' web part by ...
0
votes
2answers
1k views

How can I display documents from multiple document libraries

How can I display documents from multiple document libraries all in one list , "without developing a specific web part"
0
votes
2answers
2k views

Sharepoint Online: Restrict access to web parts

On our 2013 SharePoint we have set access limitations on specific webparts in the web part gallery so our users weren't presented with this and that webpart, which they did not know how to use. I've ...
0
votes
1answer
42 views

Custom Search in 2013

I have requirement where I need to come up with a webpart with a listbox where user will enter product name/s(multiple items should be allowed). I am planning to create custom webpart with list box ...
1
vote
2answers
1k views

Are there any available modern web parts to show existing “Prompted links” or “Picture library” or “Discussion Board” items, inside modern pages

I am working on a SharePoint online modern site page. and i was able to add a modern web part named "Document library (preview)", as follow:- which will then allow me to select an existing docuemnt ...
0
votes
0answers
566 views

Profile pictures not visible in web parts

Since a couple of weeks the profile pictures of users are (suddenly) not visible anymore in the contacts web parts of SharePoint online. It is unknown to me what caused this and how to debug it. The ...
0
votes
1answer
483 views

SharePoint 2013 - Project Summary Web Part Not Displaying “Add Task” & “Edit List” Options

I created a site template which needed to be applied to other subsites. Within that template was a Web Part of "Content Rollup" - "Project Summary". By default the "Add Task" and "Edit List" options ...
0
votes
1answer
81 views

Can I add an HTML 5 element to an .aspx page?

I'm grappling with the scenario of how I can add the HTML 5 element "autofocus" to a searchbox on the /searchresults.aspx of my SPO enterprise search center. Basically, I would like the mouse cursor ...
0
votes
1answer
33 views

Customized Poll List

I have a requirement to create poll of the week. In that i have created a survey list but when i display it on the web part, it displays as a description for the survey and by clicking on respond to ...
0
votes
2answers
884 views

How to Display Root site List in sub sites?

I want to display root site List items in sub-sites. The reason is to avoid creating lists at multiple sites. How can I achieve this in SharePoint modern web part? Thanks
3
votes
1answer
104 views

How to set field value for WebPart Properties

Trying to use JSOM to update an existing ContentEditor on my SharePoint, I want to set a field value "WebUrl" to search another list item ExecuteOrDelayUntilScriptLoaded( function() ...
1
vote
1answer
385 views

Breadcrumbs Navigate Up in SharePoint 2010

I have Project Document Library, it contains few sub-folders are created. And I insert this document library in a page as List View web part. Now when we enter into sub-folders can't get back or ...
0
votes
1answer
696 views

SharePoint Online Group Calendar webpart not updating to Outlook calendar

I have created a group named "Project Group", and I have it on MS Teams, and Outlook. In the Calendar there (Outlook), I have added a lot of meetings and other upcoming events. In my SharePoint ...
0
votes
2answers
142 views

Copying Web Parts between pages in different web apps (SP2013)

I am migrating sites between two different web apps, both in the same SharePoint 2013 farm. Both sites are pretty heavily customised (master pages, page layouts, content types, etc). All attempts to ...
0
votes
0answers
29 views

Custom Webpart to set the filters and display SharePoint list items?

I have a requirement where list items are stored in multiple folders. Now users should be able to apply the filters as they would do if they do not have folders. It looks like I have a build a custom ...
0
votes
1answer
476 views

How to properly use GridView to create items on SharePoint Lists?

I'm trying to transfer values from a GridView web-control I'm using in a webpart into a SharePoint list, but whenever I click "save" the data isn't being kicked into the list. All that happens is a ...
0
votes
1answer
517 views

401 unauthorized error only in IE and Edge when using outlook.office365.com/owa

I'm displaying users photos by using the below url https://outlook.office365.com/owa/service.svc/s/GetPersonaPhoto?email=XXX.com&UA=0&size=HR64x64&sc=1500867903362 It works perfectly in ...
1
vote
0answers
98 views

Inserted Web Part Does not Appear on Page but is Present According to CSOM

I am simply trying to insert a web part to a page. I ended up with this code: using (_clientContext = new ClientContext(Url)) { _clientContext.Credentials = _credentials; var web = ...
1
vote
1answer
38 views

How web part built locally can be viewed in the SharePoint Online

I built a Simple web part using a tutorial and everything works fine. But I don't understand how my local web part can be opened in the context of the SharePoint online. My web part is only available ...
0
votes
1answer
34 views

Find asp:table from visual web part

I've created a basic Visual Web Part, in VS 2017. When I Deploy it to my SharePoint server(2013) It works. But I'm not sure how to find my table so I can add/remove values in the table. My ...
1
vote
0answers
96 views

Note Board web part snippet for adding to the page layout

I am working on a custom page layout where I want to add the note board web part. The web part should be added dynamically on the page that would be created using this layout. I have used the ...
0
votes
1answer
148 views

How to use more than two refiners methods for one refiner in a webpart for Sharepoint Online site

Hello I am tasked with reproducing an already existing sharepoint online doc library site. The search refiner methods need to have more than one type: "Multi-Checkbox" and "Product Feature Fancy Tree"....
4
votes
1answer
377 views

Issue while adding SPFx web part to app catalog

I have adding SPFx web part to my site by adding .sppkg file to app catalog. Upto 4 days back it was worked fine. But all of sudden from yesterday web part is not visible on page. When I try to find ...
0
votes
1answer
140 views

Sharepoint 2013 Discussion list webpart access denied

I'm facing issues with forum discussion. I'm trying to add one in my page. I did the following steps: -Go to Site Contents and add a new Discussion Board list. -Create a discussion -Go to the page ...
0
votes
0answers
108 views

How to create a SharePoint Search Result Page programmatically?

I want to introduce a new Search vertical for which I may have to create a Search Result Page and configure the Search Result webpart to use the pre-configured Search Result source. How do I create a ...
0
votes
1answer
72 views

Add List Webpart to Oslo Masterpage

SharePoint 2013 In a subsite I'm developing that uses the Oslo masterpage, it seems that the structrual navigation (side navigation) is used on top while the global navigation (Seattle's top bar) is ...
0
votes
1answer
21 views

Is it possible to add multiple Title cards to a page?

When a new page is created, there is a really nice looking title piece as shown below. Is there a way to add more instances of this on the page?