Sunday, July 17, 2022

Email Template

Edit an email template


Use case: 

I don’t like to send this email to my user. I would like to add something new here, can I update?

ØOn the menu bar, click Manage .

ØOn the Manage page, click Email templates.

ØNext to the email template you want to modify, click Edit .

ØThe email template detail page displays two tabs:

vInfo

vEmail body

Info

The Info tab contains the email template form fields. The Name and Label fields are not editable. You can edit the following fields:

ØDescription: description of the email template.

ØSubject: subject of email template.

ØVariables: variables included in the email template. Clicking a variable inserts the variable into the beginning of the Subject field.

In the following example, the variables are: DiscussionUrlDiscussionCreatedByDiscussionModifiedBy, and DiscussionMessage.

ØUpdated the subject and triggered the test email

Email body

ØThe Email body tab displays the email template in HTML format with CSS. The Variables section shows the variables that are available for the email template you are modifying and that you can add to the email body.

ØClicking a variable inserts it at your cursor location. In the following example, the DiscussionCreatedBy variable is inserted into the email body:


ØWe can preview our email before use it

ØOriginal email

User

Create or edit a user

How should I create a new user?

ØOn the menu bar, click Manage . 

ØOn the Manage page, click Users.

 

ØOn the Users page, click Add user.

On the blank user detail page, in the Username field, enter a username: a username is a string value that can contain spaces, special characters, and alphanumeric characters.


ØAssign the required Sitecore Content Hub™ modules to the user as described in Assign modules to users.

ØYou can add the user group here.


ØWe have two options here

Why policy combination?

ØWe can add the n number of policy set with any and all option. First we need to add all the policy in group membership section and then we make a set and add the item

ØClick save.

I have created the user , but I haven’t setup my password or email yet, then how should I use this user?

Edit user

After saving the page we can like this





ØWe can’t use the same email id again.

ØAfter updating email I could see this option


Ø You get this notification in the page.


ØI’ve received this email.


ØNow, I am trying to login


ØWhen I logged in with my new user this is my end result.couldn’t access the pages after login

Then I updated the one more policy group

ØThen login again

ØYou can see my page with different themes.

Page Theme

Page-specific theme

Use case:

I have a use case there I need to apply the theme only for my page not for all the pages in teh site means need to apply themes on one schema.

 My client asks me to do the themes changes in Asset page.how should I do that?

The page-specific theme is a feature that forces a theme on a page, regardless of the applied default or user theme. This theme enforcement lets you apply a more suitable theme to pages that might not render properly using the default or user themes.

To enforce a page-specific theme:

ØOn the menu bar, click Manage .

ØOn the Manage page, click Pages.

ØSearch and select the page to which you want to apply a specific theme.

ØOn the selected page, click the Info tab.

On the Info tab, in the General section, click Edit 

Next to the Page-specific theme field, click Add


ØIn the Page-specific theme dialog box, select the theme you want to apply to the page and click OK.

ØClick Save to save your changes.

Login page

Customize the login page

My client is asking me to do the changes to the login page. How should I do that?

This is my default home page, how should I do the changes?

ØTo change the image of the login (Home) page, from the Manage page, go to Pages and modify the layout and background image.

ØCheck the home page now,

Custom home page

Create a custom home page using a template

ØYou can create custom homepages and assign these pages based on user groups. This allows you to set up a different homepage for each user group.

ØThis is useful, for example, when users from an external creative agency have a different homepage than users from an internal marketing team.

ØYou can see the Homepage status on the Info tab for the page.


 ØOn the menu bar, click Manage .

ØOn the Manage page, click Pages.

ØOn the Pages portal, in the left pane, click + Page to create a new page.



ØWith the page selected, click the Info tab and then click Edit .

ØIn the General section, click the Homepage switch to turn it on.

ØClick Save.

A Homepage is identified with an icon


ØYou can now associate the homepage to the user groups.

ØYou can find all the user group here

ØHome pages has this icon

If users are assigned to multiple user groups, each having its own homepage, they can select the homepage they want to go to by default using the Set custom homepage command (available from Profile and settings).


ØHere you can see all the custom home page

Page Template

Create and use a page template

ØYou create new pages from the Pages page in Sitecore Content Hub™. You can create a blank page or a detail page either from scratch or by using a template.

ØA template is any page where the Is template toggle switch on the Info tab of the page is set to active.

ØBy default, the Is template option is set to inactive (disabled) for all system portal pages.

To create a page or subpage:

ØOn the menu bar, click Manage 

ØOn the Manage page, click Pages.

ØClick + PAGE.

ØIn the Page dialog box, in the Name box, enter a name for the page. This name is a unique system identifier and is not used as the title. The name and the title can be different.

From the Page type list, select one of the following:


Blank page: creates a blank page.

Detail page: creates a detail page for a specific entity definition. When you select this option, you must choose an entity definition from the list. A definition is the existing entity for which you want to create an entity detail page. You must also choose a master layout.

From template: lets you create a new page based on an existing page. The system creates a duplicate of the template page that you can then modify. A template is any page where the Is template option on the Info tab of the page is active.

ØYou can test your template by creating new page

ØClick Add.

ØThe new page is added to the sitemap.

ØTo configure the new page, select it in the sitemap and modify the associated settings in the right pane.

ØTo create a child page, select the new page, click More actions  and then click Add subpage.

ØIn the Page dialog box, specify a name, page type, and master layout, and then click Add.

ØThe subpage is added to the sitemap.

Steps to follow when using a PowerShell script to modify the goals in Sitecore

I have previously utilized PowerShell for item creation, modification, deletion, and presentation details in Sitecore.   Ø Recently, I attem...