When working with Sitecore, it’s common to need content synchronization across environments. Today, I’ll walk you through the steps to sync content from Production to UAT/TEST and vice versa. Steps to Follow 1. Set Up Your Workspace Create a folder on your computer where you will manage the script files and exported data. Open the folder path in PowerShell to begin scripting. We need to run some scripts in PowerShell to update the folder with the basic requirements for syncing content. PS C:\Soft\ContentSync> dotnet new tool-manifest PS C:\Soft\ContentSync> dotnet nuget add source -n Sitecore https://nuget.sitecore.com/resources/v3/index.json PS C:\Soft\ContentSync> dotnet tool install Sitecore.CLI PS C:\Soft\ContentSync> dotnet sitecore cloud login If the above error occurs, you will need to run a different command to resolve the issue. PS C:\Soft\ContentSync> dotnet sitecore init now, Again run above command to open and authenticate with XM Cloud. It will be there a...
What are the way to invoke directive ?
In angular app we can invoke directive in four
consecutive way. It’s very easy to implement .
You can see below sample code
example which help to understand how we can invoke directive in AngularJS.
Some Comments about previous article: - I have explain about how to Insert,delete,update and select data using angularjs.Also posted related to data bind in drop-down list using angularjs
1. Fist
point if we are going to use method as an attribute . then we need to use below
sample code.
Example: - <span
my-directive></span>
2. If
we are going to use method as class then we need to use below sample code.
Example :- <span
class=”my-directive:expression;”></span>
3. If
we are going to use method as elemet then we need to use below sample code.
Example :- <my-directive></my-directive>
4. If
we are going to use method as elemet then we need to use below sample code.
Example :-<!--directive:my-directive
expression-->
Comments
Post a Comment