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

View count for documents across all document libraries with timeframe

I am trying to get view counts across document libraries for all the documents (pdf/docs/docx/pttx/xslx/etc) not the web pages. What I am trying to do is getting the count for the total documents in ...
0
votes
0answers
16 views

Strange error in Display Template after removing other web part

I'm facing a strange error when a user edits a web part page. There are a couple of web parts on this page, like content editor, a search content web part (for displaying some user information from ...
0
votes
1answer
36 views

To display the webpage again, Internet Explorer needs to resend

I have the code from Here to my document library The script basically opens the edit form when you Drag & Drop files into Document library. The code seems to work fine, however I am getting ...
0
votes
0answers
9 views

listviewebpart GetDesignTimeHtml() return blank webpart

I am programatically creating ListViewWebpart in SharePoint 2010. I am querying the list and programatically trying to add the listviewwebpart to the page. When I do this listviewebpart....
3
votes
1answer
1k views

How to change Document Library webpart's toolbar type programmatically?

I want to edit document library webpart to change Toolbar Type to 'No Toolbar' programmatically using C#. Actually I want to hide 'add new document' button. I have created a document library ...
0
votes
1answer
66 views

Help: How to use this script in Document Library

There is this script which I got from Here. I just have to add ScriptEditor WebPart to my library page and apply this code Not sure how to go with this. I know how to go edit and add a Webpart and ...
6
votes
3answers
2k views

Search Box disappears when I save Web Part Settings

I am checking the "display search box" option in my web part properties and clicking "ok" but the search box disappears. When I click "apply" it will show the search box, but it will disappear again ...
0
votes
3answers
1k views

Not able to access C# method from ASPX page

I am trying to access a C# from my ASPX page that is already called from a web part for sharepoint foundation 2010. I am following instructions from the post here My breakpoint in the function isn't ...
0
votes
0answers
11 views

Powershell script to get all site pages which has yammer webpart

Is there any powershell script to get all site pages (Title, site link) within the site collection, which has yammer web part in SharePoint online?
0
votes
0answers
14 views

Content Query Web Part - Get each task's site

Using a custom content query web part and XSL file in SharePoint 2016, I am bringing in tasks across a site collection. I would like to bring in each task's associated site. Using this article as a ...
1
vote
1answer
617 views

SharePoint Online - How to display the links of a summary link web part in a Horizontal Manner?

I am trying to display links of a Summary Link web part in horizontal pattern. I am not good in CSS to make these changes. Please let me know if there is another way to do it? If the only way is ...
0
votes
2answers
1k views

Add button is missing when I tried to Add a WebPart

I have "People search results (Page Layout)" page with Content Type = "Welcome Page". I need to drop another people search result web part on this page. I can see the all web parts but Add button ...
0
votes
1answer
20 views

Sharepoint sp start kit webparts question.Is there a script/content editor webpart?

I have provisioned the starter kiton my tenant and its really impressing with some additional webparts included. see below https://github.com/SharePoint/sp-starter-kit But can we still get the ...
0
votes
1answer
40 views

SPContext.Current.Web.CurrentUser returns incorrect/random value

On button click I am saving few values and the user who performed the action by using SPContext.Current.Web.CurrentUser in the list But SPContext.Current.Web.CurrentUser is not returning the correct ...
0
votes
0answers
9 views

Retrieving and displaying values on my web part

I have created a web part property to take in a string value by user and then search my document library for a list of documents that contains the specific value entered, for example "ABC". However, ...
0
votes
0answers
12 views

How to display information on my webpart

I have created a web part property to take in a string value by user and then search my document library for a list of documents that contains the specific value entered, for example "ABC". However, ...
4
votes
1answer
4k views

When adding a WebPart I get “List does not exist” error in SharePoint 2013

I created a list (Promoted Links) and exported the list as a WebPart using SPD and added the list to the gallery. But whenever I try to add the list to another page or site, I get the "List does ...
11
votes
3answers
52k views

Display New Form of a List in a Web Part page

