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
1answer
655 views

RSS Viewer Web Part Loading Error

Working in SP13 and the RSS Viewer Web Part is available. The web part came over from a site original created in SP10. It worked when it entered into SP13 however it's not working now. Things I have ...
3
votes
1answer
29 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
31 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 ...
1
vote
1answer
708 views

Replacement of QueryString web part in SharePoint Modern UI

Is there any replacement of QueryString Web Parts in Modern UI? SPFx is the last option.
0
votes
1answer
666 views

Create a status list in SharePoint 2013

I need to create a status list in SharePoint 2013 and want to display the items with indicators on the page using the status webpart. Can anyone please guide me as I'm not able to create the status ...
0
votes
2answers
997 views

Add a Web Part inside the Script Editor?

Ok, I know. Weird question. Is there any way to add a Web Part inside the Script Editor? i.e. Code Web Parts as HTML? The reason being, I've got a Script Editor webpart, that I use to format all of ...
2
votes
2answers
1k views

Is it possible to pre configure a summary link webpart in a custom page layout with several links?

I created a custom page layout with SharePoint Designer for use as a new default or welcome page in a publishing site. The page layout should contain a summary link web part that is pre configured ...
0
votes
0answers
36 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
17 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
1answer
1k views

Embed a form inside a web part?

I am trying to build a web part which allows users to see and interact with survey inside webpart. I need to allow users to edit the webpart and choose a different survey in settings, so I cannot add ...
1
vote
2answers
628 views

Download all attachments of a list item from grid view

I need to download all attachments of a list item from gridview in a visual webpart. I tried hyperlink but unable to get it. Can anyone tell me how to use anchor tag and use href or any other ...
0
votes
1answer
713 views

RSS Feed Web Part Stopped Working - SharePoint Online 2013 - Internal Server Error

I am still fairly new to SharePoint and do not have much development experience in it. We are using SharePoint Online 2013. I've checked the forums for similar posts but can't seem to find any ...
0
votes
1answer
672 views

Applying css to a sharepoint gridview

Within my web-part, I want to make the header row of a gridview match the css from the sharepoint css class called ms-ContentAccent1-bgColor(I want to match the theme of the site). However, when I ...
0
votes
0answers
19 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
5 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
29 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
787 views

Sharepoint Template page with webparts

I am working in SharePoint Online (Sub-site) and we have 10 pages with custom web parts (for example a Photo library) and custom content (text). Each page consists of 2 'default' web parts with two ...
5
votes
4answers
7k views

List all subsites with REST API

I have a SharePoint site wich I named ''Portal'' and under Portal I have several communities (subsites). For each subsite I disabled permission inheritance and I setted up the groups and roles ...
0
votes
1answer
12 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
2answers
787 views

SP 2013 webparts, hidden property check box greyed out

SP 2013. Hidden checkbox on webparts, regardless if the said webpart has got chrome set to none or default or other, is grayed out on wiki pages. On a site collection with publishing features and site ...
4
votes
2answers
810 views

Strange behavior appears when using Updatepanel on web part in Sharepoint 2013

Strange behavior appears when using Update-panel on web part in Share-point 2013. Everything works fine but after several(2-3 minutes), any action in page cause Full page load. In FF and Chrome post-...
0
votes
1answer
1k views

Web Part Error: Access denied. You do not have permission to perform this action or access this resource

I created four site pages for one list; each page has its own view as not everyone can see all the columns within the list. I then assigned unique permissions to each page and stopped the inheritance ...
0
votes
1answer
852 views

Most Popular Items from Library Sorting Not Working

When i click into the page of Most Popular items that has the sorting of recent and ever. But i click these two buttons that has no any response. i checked IE F12 debug mode that also has not any ...
4
votes
1answer
801 views

Modern Site “Highlighted Content” web Part links not working properly

This seems to be a known issue on Microsoft's website. When a new link is created and a filter is added to the highlighted content web part to pull that link it seems to pull the link in a card layout....
1
vote
0answers
33 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
644 views

Date Control and Dataview filter on created date using Sharepoint designer

I know this is fairly simple but I am using SharePoint Foundation 2010 and I have a dataview web part and a calendar asp.net control. I created a parameter named SelectedDate and had it to get it's ...
0
votes
1answer
1k views

