3
votes
Accepted
Add Web Part(dwp file) to the Page Layout
If you can deploy your page layout with a sharepoint solution it would be quite easy, you can add your webparts to the elements.xml file which includes your page layout:
<Elements xmlns="http://...
3
votes
Accepted
Get WebPart Zone Information using Javascript - Sharepoint Online
For ZoneId you'll have to use get_zoneId().
Change the load:
ctxOBJ.load(collWebPart,'Include(ZoneId)');
And the use get_zoneId():
console.log(webPartDef.get_zoneId());
If you plan to use props ...
2
votes
Accepted
How to Add Web Part Zone in existing Page
What's the problem with you?
You can add another web part by clicking "Add a Web Part" button as your screenshot.
Update:
If your page is in Site Pages library, you can go to SharePoint Designer->...
1
vote
How to Add Web Part Zone in existing Page
In Order to add a new WebPart Zone you need to create a custom Page Layout and use that page layout to create your SharePoint Pages OR you can edit your page in SharePoint Designer and add below code ...
1
vote
List is not showing in SharePoint page
No need for web.Update when you add webpart
Also, I usually use the below code which is somewhat different from the one you posted.
$site = new-object Microsoft.SharePoint.SPSite($SiteUrl)
$web=$...
1
vote
List is not showing in SharePoint page
Just tested and this works, your $web.Close() might have something to do with the problems you're seeing.
$siteurl = "https://yoursite.com"
$listName = "Documents"
$pageUrl = "/pages/default.aspx"
$...
1
vote
Why is Zone Index Disabled for Some Web-Parts?
I was experiencing a similar issue where the Zone index was grayed out due to the fact that all webparts were in the same Zone. Changing the Text Layout didn't for me. To resolve the issue I remove ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
web-part-zone × 72web-part × 33
page-layout × 17
2013 × 9
2010 × 8
sharepoint-designer × 8
development × 6
css × 6
content-editor-web-part × 5
sharepoint-online × 3
sharepoint-enterprise × 3
javascript × 3
sharepoint-foundation × 3
sharepoint-server × 2
powershell × 2
2007 × 2
client-object-model × 2
custom-form × 2
branding × 2
cswp × 2
permissions × 1
sharepoint-addin × 1
2016 × 1
custom-list × 1
search-results × 1