How can we show a List Form/New Item Form (/servername/site/Lists/listname/NewForm.aspx?) as a web part in a SharePoint 2010 page? Adding a list web part obviously only shows the list items/views. I ...
0
votes
1answer
1k views

Getting Custom Web Part Property Value Using C#

I am creating a method that will iterate through all of the web parts on a page in my SharePoint site. What I need to do is update a custom web part's, created by another company, property. I have ...
0
votes
2answers
29 views

Cannot delete homepage web part

Noticed on SharePoint online that when a site is created without a office 365 groups i.e. sts#3 template, you cannot delete home page web part and on lists and library’s you cannot save view as. Has ...
0
votes
1answer
33 views

Create custom webpart that uses CAML Query

I am quite new to Sharepoint and I am supposed to create a webpart that can display all the titles with a specific value from a managed metadata column(TAGS). I am required to write a CAML Query to ...
0
votes
1answer
1k views

Change Excel web access dynamically using javascript

I have a page with a button and an Excel web part. When I click on the button I want to load another Excel file in that web part. Is it possible to do this? Please suggest some ideas on it.
0
votes
1answer
44 views

Embedding full page html applications into SharePoint 2019 modern

I am working on a project where client has SharePoint 2019 on premises installed and setup. They are using the modern UI. In addition, they have certain HTML built up full page applications and they ...
0
votes
1answer
18 views

Issue with Date Range when adding Events Web Part?

I am new to Sharepoint and am putting together a site for our internal users. I am wanting to add an events web part that will show upcoming events and internal birthdays. When adding this i am able ...
1
vote
2answers
125 views

Can we display Audit Logs or User's Activity in user friendly format in SharePoint Online (2013) Web Part

We have a requirement, where we have to show the user's activity in graphical format. What actions user has performed on any SharePoint Online Site and when? If user post/edit comment, like, rate on ...
3
votes
1answer
128 views

Difference between ViewsLastMonths1, ViewsLastMonths2 and ViewsLastMonths3

I'm working with the popularity trends web part and would like to display the number of visits/unique users per item. As of right now I have ViewsLastMonths1 and ViewsLastMonths1Unique displayed. ...
0
votes
3answers
104 views

Issues with loading jQuery libraries within O365 SharePoint WebPart

We have a webpart that relies heavily on jQuery to grab data from our SharePoint lists and render them on a page. This webpart includes links to three additional libraries that contain functions and ...
0
votes
1answer
26 views

Content Search Webpart missing “new” Items from List Query

I've created a Content Search WebPart on my SharePoint 2016 site page, and it's missing items from the list which have the "new" tag on them, meaning they were newly created. The following is what my ...
4
votes
1answer
1k views

RSS Feed Viewer Sharepoint 2010 Webpart stopped working

I have a RSS view webpart in SharePoint 2010 portal, till last day it was working fine. Now it's throwing the error: The requested RSS feed could not be displayed. Please verify the settings and ...
0
votes
0answers
145 views

SharePoint Online - Modern List View Web Part forms

I have a modern list and I want to surface it on a communication site using the modern list view web part. All is fine until I click one of the items on that list. It redirects me into a full screen ...
0
votes
1answer
3k views

“Embed” iframe web part not working

I have been experimenting with the new SharePoint communication sites, and I love the new web parts. However, I've been having an issue with the "Embed" web part. I understand that it only takes ...
1
vote
1answer
815 views

Manual refresh button for SP2010 Web Part

I'm a novice SharePoint user. I have been given a task to build a manual refresh button for a web part that displays certain fields from a list. The native refresh button is not a feasible option for ...
0
votes
1answer
2k views

“Sorry, something went wrong” on content search web part for users with Read permission

I have the following:- Team site collection with publishing features enabled. Inside the Team site collection home page I added multiple content search web parts (6 content search web parts). When ...
0
votes
3answers
10k views

create a web part to show members of a group

I am trying to create a web part which shows a list of all members of a specific sharepoint group. One of the columns of the list must be SPFieldType.User. Do I need to create a SPList? When do I need ...
1
vote
1answer
395 views