SharePoint online- How to remove space between web parts in modern page?

I have a text web part and then a promoted link web part from (classic SP) added in the modern page and there is a lot space between these web parts, which makes the page look blank. Is there a way ...
0
votes
0answers
21 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
26 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
43 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 ...
1
vote
2answers
799 views

How to display data from a parent site list on a subsite home page

This is best explained using an image: I have a parent site with a list of products, each of which has its own Project sub-site. I want the home page of each sub-site to display data about its record ...
0
votes
4answers
64 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 ...
1
vote
1answer
638 views

Adding Report Viewer Web Part to Default page programmatically

I am new to Sharepoint. I need to know the best way to add a ReportViewWebPart to a page through C# code behind. I have tried accessing the web part from WebPartCatalog. It leads me to the ...
0
votes
1answer
714 views

XSLT output of XML not showing on SPS WEBPART for RSS Feeds

XSLT code been used to showcase CSS content in SPS 2013 via OOTB - XML Webpart. Tested my XSLT on w3school with the required XML file and output looks great. However, doesnt shows when placed in the ...
0
votes
1answer
17 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
18 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 ...
2
votes
1answer
775 views

Not able to add an app part to the page with a shared provider hosted app

Situation: I created a SharePoint provider hosted app that contains an app part. I installed the app inside the app catalog. By using the deployment option on an app installed in the app catalog, I ...
0
votes
2answers
815 views

Disable Edit WebPart and/or Snippet link in a Script Editor Web Part on SharePoint Page?

I know it can be done with client side coding, but maybe there is a built in way to do this in SharePoint 2013. I have a web part I share with other sites, but do not want site administrators seeing ...
0
votes
1answer
707 views

Migrate a webpart from sharepoint 2010 to sharepoint 2013

How to migrate a webpart connected with 8 lists from Sharepoint 2010 to Sharepoint 2013. What should I do before migration and what prepere before migration. How to transfer from .net 3,5 to .net 4,5. ...
0
votes
0answers
17 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 ...
1
vote
1answer
702 views

Manipulate Filters in Javascript

Is there any code in JavaScript which allow to manipulate filter to a library webpart?
0
votes
1answer
728 views

How can I manage to avoid the underline in a text-decoration: none

I am trying to solve the problem with the underline in a text-decoration: none. This is the script I have: p { padding: 5px 0; } a:link { text-decoration: none; } a:visited { text-decoration: ...
0
votes
1answer
24 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 ...
2
votes
1answer
119 views

Retrieving data from rich text editor in spfx web part properties

I am currently creating a custom web part, the webpart is using PropertyFieldCollectionData to collect user data (https://sharepoint.github.io/sp-dev-fx-property-controls/controls/...
1
vote
1answer
28 views

Custom Web Part Uploading Incorrectly

I am trying to upload my custom web part to my sharepoint online site. The upload is successful, but when adding the web part to a site it is not the expected content of the web part. It seems to be ...
0
votes
1answer
822 views

Display/hide control in Webpart based on edit/browse mode

I have a Visual Studio project in which I have created a Visual Webpart. In the user control I have a panel which I want to display in edit mode and hide in browse mode. ASP.NET code snippet: <...
0
votes
0answers
12 views

How can I get the user token from the context in a Sharepoint WebPart?

I have been working in a Sharepoint Webpart with TypeScript. I would like to obtain the user token to pass it as a parameter in the headers. How can I do this?. So far, I have something like this: ...
0
votes
1answer
1k views

List down all custom webparts available under SharePoint Site using powershell

I have deployed webparts to some SharePoint site say "http://SiteCollection:6413/SiteName/". Now I want to know all the available Webpart which are addable to any page (whether are those already added ...
1
vote
1answer
1k views

Web-parts do not align on page

Setup: I have a SharePoint page where I have two lists (call it List A & List B). List A is placed in a left-hand webpart zone (any left-hand zone) and List B is placed in the right-hand webpart ...
1
vote
1answer
747 views

How to add Summary Links WP in page Layout in SP2013 Standard?

I'm coming to an issue : I want to create a page layout whith a Summary Links Webpart. I went to the design Manager I chose my layout I get the Snippet Gallery I get the Summary Links WP code I ...

1
2
3 4 5
76