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
0answers
119 views

Modern pages: page details web part

The web part called 'Page details' that can display one or more metadata columns on a page, displays terms as text. Is this the designed use or is there a way to have them hyperlinked?
0
votes
0answers
24 views

Restore of Web Parts in Page Edit Mode

I use the following code to minimize a number of summary link web parts on a SharePoint 2016 welcome page with web parts and it seems to do the expand/collapse work properly in view mode. However, in ...
0
votes
0answers
33 views

Query from a script editor

I need to use a script editor to display list data. The content query web part will display the data the exact way I need to have it display but I need to use a script editor web part on my site - is ...
0
votes
0answers
27 views

SharePoint Web Part error After Reinstalling IIS Features

Recently there was a IIS features reinstallation done on my server to resolve FBA login issues. The login is fixed now, but I am facing web part errors. Error: Web Part Error: A Web Part or Web Form ...
0
votes
0answers
22 views

Excel Web Part - not getting Data validation dropdown list

I have excel Summary Page hosted through Web Part in SharePoint. The excel summary table linked to a cell that has drop down list Basis Data Validation.However, this drop down list is not visible when ...
18
votes
4answers
68k views

How to have two web parts side by side in same zone

I have two web parts that i want to fit side by side in the same zone, however, I'm not sure how to go about this. I've modified the width of the individual web parts to be able to fit side by side ...
17
votes
5answers
48k views

ExecuteOrDelayUntilScriptLoaded not executing after page publish