Can we dynamically link the “People” modern web part inside with a sharepoint group

I have created a new modern page inside our sharepoint online classic team site. and inside the modern page, i have added the "People" web part,as follow:- Where inside this web part i can manually ...
0
votes
1answer
618 views

All Pages in Site Have 404 Error

I recently added a custom webpart, and all pages started giving me a 404 error (even the root). I can get to central administration, but I don't see any errors either there, or in the event viewer. I'...
0
votes
1answer
1k views

How to connect 3 List view webparts in Sharepoint?

I have 3 SharePoint lists A,B,C. I have inserted the lists in a SharePoint page. B and C lists have a column which is lookup to the column of list A. So now I want when I select a item from list A,...
1
vote
1answer
1k views

Search Box Web Part Width

Could someone tell me how I can (using CSS) change the width of the Search Box web part to 550px? As you will see from the picture below, I need the width of the Search Box web part to align with the ...
2
votes
2answers
3k views

Web Part Error: Could not be found or it is not registered as safe

Looking around I know this is a common error but I can't find for help for the specific issue I am having. I am getting the error but in the message it is displaying the web part with it's ...
8
votes
4answers
7k views

Report Viewer Web Part Alternatives in SP2013

We have a need to upgrade from SP2010+PWA to SP2013+PWA. Our database server will be SQL Server 2008 R2. According to Technet, the SQL 2008 R2 Reporting Services add-in for SharePoint isn't ...
1
vote
1answer
2k views

How to get the layout zone and zone index of a webpart in sharepoint 2013 using powershell

I have a sharepoint site that got migrated from SP 2010 to SP 2013. The webparts in the pages uses layouts like center left, center right, center etc. With SP 2013, they have changed the layout ...
0
votes
1answer
19 views

Sharepoint 2010 Word Webparts

I have a document library with a couple of Word docs with Webparts in them. Each pull a hand full of field data from a Sharepoint list. One of the Word Docs is working fine and getting populated with ...
0
votes
1answer
2k views

How do you remove Whitespace from two separate webparts

I have searched online but to no avail. I was hoping someone from here could help. So the issue is I'm trying to remove the white space between 3 webparts on a page. I have created the following CSS ...
1
vote
1answer
2k views

Change URL of the Web Part Close-Button

I got a StartSite.aspx. I have some Web Parts on that site (news feed). This web part - Template has a "Close" Button. After closing an object, I navigate to AllItems.aspx Isn't it possible to ...
1
vote
2answers
1k views

Add css class to webpart cell

I'm developing my custom web part. Code generated by SharePoint is below: <div id="MSOZoneCell_WebPartctl00_ctl39_TestTile" class="s4-wpcell-plain ms-webpartzone-cell ms-webpart-cell-vertical ms-...
3
votes
1answer
2k views

The connection point “filter parameter” on does not allow multiple connections

I have a custom web part which does not allow multiple connection. Scenario : I've added the custom web part on the page, added 2 lists on the same page. Step 1 : I connect List 1 to web part and ...
0
votes
1answer
28 views

Cannot delete the App added in Site Contents

We added a SPFX App in a SharePoint 2019 on-premise environment but somehow got an error. The problem is we cannot remove the app from the Site Contents. What possibly is the cause and how can we ...
3
votes
2answers
4k views

How to center align a web part

I am trying to center align the announcements web part on my Sharepoint 2010 page, everything I try to do just centers the text, not the web part. Is it even possible to change the alignment from left ...
0
votes
0answers
20 views

SharePoint Page Update

The system I'm working on is a internal subsite of a huge intranet for knowledge sharing. I have a SharePoint Page with two columns (Layout -> Textlayout -> two columns). In the first column (Column A)...
3
votes
2answers
1k views

Org Browser start at a specific user for SP 2013

I have added an Organization browser to a page and was able to have it visible using the below code. What I am wondering, is how I can have the browser begin with a specifc user and not the viewing ...