home page
6 TopicsSharePoint Online Homesite shows HOME rather than name of the site or group
As a user of the SharePoint online home site page /_layouts/15/sharepoint.aspx or the SharePoint iOS app my users find it hard to select the correct site because most sites are listed as "HOME". This is the SharePoint online home site page , illustrating the problem. I discovered this about 2 years ago, and hoped that MS would do something about it but as nothing has happened yet, I spend today updating all our 328 SharePoint sites so that they will display a useful human readable name on the SharePoint online home site page and in the iOS SharePoint app. Over the past couple of years I've discovered that the SharePoint online home site page is displaying the Title of that site's home page. If you update the file properties of that site's Home Page, then the name displayed in the SharePoint online home site page updates. But you have to wait for the search service to re-index the site. In my case it takes about 2 hours. This image shows what is displayed and where it comes from. So what I set out to do was get a list of all SharePoint sites in my tenant, then go through each, find the home page and if it's Title property was set to "Home" then change it to match what is shown to users when they go to that site. I tried to do this in less than 3 hours (it took about 5) so I thought I would share the code. This code is rough, but it worked for me so I hope it works for you. I requires the user running it to have the right to access the SharePoint Tenant admin site, and have access to all the sites within the Tenant. [When I ran it the account I was using didn't have access to every site, so it did fail, but continued after showing error messages]. You could potentially change this code and just use it against specific sites your account has rights to, but you'll have to come up with your own $allSites object. #Powershell script # Goal # update all tenant sharepoint site home page titles so that they don't say HOME but reflect the actual name of the site. # this is to fix the issue of SharePoint ios app and SharePoint web page showing sites with Home as the label. #connect to admin tenant and get list of all sites $tenantName = "Contoso" Connect-PnPOnline -Url "https://$tenantName-admin.sharepoint.com" -useweblogin #get a list of all sites in the tenant $allSites = Get-PnPTenantSite -detailed | select title,url,owner, LastContentModifiedDate, WebsCount, Template, StorageUsage $allSites = $allsites | sort-object -property title #an object which you can export to CSV later , so you have a list of all the things this script changed $whatWaschanged = @() foreach($site in $allsites) { write-host "Working on >> " $site.title " || " $site.url #visual clue as to what is going on $thisSiteTitle = "" If($Site.Title.length -gt 26) { $thisSiteTitle = $site.title.replace('a','').replace("e","").replace("i","").replace("o","").replace("u","") } else { $thisSiteTitle = $site.title } #$thisSiteTitle #write-host $site.Template if($site.Template -eq 'TEAMCHANNEL#0') { #do nothing #write-host "hello" } else { #connect to each site connect-pnponline -url $Site.url -useweblogin #makes long titles shorter $thisSite = get-pnpweb #find home page for the site $thisSiteHomePageRelURL = get-pnphomepage $thisSiteHomePageRelURL = $thisSiteHomePageRelURL.ToLower() #$thisSiteHomePageRelURL #will give back SitePages/home.aspx or similar $thisSiteHomePageIdentity = $thisSiteHomePageRelURL.replace('sitepages/','') #works for templates Group#0 and #sitepagepublishing0 #get just the homepage $thisSiteHomePageFile = get-pnppage -identity $thisSiteHomePageIdentity #check home page title If ($thisSiteHomePageFile.PageTitle.ToLower() = 'home') { $thisSiteHomePagelayouttype = "" $thisSiteHomePagelayouttype = $thisSiteHomePageFile.layouttype #update title of the home page set-pnpPage -identity $thisSiteHomePageIdentity -Title $thisSiteTitle #set layout type to what it was, or the page layout will change from Home to Article when the title is updated using this powershell set-pnppage -identity "home.aspx" -LayoutType $thisSiteHomePagelayouttype write-host "Changed >>" $site.title $whatWaschanged += @{SiteChangedTitle=$site.title; SiteChangedURL=$site.url} } #move to next site } } $whatWaschanged #writes to the powershell window the sites that have been updated Two issues that came up which you'll see in the code - If the $Site.Title is longer than 26 characters I shorten it by removing all vowels. Not pretty but it works - I reset the LayoutType of the page I change the Title of back to what it was before I changed the Title. I do this because when I ran it without this the home page's changed from LayoutType = Home to LayoutType = Article which means the page banner is shown (with background image etc). To avoid this I added in the rest of the LayoutType to whatever it was prior to changing the Title. Do you need to publish the site's home page after the change ? No. I didn't find that I had to do this for any site other than one, and I suspect that the home page may have been already checked out but not published in that case. Did it work for every site ? No - I found this didn't work for sites with $site.Template -eq 'TEAMCHANNEL#0' - these are the private channel's of Team sites I believe. I only have less than 10 of these in my Tenant so I didn't care it didn't work for them but to reduce errors I check for this Template and skip it. I hope this helps you5.3KViews1like4CommentsMultiple Home Pages
Greetings, I'm looking to add multiple home pages in Edge Chromium. Is this possible without the use of Group Policy, I can see that the homepage field in Settings can accept Javascript, but would this be the only way? Any help is appreciated. Thank you, Louis3.3KViews1like8CommentsSS27: smart switch setting and smart + button (for open new tab)
Suggestion (SS): 27 Classification: TAB - SETTING PRIORITY IN MY OPINION: 7 on a scale from 1 (low) to 10 (high) First add a quick way to switch between download / extension / bookmarks / history in the style of brave but maybe more compact Maybe add custom option too, so that i can add edge://settings/searchEngines?search=google to this list too, or edge://settings/downloads or ... or easy access to flags <<<<<<<<<<<< Second you should improve this mean if i click cmd, alt or ctrl you do specific things: example: open in incognito with ctrl and + open home page with alt show a list of top pages if i click cmd + (example pubmed, google images and ebay.ch). then i can choose which of these three. this is like having 4 different home webpages. or you can even add the way "if i click alt you open a new tab with the edge profile xxx" (even if i'm using yyy now). Or the same, but you show us the list of accounts (like i wrote in 3), so we can choose and we don't configure "open new tab in edge account xx with alt and +" here an example of what i mean, from czech devs. now i haven't checked all other browser. i just tried some random browser on my mac to see if someone integrate it, and the first random browser that i launched has this feature available (just a bit limited) <<<<< another option is to open a tab to the left if we click shift and + other example for smart +: open in new group open next to the current tab (but is better to integrate a whole option for this) open in new window duplicate all tabs from the current group you use to another group open a group of tabs at the same time (same like 3. but by using specific groups that we can configure). maybe without need to add a specific setting where we define the links, but just an option in bookmarks. so an option "add this folder in new tab smart group". then we can add 5-10 folders. reopen last closed tab <<<<< just another thing i noticed now seznam home button is cool, is not the classical home button like all other browser have.... PS: not important for me (at the end there is no improvement in my workflow), but maybe for someone else such smart features with cmd etc. can be applied to too, where you show us different websites (like i wrote in 3. ) <<<<<< NEW SUGGESTION: you can even add this smart button to so with ctrl (or other keys) and < we go back to the first page we opened (not only the previous). or you can use cmd < to go to the tab to the left and cmd > to go to the tab to the right.2.4KViews0likes6Comments