In Portal, we have few Site Setting records that defines the registration behavior.
By default, if user clicks on Sign In page, we see the below options i.e. Sign In, Register and Redeem Invitation as well as Sign in with an external account.
If we want to disable Local Login then we can set the below Authentication/Registration/LocalLoginEnabled value as false.
This hides the Sign in with Local Account option.
For disabling the Registration option we can set the below site setting record as false.
This hides the Registration tabs from the sign in page
Setting both the above site settings as false, presents the user with the only option of using Azure AD for signing in to the portal.
Hope it helps..
Let us create a very simple web template that displays logged in user’s name and displays whether the user is in administrator role or not.
The template uses Liquid language
The Web template can be used to define Page Template.
Page template can be of type Web Template or Redirect. Redirect types would be pointing to actual physical aspx page inside the portal.
Now as we have our custom page template defined we can create a new child page in our portal using this new page template.
As we have Use Website Header and Footer checked the page takes it from the web site.
This is how the page renders with our new template
If we uncheck Use Website Header and Footer checkbox, the page renders with only the content (source) defined within the web template.
Apart from being used to define page template, web template can be inserted into the page through editing the copy of the page.
- Select the Hello World Template (it also displays the preview) and click Ok.
- This adds our custom web template in the page.
This was a very basic example, please check the below link that contains all the details and real world examples.
Hope it helps..