In SharePoint 2013 I have a page that is using the Script Editor web part. In the script editor web part I have the following: ExecuteOrDelayUntilScriptLoaded(startIt, "sp.js"); function startIt() { ...
0
votes
1answer
22 views

Search Results WebPart

Good Morning; Is there anyway of increasing the width of the Search results webpart? It seems fixed at around 400px. Thanks
0
votes
1answer
16 views

move discussion board library items?

I have a site where I have a Discussion Board which has Contribute permissions for a group. I want to add a webpart with the ability to read-only (not upload) files. I created 2 groups... one ...
1
vote
1answer
804 views

I saw a “I Need to…” web part someplace, where to get it?

Edited: This is what I am referring to. But not sure where to get the wsp or the web part. http://njbblog.blogspot.com/2007/07/sharepoint-v3-configuring-custom-i-need.html Some time ago, I saw a "I ...
5
votes
4answers
35k views

Display List or Library on another site as WebPart?

I want to display my list on another site in same site collection. I edit List with SPDesigner, select the view and save it to site gallery. After these steps, I added the view webpart on my another ...
0
votes
1answer
34 views

JS Link Conditional Formatting Paging Not Working

I've added a list view webpart onto a SharePoint 2013 online page, this webpart has a JS Link to a file containing JavaScript which applies different CSS to the CurrentRiskImpactLikelihood column ...
0
votes
0answers
21 views

Office 365 - use Javascript to show images based off of SharePoint List

I have a SharePoint site that contains a series of site pages for users across many geograpical areas. Users will open these site pages for the specific areas in order to collaberate. Site pages are ...
1
vote
0answers
22 views

Problem with paging for specific users (not admin users) in document library view

I have a document library inserted within a web part in a page and the problem is that specific users (not admin users) cannot go to page #2 to view its documents. the filters do not work either. if ...
0
votes
2answers
50 views

SharePoint 2010 Webpart Error

I am accessing a list view webpart and seeing an error: Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML ...
5
votes
2answers
6k views

How to use html code in modern UI

This may be a rookie question but I just entered the world of SharePoint after a long time. I used to use the content editor web part to include custom html into my SharePoint pages, but now on the ...
0
votes
1answer
540 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 ...
1
vote
0answers
12 views

Using ClientContext can we change the url of text file linked to content editor webpart?

Is there any way to change the url property of content editor webpart using Javascript function ? I found solution to change the title of the webpart not the url properties of the web part. ? ...
4
votes
1answer
50 views

Create-react-app version 2 not compatible with SharePoint?

I'm trying to make a web part with React (not SPFx, just a regular mini React app) for use in SharePoint. I have done so successfully with version 1.x of react-scripts, but now 2.x is out, with ...
0
votes
1answer
26 views

Custom webpart not working after upgrade from 2010 to 2016

I've been facing an issue with one of the custom developed webparts in our Sharepoint Environment, after an upgrade from sharepoint 2010 to 2016. This webpart worked flawlessly in 2010 before the ...
0
votes
1answer
77 views

Filter list without using SPD

I'm trying to filter a list, something like the OOTB WP, but more flexible. The problem with the webpart is that the user has to input the exact contents of the item he wants to find. I would like the ...
1
vote
1answer
123 views

PnP powershell provision Site with webpart

I am dynamically creating sites (Modern sites/pages) and I want to add embed webpart with embedded code each time a site gets created. How can I do that with PnP Powershell script?
3
votes
2answers
5k 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 ...
1
vote
0answers
20 views

Sharepoint Web Part Error CS1061

My web parts deployed yesterday morning very well. Cant recive code in my ascx. now getting error like this : Error CS1061 'announcementdescription_announcementdescription_ascx' does not contain a ...
2
votes
2answers
153 views

What Happend to the Resources List on Central Admin SharePoint 2019

Previous versions of SharePoint had the "Resources" list view web part on the Central Administration home page (far right side), but in SharePoint 2019 On-Prem its missing. I see it in the "View ...
1
vote
1answer
85 views

Sharepoint 2013: Wiki page -how do I embed another page? the other wiki pages do not show in webparts

I am trying to create a wiki and to add a menu at the right side of my layount. That is a column where I would like to embed a content page that will be common to all my wiki pages. How do I do that? ...
1
vote
2answers
33 views

How to get document library view from web part on SharePoint 2013?

I currently have a document web part on my home page with a few folders with documents in each of them. When I click on the folders, the documents show as they should. However, I would like when I ...
1
vote
0answers
37 views

Excel Web Part - remove options from drop down list?

I have a site that contains an Excel web part. The web part has a drop down list for named ranges on the Excel file. The DDL has many names/options that don't appear in my named ranges. Is there ...
0
votes
0answers
26 views

Display dropdown by reading list in Sharepoint online

I have list in SharePoint online which has data of cities. Against each record there is a column state. For example: Mumbai --> Maharashtra Kagal --> Karnataka etc. I want to create a new aspx page ...
0
votes
0answers
12 views

Web-Part Code inconsistent

I'm relatively new to web-parts and coding in general. I wrote a code which, in theory, should fetch all items from two different sharepoint lists and displays them as a tree-view in the webpart. So ...
0
votes
0answers
194 views

Modern web part Code snippet

Is there a way to hide the new web part Code Snippet? Tried but I can't find a way. Best regards Michael
1
vote
2answers
10k views

Disable Horizontal Scroll Bar on Navigation Web Part in SharePoint 2010

How do I disable the horizontal scroll bar on a web part (actually it's in zone 1 on a navigation blog page web part) in SharePoint 2010? I set the the length to 5.5 inches to get a vertical scroll ...
0
votes
0answers
6 views

O365 sharepoint sites created from a template don't match the templated site (random differences)

We are doing SharePoint development in our third online (O365) environment and have experienced the following issue in each system. After a site is templated and a new one is created based on that ...
0
votes
0answers
141 views

List Tree View in Sharepoint Web Part

I need to create a Web-Part, where it shows all items from one list and if you expand the item, you see all items from another list which are connected to the first one and so on. So f.e. I got a ...
0
votes
1answer
1k views

Can we get Per Page count (for each link) in SharePoint analytics?

I need to show analytics as number of clicks for the link clicked in sharepoint site collections, sub sites, internal custom links on pages. Can we do this by using Shapoint Out of the box analytical ...
2
votes
2answers
375 views

Follow site programatically

In SP 2013 on prem, I am developing a web part using c#. All my functions work except follow/unfollow a site for a user. So I am turning here for some inspiration, looking for some code snippets or ...
2
votes
1answer
908 views

Web Part requesting web part manager that is present

I have a SharePoint 2013 publishing site. I have had to insert a web part directly into the master page. I am using Randy Drisgill's publishing starter master page. I have done this with many projects ...
0
votes
0answers
10 views

For a web part that maintained a PER-USER collection of data objects what would be the recommended place to store the per-user data?

New to SharePoint. Traditionally I would throw something like this into a SQL database, but perhaps something in SharePoint would suffice and be less overhead, an overall better option. I know there ...
1
vote
0answers
19 views

WebPart execute JS function

I've this code below: <webParts> <webPart xmlns="http://schemas.microsoft.com/WebPart/v3"> <metaData> <type name="Microsoft.SharePoint.WebPartPages....
1
vote
0answers
20 views

Change row limit on webpart with JS or AngularJs

I have a webpart wit row limit 9, and a widget that displays me a table with different numbers. I want that table to continue to show me the 9 rows until a date, and after that date to show me 5 rows. ...
0
votes
1answer
19 views

Implement 2FA webpart on pages that needs restriction

So currently the previous engineer has developed a 2FA functionality for the sharepoint 2010 intranet we are supporting. currently it is deployed as a webpart on the homepage and it does redirect ...
0
votes
0answers
21 views

SharePoint 2013: The site throws error after adding a web part

I am moving a web part from SharePoint 2010 to 2013. After updating the assemblies reference in Visual Studio 2012, I create a WSP file for the web part. Then I add the WSP solution to the farm and ...
2
votes
2answers
22 views

Changing a View doesn't reflect on a page

I've modified my "Wanted" view of a classified ads list, grouped by Category, so that it doesn't display the annoying "Category:" text on each line. That works flawlessly when viewing the list ...
0
votes
0answers
22 views

Embedding link to sharepoint

I got a case where I have an intranet FQND that should not be acessible through direct link via browser from any device, but instead of it, the access should be via a sharepoint intranet website with ...
1
vote
1answer
214 views

Peoplepicker get all users in tenant

How can I get all of the users in my tenant? I get just the users in a group. This is my code: private _getPeoplePickerItems(items: any[]) { console.log('Items:', items); } public render(): ...
0
votes
1answer
1k views

Initializing a DateTimeControl in a webpart

I have a visual webpart that uses several SP DateTimeControls (set to DateOnly) on a specific spot on the page. Those controls were simply added in VS to the ascx page from the toolbox like this: <...
0
votes
1answer
19 views

Is it possible to set web part criteria based on value from a list?

I have a sharepoint list with current and upcoming cases, and a list of years in which these cases will be completed. I would like to create a page with web parts showing cases for each year currently ...
0
votes
0answers
28 views

Tiles/Miniature View on Image Library: How to display custom metadate on mousover/hover?

The title might already say it. In one of my projects I'm currently looking for a solution to show additional metadata to an image on mouseover/hover. The first idea I had was to use the build in ...
0
votes
0answers
22 views

how to set the actual webpart code as initial value in PropertyFieldCodeEditor - SharepointFramework

Hello i am using this custom property pane control called PropertyFieldCodeEditor. what i want is to display the actual webpart code as the initial value of the code editor, then after i click save, ...
0
votes
1answer
26 views

Call JavaScript dynamically on Visual Web Part

I currently have a visual web part that displays clocks from different time zones, using the jClocksGMT library as provided here in the .ascx file. However, instead of hardcoding the timezones I want ...