Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

A defined area on a page where web parts can be inserted.

0
votes
1answer
20 views

Web Parts auto-adjust to web part zone

We have developed some custom web parts in SharePoint 2016. We have developed these web parts as Visual Web Parts but with JavaScript/jQuery/REST API/PNP JS. We have used bootstrap for responsive ...
0
votes
0answers
16 views

Migrated content to wiki page library not visible in edit mode

I recently migrated publishing page library content (pages have webpart zones and content editor webparts) from SP2010 to SPOnline wiki page library using Sharegate. After migration I am able to view ...
1
vote
1answer
131 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
44 views

WebPartZone by force renders other WebPartZone as child

Following is the code to render webpartzone on my sharepoint site, but I'm not getting output as expected. (Sharepoint 2013) <div id="main"> <div id="content"> <div id="...
0
votes
2answers
34 views

Width of Zone on Search page

The SP Search page has only 1 zone. I used DOM Explorer to find its id is MainZone. I added some script to the page via Snippet Web Part: #MainZone{width:800px;overflow:auto;} It does nothing. ...
1
vote
0answers
222 views

Can't open OneNote notebook from within a web part

I have a SharePoint 2013 site collection with the standard Documents library. I now open OneNote and create a new notebook via FILE > NEW > OTHER WEB LOCATIONS. Creating the OneNote Notebook works ...
0
votes
0answers
41 views

Update a web parts zone using JavaScript?

Is it possible for me to update a web parts zone property using JavaScript/jQuery?
0
votes
1answer
279 views

How to detect which WebPart zone is empty and hide that WebPart Zone?

I have 2 columns and 2 row div structure in my custom page layout of Publishing type. I have kept 4 WebPart zones in each boxes made by div structure. Now my requirement is, the box with no WebPart ...
0
votes
2answers
41 views

List is not showing in SharePoint page

I have created the SharePoint list. I have tried to add the list into page zone using PowerShell script. If I execute the script it will run without any error. But in page the list does not added. ...
0
votes
0answers
570 views

Print ONLY Web Part Zone (button) for IE and Chrome

