3
votes
Accepted
$web.RootFolder.WelcomePage doesnt work on publish site
You said that you are working with a publishing enabled site. As far as I know, the code you are using can't work on Publishing sites, you should use the .DefaultPage property provided by the ...
2
votes
Accepted
How to Checkin welcome page with powershell for SharePoint 2016
$spWeb=Get-SPWeb "SiteURL"
$folder = $spWeb.RootFolder
$pageURL=$folder.WelcomePage
$page = $spWeb.GetFile($pageUrl);
if ($page.CheckedOutBy.UserLogin -eq $spWeb.CurrentUser.UserLogin)
{
$page....
1
vote
powershell csom document set welcome page view
Here is technet answer I found of someone trying to achieve the same thing.
In case the link ever goes down, here is the answer in question:
You can certainly do this with PowerShell! You need to ...
1
vote
Edit person.aspx?
The best practice is to
Create a Visual Studio Solution.
Then add your page layouts and other styling files.
Create a feature receiver
Use that to set the Page or create new page using the custom ...
1
vote
Accepted
Find the startpage of current web using javascript?
Thanks for the help, unfortunately it didnt work for me since there where something wrong with my SP.Publishing reference.
Instead I fixed it with this code:
$(document).ready(function () {
if (...
1
vote
Find the startpage of current web using javascript?
SPWeb has RootFolder which internally has WelcomePage property. You can use that to get this information
var clientContext = new SP.ClientContext.get_current();
var spWeb = clientContext.get_web();
...
1
vote
Document sets losing their Welcome Page
Do you have "Allow management of content types" set to Yes in the Document Set Library?
I have the same problem (Welcome Page disappearing) and I have allowed management of content types. When I set "...
1
vote
Accepted
Is it compulsary to activate publishing feature to get the Welcome Page option in site settings?
You can directly append _layouts/15/AreaWelcomePage.aspx in case of SP 2013 or _layouts/AreaWelcomePage.aspx in case of SP 2010 or 2007 to the url and change the welcome page instead of activating the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
welcome-page × 18document-set × 7
2013 × 3
powershell × 3
sharepoint-enterprise × 2
sharepoint-online × 1
sharepoint-server × 1
sharepoint-designer × 1
javascript × 1
sharepoint-foundation × 1
web-part × 1
permissions × 1
csom × 1
content-type × 1
modern-experience × 1
user-profile × 1
user-profile-service × 1
view × 1
feature × 1
publishing-site × 1
my-site × 1
sub-site × 1
publishing × 1
feature-activation × 1
file × 1