modern site
4 TopicsModern site Event webpart only show the next 30 days
When I add the Event webpart to my website, when we click on "See all" to see all the events, the filter are set by defaut as this: Start date from = Today Start date to = Today + 30 It's a problem because sometimes we only have 1 event per month. I would like to have all the upcoming events by default, with no filter. How can I do that ?1.1KViews0likes1CommentQuick Links web part analytics for click through
Hello everyone We have a list of quick links on our home page of our Modern Intranet site and I would love to track activity on them to determine which links are being used the most and which ones we should switch out or delete. Is there a trick to getting that information? I found the similar question on here from 2018 and was hoping there was more recent solutions available. Thanks for your time! Cindy1.3KViews1like0CommentsUnable to provision modern site using provider hosted app in SharePoint 2019
We are trying to create a modern site from the provider hosted app in SharePoint 2019. We have tried creating a modern site using SharePoint in-built(team "STS#3" and communication "SITEPAGEPUBLISHING#0") site collection template, but it creates a classic site. Also, we have tried creating classic team/communication site and added a modern page in that and saved that site as a template. Taking base as that template, we tried creating a modern site, but here also it creates a classic site only. Environment [x] SharePoint 2019 Build Name: SharePoint Server 2019 RTM CU Version: 16.0.10337.12109 Expected or Desired Behavior We have tried creating a modern site using SharePoint in-built(team "STS#3" and communication "SITEPAGEPUBLISHING#0") site collection template, It should create a modern site. Observed Behavior We have tried creating a modern site using SharePoint in-built(team "STS#3" and communication "SITEPAGEPUBLISHING#0") site collection template, but it creates a classic site. Steps to Reproduce We are using the below project Reference link for creating this app:https://github.com/SharePoint/PnP/tree/master/Samples/Provisioning.SiteCol.OnPrem Source code for the code snippet private string CreateSiteCollection(string hostWebUrl, string url, string template, string title, string adminAccount) { // Resolve root site collection URL from host web. We assume that this has been set as the "TenantAdminSite" string rootSiteUrl = hostWebUrl.Substring(0, 8 + hostWebUrl.Substring(8).IndexOf("/")); //Resolve URL for the new site collection var webUrl = string.Format("{0}/sites/{1}", rootSiteUrl, url); // Notice that this assumes that AdministrationSiteType as been set as TenantAdministration for root site collection // If this tenant admin URI is pointing to site collection which is host named site collection, code does create host named site collection as well var tenantAdminUri = new Uri(rootSiteUrl); string realm = TokenHelper.GetRealmFromTargetUrl(tenantAdminUri); var token = TokenHelper.GetAppOnlyAccessToken(TokenHelper.SharePointPrincipal, tenantAdminUri.Authority, realm).AccessToken; using (var adminContext = TokenHelper.GetClientContextWithAccessToken(tenantAdminUri.ToString(), token)) { var tenant = new Tenant(adminContext); var properties = new SiteCreationProperties() { Url = webUrl, Owner = adminAccount, Title = title, Template = template }; //start the SPO operation to create the site SpoOperation op = tenant.CreateSite(properties); adminContext.Load(op, i => i.IsComplete); adminContext.ExecuteQuery(); } // Set theme for the new site SetThemeToNewSite(webUrl); // Return URL for redirection return webUrl; }2.6KViews0likes6CommentsGap between SharePoint modern home page, web parts
I am having classic team site in SP online. When ever user opens the site it is loading classic page as home page. But i want to replace this classic page with modern page. For thisI have created a new modern page, and made as home page. But there is a huge gap that I am seeing which is reserved for Page title. How to remove this area especially for home page? Usually for home page, title is not required.1.2KViews0likes0Comments