We have been able to find some ideas on how to print a web part zone (only what's in the zone) by creating a button within a CEWP, Works fine in IE, but it does not work in Chrome... Anyone have any ...
0
votes
0answers
1k views

Home.aspx: Change width of text layout from 50x50% to 65x35%

I'm trying to modify width Firebug or in SPD, but don't see any changes affected to the page: What should I change to resize left column from default '49.95%'? My text layout is this: upd.: here I ...
3
votes
1answer
412 views

Add Web Part(dwp file) to the Page Layout

I'm Creating Page Layout using SharePoint designer. Using the below code i created Web part zone <WebPartPages:WebPartZone runat="server" Title="ZoneTit" ID="ZoneId"> <ZoneTemplate>&...
0
votes
1answer
1k views

Resize Webpart zone without sharepoint designer in SP2010

I have a left webpart zone including webparts with smaller widths. I have then a wide blank space on the right part of the webpart zone. I would like to find a way to reduce the width of the left ...
1
vote
1answer
590 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 ...
0
votes
1answer
404 views

Add web part zone to page based on search result layout

I could use some advice on how to add a web part zone to a page in Sharepoint 2013 on premise. I have not done any front-end customizations like this before. I have created a page based on the "Search ...
10
votes
2answers
313 views

webpart hidden when in webpart zone

So I have a webpart that I have put into a webpart zone, when it is in the webpart zone it does not show but when I put it outside the zone it appears, what am I doing wrong? Code below: <...
3
votes
0answers
518 views

Align web parts vertically in a web part zone

I have a page layout with the web part zone. The webpart zone is supposed to have 2 webparts - CSWP and Content Editor webpart. I need to place the CSWP above the Content Editor. I need to set the ...
1
vote
0answers
145 views

Unable to add Content by Search web part in Web Part zone in custom page layout

I am working on a custom page layout where I need to add a Content By Search web part in a Web Part zone but I am unable to do so. The following is my code: <WebPartPages:SPProxyWebPartManager ...
0
votes
0answers
83 views

Conditional Web Part

I am trying to design a custom list form wherein the forms shown will depend on the type of user. My intention is to have several web parts to cater for the different types of user. I plan to load ...
2
votes
1answer
611 views

How do I position a web part at the top right hand corner of a zone?

I have added a webpart to a page containing several zones. I have added it to the top right zone but it is appearing more or less in the middle of the page, see image below. How can I force it to the ...
0
votes
2answers
1k views

Users with Full Control cannot see web part zones

I have created a page layout that (among other Things) have three web part zones. If I use this page layout on a page, I can easily add web parts to the zones. But trouble is, I'm not the one, who ...
0
votes
1answer
73 views

Modify Default.aspx start page, insert three webpartzones instead one

My Default.aspx in edit mode looks like this: Is it possible to insert another two webpartzones in "Top" zone? Ideally I'd want to make this design(becouse I have webparts with such width): Is it ...
0
votes
0answers
52 views

Resizeing the layout zones

I am using a 2-1 formation on my main site. i want one of the bottom zones to become thinner while the other one becomes wider. Tip Tip
0
votes
1answer
179 views

Visual Web Part with Web Part Zones

I am trying to create a unique component that has two Content Editor Web Parts. One of these will contain embed code showing a video, while the other one will contain description as HTML. The idea is ...
1
vote
1answer
1k views

Set Style for Content Editor Web Part in Sharepoint Designer 2010

I have created a new page layout and added a web part zone. In this web part zone I have also added a content editor web part. When users go into edit mode on the page and add content to the CEWP, i ...
1
vote
0answers
1k views

How to add webpart zone at master page in sharepoint 2013

How to add webpart zone at master page in sharepoint 2013. Isn't it possible? Be added to webpart zone -> used be a webpart in the custom left navigation bar.
0
votes
1answer
569 views

Unremovable but editable WebPart in PageLayout

Task add ContentSearch WebPart to pagelayout must be unremovable toolpane must be aviable to edit Query and Display Template PageLayout, JS and CSS solution Approach The only way to have a WebPart ...
1
vote
2answers
1k views

SharePoint 2013 Foundation - Edit default page layout

Can we edit the default page layout which comes with the team site of SharePoint Foundation version 2013? SharePoint does not show the Page layouts folder neither in designer or in any other places. ...
2
votes
1answer
1k views

Set WebPartZone Title in SharePoint 2013 Snippet

Does anyone know the right way to give a web part zone (inside a SP2013 HTML Page Layout) a nice human readable title? I used the following snippet: <div data-name="WebPartZone"> <!--CS:...
1
vote
1answer
512 views

Find Zone ID of list view webpart remotely

How to find the ZoneID of a list view webpart remotely? We can use any means to get the information; CSOM, JSON, web services or hacks. But we cannot use server-side code. We can know any ...
1
vote
1answer
2k views

How to change the page layout or webpartzones on default page of a custom site definition?

Currently I've got a custom site definition (SharePoint 2010) that includes several features and also puts some webparts in the webpartzones on the default.aspx when a site based on this definition is ...
0
votes
2answers
2k views

Adding a footer web part zone to dispform.aspx

I was hoping one of you could help me with an issue I am having. I have to add a footer web part zone to dispform.aspx on a list in SharePoint 2013. Our SharePoint 2013 platform is heavily ...
8
votes
5answers
5k views

Get webpart's Zone Id via CSOM

How to get Web Part Zone Id via CSOM? WebPart has property ZoneIndex but no ZoneId while WebPartDefinition has method MoveWebPartTo(string zoneID, int zoneIndex) but lacks methods to retrieve the ...
0
votes
1answer
86 views

Web part page and web part zone capatibility

I deleted a webpart zone and added a table in it's place w/ 6 cells. I added a table with 2 rows and 6 cells in its place and put a webpart zone in each cell. If I don't put something in the last ...
1
vote
2answers
2k views

First time working with page layout with WPZ

I have following page layout. Everything is good except the alignment of the webpart all over after rendering. Where is the alignment in the wpz properties? or how do i get this fixed? Thanks <%@ ...
2
votes
4answers
7k views

Web Parts overlapping undesirably

On our SharePoint 2010 Enterprise environment, every page is having some strange behavior with the web part zones. In Edit mode, it essentially looks like this: In non-edit mode, it looks even worse ...
0
votes
1answer
928 views

SharePoint 2013 - Imageslider / image are not ajusting to web part zone (width)

No. Adjust height to fit zone. - Do not work for images / imageslider. Problem: I've inserted imageslider into a web part, and using the property "no. Adjust height to fit zone". But the images do ...
0
votes
1answer
150 views

Webparts in zones or page content

I did not realise it was so easy just to add webparts to page content and that they did not have to go into web part zones. Is there any reason to continue using zones for general web parts on a page?
0
votes
1answer
435 views

Sharepoint Foundation - Create page with zones

I would like to create a page with default left and right zone, but I'm just able to create a rich page with column-based text layouts. How can I achieve that? Are there some kind of templates? Setup:...
1
vote
1answer
6k views

Add custom WebPartZone to existing page

I'm trying to add WebPartZone to existing page. I'm working with Sharepoint Designer (Site Actions -> Edit in SPD). I see a lot of ASP markup, but when Itry to add something like <WebPartPages:...
0
votes
2answers
2k views

How to get all the SharePoint web parts that are there inside a page and not inside a web part zone

I need some C# or powershell script where I need to list down all the web parts that are defined inside a page and not inside a web part zone. I tried with GetLimitedWebPartManager, but that API, ...
0
votes
1answer
120 views

Attribute 'DisplayTitle' is not a valid attribute of element 'WebPartZone'

I have a Microsoft.SharePoint.WebPartPages.WebPartZone declared on an application page: <%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft....
4
votes
1answer
656 views

What Does “loc:” Do In a WebPartZone's Title?

I know everyone does this, but I can't find an actual answer to what this does on MSDN... When you have a WebPartZone defined in a page, you set the Title property like: <WebPartPages:WebPartZone ...
0
votes
0answers
471 views

How do I realign web part zones?

I have three web part zones that are arranged in columns (Left) (Middle) and (Right) underneath one long Header Zone... The Left and Right zones are lined up to the Header zone, but the Middle Zone is ...
17
votes
4answers
63k 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 ...
0
votes
1answer
236 views

Getting zoneIDs easily and consistently?

I am working on a sort of app store, where a modaldialog pops up and shows a list of web parts that can be added to the page. The real issue is when I want to add a web part to the page; the ...
3
votes
1answer
3k views

Web Part zone index not working

I am installing a web part on a few different pages. I have set my zone index to 0, yet they still wind up below the other web parts on the page. Here is my code: TasksWebPart ...
2
votes
1answer
133 views

What kind of page to use?

I'm building an interface that allows for users to customize the webpart zones on their page to a layout of their choosing. It seems the best way to do this is to have all possible layouts present on ...
1
vote
3answers
8k views

Why is Zone Index Disabled for Some Web-Parts?

Salve! In my Sharepoint Server 2010 site, I have subsite with some webparts on it. There is only one web-part zone, and the page is a wiki page. However, I want web-part #1 to appear below web-part ...
4
votes
4answers
1k views

Add a Web Part Zone to “My Newsfeed” Page via PowerShell

I've done a fair amount of looking into this idea without promising leads. Let me define my problem: I need to add a third column (as a Web Part Zone) to the "My Newsfeed" page in My Sites. The ...