Mega-menu for Modern team site - sharepoint

I started a modern team site in SPO and added lots of pages and link to them in the quick link.
Now the users want Mega-Menu instead of the quick link.
I tried to copy the pages to a new communication sites that has mega-menu but there is a difference in the site template that does not let me do it.
I also tried to get the rest call to create the menu with jQuery.
https://{mydomain}.sharepoint.com/{musite}/_api/contextinfo tells me:
Access denied. You do not have permission to perform this action or access this resource
Is there a way to query the quick link and build a mega-menu?
Any good we to transform a team site to communication site?
Thanks in advance

If your team site is a classic team site then no, you can't have a megamenu unless you make a custom one.
IF your team site is a modern team site then you inherit the megamenu from a hub site I believe.
I have a feeling you have a classic team site with modern pages in it.

Related

Linking Teams with Communication Site

I have one communication site in production. I want to integrate Teams with the communication site. In short, I should be able to create a teams channel which will point to that communication site. And I don't want to convert communication site into team site as it is live now.
Example : Here is the communication site I have created "MyTestSite" and created one teams channel with same name but under "files" its showing SharePoint site as "MyTestSite2". Because it is a communication site.
So basically, I want something where I can use one communication site in teams files and main SharePoint site.
Is there any way to link teams channel with communication site ?
I found this workaround from Microsoft Support.
Is there any way to link teams channel with communication site ?
No, there is no such option at the moment, and I don't think Microsoft has any such plans as these sites are for a different purpose.
https://learn.microsoft.com/en-us/microsoft-365/community/team-site-or-communication-site
You can add library tab from this site.

O365 SharePoint Site - How to replace the default Master Page?

We created an HTML file with Office Fabric UI to make it responsive. Our intention is to integrate the HTML file we created with O365 SharePoint site and make it as our Intranet Home Page.
So, please let us know how to replace the default Master Page with our custom file. Any pointers to appropriate pages would be very helpful.
Account Info: Office 365 Business Essentials with SharePoint Online (Plan 1).
Thanks in advance.
As changes happen on SPO pretty much every week, it might not be a good practice to customize your branding through the master page when you are dealing with SPO. The reason is SPO's master page might be changed based on SPO new release. An alternative solution is to think about custom CSS and JavaScript injection through SharePoint CustomAction. You can reference PnP Partner Pack for site collection provisioning sample with responsive design.
If you really need to custom master page, you probably follow the exactly same way as SharePoint 2013 on premise environment to upload your master page and page layout. You can reference to How to: Convert an HTML file into a master page in SharePoint 2013 for detail information.

Why can't users in the "Visitors" group access my SharePoint 2010 publishing site. It works when i promote them to the "Members" group

When I place a test AD account in the Visitors group they are unable to view any pages on my new intranet site. The users receives the "Error access denied" sharepoint screen and indicates that the account was able to authenticate, but that some authorisation rule is permitting it from viewing the page.
When i remove then and place them in the Members or Owners groups they are able to view the pages as well as perform the expected functions like editing content and creating subsites.
Interesting, while in only the Visitors group, users can view the "All Site Content" page that is located here: /_layouts/viewlsts.aspx but not /pages/default.aspx.
Has anyone experienced this before?
Environment info:
1 Web application, 1 Site collection using the Publishing Portal template. A few custom master pages, lots of custom page layouts and user controls. All deployed via features.
Sharepoint 2010 Standard edition, 64bit running on Windows Server 2008 against SqlServer 2008 Enterprise Edition. Authentication is against AD, not any other forms auth providers etc.
One likely reason for such behavior is that it tries to access a resource on a page which might not have been published to a major version. For example, if versioning was turned on on images library and an image's version is 0.1, if that image was used on version 1.0 (published) of the page, the server would deny access to the visitor and ask for credentials.
Make sure following:
At least one major version of the page exists (page was published at least once)
All resources (images, movie files etc) used on the page are published (to major version)
You can use "Draft Check" button on Page Tab of the Page's ribbon to check the unpublished resources that are used by the page.
I had the same issue and I've finaly found out how to do this:
If you check OOB group access, you can find that Visitors group has limited number of pages where it has granted access.
Navigate to /yourweb/_catalogs/masterpage. Here you'll find many
.aspx files (including default.master).
Open this default.master`s permissions and you see it inherits from
Master Page Gallery.
Click this permissions inheritance and you can see that Master Page
Gallery permissions are not inherited from site collection
permissions.
Give here the Contribute permissions to Style Resource Readers (or
modify it as you'd like) and all users will have access to this web
with no permissions to edit etc..
I had a similar issue and the thing I noted in your Environmental comments was the custom master pages. Go to your Site Settings and ensure that your custom master pages have been published. If you need to publish them also check the corresponding html pages after they have been published as they may need to be republished also.
This worked for me.

How to capture SharePoint events from the UI?

I would need to capture events that users do on a SharePoint site (or at least Central Administration) - kind of "click on Site Settings" -> " click on Master pages gallery" etc...
I guess that's quite easy as a Sharepoint site is in the end a simple web site - but what would be the best approach?
Thank you!
MOSS Usage Tools from Codeplex is a solution that process SharePoint usage logs into BI.
friendly repository. This solution can monitor, audit, and gain valuable insight from the content and activity information within MOSS
http://usage.codeplex.com/
You could rely on the SharePoint STS usage logs to provide a list of pages that were visited by a given login.
The raw logs provide a list of every url visited.
I used this post to create an app to import what I wanted to a database.

Giving access to Sharepoint site for people outside organization?

I'm creating a site that will have people that work for my company using it( on the domain) and contractors who are not currently on the domain. I'm trying to figure out how to give access to the people who are not on our domain to the Sharepoint site.
Can someone point me in the right direction?
You need to set up a zone with Forms Based Authentication for the people not on the domain.
Look at this series on MSDN for guidance: Forms Authentication in SharePoint Products and Technologies
To bring this answer up to date (2018), the features are now available in Sharepoint Online/Office365:
https://support.office.com/en-us/article/manage-external-sharing-for-your-sharepoint-online-environment-c8a462eb-0723-4b0b-8d0a-70feafe4be85

Resources