Skip to main content

Posts

Showing posts from November, 2015

Featured post

XM Cloud content sync from prod to uat or UAT to prod step by step

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...

The way to invoke directive

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 ...

directive ng-model,ng-init,and ng-app in AngularJS

What is the main role of directive ng-model,ng-init,and ng-app in AngularJS ? Directives in angularjs is very important .we can’t do anything in angularjs without directive.It is use to initialize the everything which you wants. Some details about above directive is as follows. 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 Ng-Model :- This directive is use to bind html element like textbox area,select,input in angularjs app. Ng-Init :- This directive is use to initialize the angular app data. Ng-App : This directive is use to initialize the angular app.

Upload file using AngularJS

How to upload file using angularJS ? Uploading file using angularjs is very easy. I am using some code which is make design and to see actual design of file upload controls for this I have used css and html code which you can see in below example. 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 < html>       <head>       <script src = "http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js" ></script>    </head>       <body ng-app = "myApp" >                   <div ng-controller = "flCtrl" >          <input type = "file" ...

How to add,edit,update and delete in angularjs, CRUD Operation in angularJS

ADD,UPDATE,EDIT AND DELETE IN ANGULARJS CRUD In AngularJS I am going to show you very easy steps to do crud operation in angularjs. Now you can easily create, delete and update in AngularJS.  Before starting to write angularjs code ,Firstly we need to add library of angularjs in our project. Now, I am creating a Employee table to store employee information. You may check below HTML page , I have added some basic html code and angularjs syntax inside html tag. 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 <html xmlns="http://www.w3.org/1999/xhtml"> <head>     <title></title>     <script src="../jquery/jquery/jquery-1.11.2.js"></script>     <script src="angular.min.js"></script> ...