Monday, January 24, 2011

Create Silverlight Application

Create Silverlight Application

Here I am going to share one of the Silverlight applications which I did for RND purpose and also what are the problems I have face during this application
Silverlight application is subset of WPF (window presentation foundation). It fulfils the traditional ASP.NET application.
To create Silverlight application following items we need to install
1) Visual studio 2010
2) Silverlight 4.0 development toolkit (http://silverlight.codeplex.com/)
3) Silverlight runtime
Once you install Silverlight 4.0 development kit go to visual studio open new project you will get Silverlight in the left hand side. Here there are some temples also available that are already partially completed one if we want we can continue from this template. Here I am going to explain from empty template
Visual studio -> New Project -> Silverlight -> Silverlight Application





When I select Silverlight application we will get below popup here its ask where we need to deploy this Silverlight application (WPF Control) here there are three option we can deploy to new web project , web site or MVC web project. Suppose if this solution contain any other web project this it will ask whether need to deploy to existing application or new application and also we can select Silverlight version and whether do we need RIA services. Next RND blogs I will write Silverlight application with RIA services.




Below it show the solution it contain client application (Silverlight) and server application (Hosting application)



Within the box First one is Silverlight application it will run in Silverlight not .NET frame work other one work on .NET frame work. We couldn’t add normal DLL to Silverlight application (RNDSilverlight) it accept only Silverlight supportable class library because this is not run in frame work run on Silverlight framework.


When we build the Silverlight application create .XAP file within ClientBin folder. This is the one contain all XAML code for run silverlight.


Adding Services to our application
Just right click on the RNDSilverlight (Client Application) Add Services Reference and add this service to our application
Add services reference to Silverlight class as using RNDSilverlight.WCFServices; after that we can create proxy class to connect that services


Service1Client service1Client = new Service1Client();
service1Client.GetDataCompleted +=new EventHandler<getdatacompletedeventargs>(RetriveData);
service1Client.GetDataAsync("Pirasanth");
public void RetriveData(object sender, GetDataCompletedEventArgs e)
{
if (e.Error== null)
{
var data = e.Result;
}
}

Note before assign the data we need to check whether e.Error contain any value if yes we need to put some custom error message otherwise it will prompt big message.

In this binding after 1 minute I got time out issue so I have increase receive and sent timeout in the services Web.config like

<basichttpbinding>
<binding name="Binding1" closetimeout="04:50:00" opentimeout="04:50:00" receivetimeout="04:20:00" sendtimeout="04:20:00" maxbuffersize="655360000" maxbufferpoolsize="524288000" maxreceivedmessagesize="655360000">
<readerquotas maxdepth="2000000000" maxstringcontentlength="2000000000" maxarraylength="2000000000" maxbytesperread="2000000000" maxnametablecharcount="2000000000">
</binding>
</basichttpbinding>
</bindings>


But still after 1 min I got the time out issue like “WCF TimeOut Issue in Silver Light Application” so increase the time out we need to bind it manually as below

BasicHttpBinding WCFServiceBind = new BasicHttpBinding
{
CloseTimeout = new TimeSpan(0, 30, 0),
MaxBufferSize = 2147483647,
MaxReceivedMessageSize = 2147483647,
ReceiveTimeout = new TimeSpan(4, 0, 0),
SendTimeout = new TimeSpan(4, 0, 0),
OpenTimeout = new TimeSpan(0, 30, 0)

}; // WCF TimeOut Issue in Silver Light Application


EndpointAddress WCFServiceEndPoint = new EndpointAddress("http://localhost.RNDServices.svc");
service1Client = new Service1Client(WCFServiceBind, WCFServiceEndPoint);
service1Client.GetDataCompleted += new EventHandler<>( RetriveData);
service1Client.GetDataAsync("Pirasanth");



After that I didn’t get timeout issue even after 4 min. and also I have increate data buffer size also.

Note: - we couldn’t use other binding in Silverlight. Only BasicHttpBinding and TCP binding. To fix the timeout issue both services and client side we need to increase as I mention above

Now i will focus on binding datagride for that I am creating Silverlight supportable class library in that library contain class Student we can bind the data which we got from the WCF services. Before that we need to add this System.ComponentModel.DataAnnotations dll to this library for the validation and we need to implement IDataErrorInfo interface for validation



public class Student : IDataErrorInfo
{
[Range(0, 100)]
public int Age
{
get;
set;
}

public String Name
{
get;
set;
}
public string Error
{
get { throw new NotImplementedException(); }
}

public string this[string columnName]
{
get
{
return Validation(columnName);

}
}

private string Validation(string columnName)
{
switch (columnName)
{

case "Age":
if (condition)
{ return "Tax should be with in 0, 100 this range"; }
else
{ goto default; }
default:
return null;
}
}
}


After that we need to drag this datagride from the toolbar and set the binding Binding="{Binding Path=Name, Mode=TwoWay}".


After that we need to write below code to bind the ObservableCollection
public void RetriveData(object sender, GetListOfStudentCompletedEventArgs e)
{
if (e.Error== null)
{
var obj = e.Result;
ObservableCollection<student_si> lst = new ObservableCollection<student_si>();
foreach (Student item in obj)
{
lst.Add(new Student_Si
{
Age=item.Age,
Name=item.Name
});
}

gv.ItemsSource = lst;
}
}



In this way we can bind the list to datagride.

Note:- if we use RIA services we don’t need to create one layer easily and quickly we can create using RIA enable Silverlight application. But problem it only we need to go with certain way. Not that much flexible.


Wednesday, July 28, 2010

Calling Custom Workflows In Javascript or ISV

If we want to calll Custom workflow with in CRM 4.0 javascript or ISV we call CRM 4.0 inbuilt function "launchOnDemandWorkflow" in this methods we can pass object ID and Workflow ID launchOnDemandWorkflow('',ObjectTypeCode,Workflow ID)

We simply get ObjectTypeCode from crmForm.Objectid and workflow is unigue ID we can get from Workflow section. the problems is that when we call this launchOnDemandWorkflow it will frompt workflow dialog box for our confirmation after that we can't put notification whether that workflow Successed or not. in this can we can remove this pfompt box and we can put custom confirmation message and success message.


/********************* Calling Custom Workflows ************************/
//Pirasanth
ExecuteWorkflow = function(entityId, workflowId)
{
var xml = "" +
"<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
"<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">" +
GenerateAuthenticationHeader() +
" <soap:Body>" +
" <Execute xmlns=\"http://schemas.microsoft.com/crm/2007/WebServices\">" +
" <Request xsi:type=\"ExecuteWorkflowRequest\">" +
" <EntityId>" + entityId + "</EntityId>" +
" <WorkflowId>" + workflowId + "</WorkflowId>" +
" </Request>" +
" </Execute>" +
" </soap:Body>" +
"</soap:Envelope>" +
"";
var xmlHttpRequest = new ActiveXObject("Msxml2.XMLHTTP");
xmlHttpRequest.Open("POST", "/MSCrmServices/2007/CrmService.asmx", false);
xmlHttpRequest.setRequestHeader("SOAPAction","http://schemas.microsoft.com/crm/2007/WebServices/Execute");
xmlHttpRequest.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
xmlHttpRequest.setRequestHeader("Content-Length", xml.length);
xmlHttpRequest.send(xml);
var resultXml = xmlHttpRequest.responseXML;
return(resultXml.xml);

}

/*************************Calling Web Services****************************/


this Wrokflow dialog box promf for confirmation if we press ok then ll execute the workflow bt user doesn't know this workflow successed or not..user can check from workflow section bt not ll promf


so in this case we can put custom confirmation messagebox and after scuuessed we can put notificatiopn whether theis workflow successed or no..
for the confirmation message we can put

Success Message..

Here user could understand whethere this workflow successed or not

Thursday, June 3, 2010

Filtered Lookup in CRM 4.0

How to create Filtered lookup in CRM 4.0

First of all you need to remote login to that server where CRm hosted after that go IIS root "C:\inetpub\wwwroot\_controls\lookup" then open the "lookupsingle.aspx" file and pase the below code in this aspx file .

<script runat="server">

protected override void OnLoad( EventArgs e )
{
base.OnLoad(e);
crmGrid.PreRender += new EventHandler( crmgrid_PreRender );
}

void crmgrid_PreRender( object sender , EventArgs e )
{
if (crmGrid.Parameters["search"] != null && crmGrid.Parameters["search"].StartsWith ("<fetch>"))
{
crmGrid.Parameters.Add("fetchxml", crmGrid.Parameters["search"]);
crmGrid.Parameters.Remove("searchvalue");
this._showNewButton = false;
}
}

</script>

For the main look up onchange event write below code

crmForm.all.ias_cityid.lookupbrowse = 1;
crmForm.all.ias_cityid.AddParam("search", "<fetch mapping="logical"><entity name="ias_cityEntity"><all-attributes><filter type="and"><condition value="'" operator="eq" attribute="ias_countryid"><condition operator="in" attribute="statecode"><value>0</value></condition></condition></filter></ALL-ATTRIBUTES>");</entity></fetch>

//remove the child lookup value
crmForm.all.ias_cityid.DataValue=null; // child lookup

// ias_cityEntity -- child lookup entity
// ias_country_id -- main lookup id
// ias_countryid -- main lookup attribute in sub entity
// ias_cityid -- sub lookup entity

Monday, March 22, 2010

Calling WCF Restful Services in Jquery

Create WCF 2010 Restful Services



Visual studio 2010 produce some online template so we can download this template and use from this online template we can get WCF REST Service Template 40(CS)

Just go to New Project - Online Templates - get WCF REST Service Template 40(CS) from this we can download restful service template. Once we download it will come under WCF directory.



Solutions look like this.







In this service1 class contain default methods some methods contain WebGet and WebInvoke. If we use WebGet work methods as get if we use WebInvoke we can specify methods as PUT, POST, DELETE depending on the situation we can use either WebGet or WebInvoke.



I wrote methods to return list of student details. Here UriTemplate is the URL for access this methods and response methods as JSON because I need to call this methods in Jquery so I use JSON format. Body style is not mandatory

<pre class="brush:html">

[WebGet(UriTemplate = "StudentsJSON",BodyStyle = WebMessageBodyStyle.Wrapped, ResponseFormat = WebMessageFormat.Json)]

Public List<Student> GetStudentCollectionJSON()

{

return new Student().getStudent();



}



Main advantage of this REST in 4.0 is we can give unique URL for each method and in WCF there is no .SVC extension. Microsoft has removed this SVC extension.



From below URL we can see all the methods here there is no .svc extension

http://localhost/Test/TestService/help









Calling WCF Restful Services in Jquery



Before discuss about calling WCF Restful Services through Jquery we need to understand what is REST? Why we need to use restful services? When Microsoft introduces this REST and Restful services? Why we need to away from ASMX, WCF using SOAP base protocols? So here I am not going to explain the theory we can get to know by googling.



If we navigate through the methods “GET” we will get XML, JSON format default data







If we use http://localhost/Test/TestService/StudentsXML link we will get XML format data









[WebGet(UriTemplate = "StudentsXML" , ResponseFormat = WebMessageFormat.Xml)]

public List<Student> GetStudentCollectionXML()

{

return new Student().getStudent();

}

Using http://localhost/Test/TestService/StudentsJSON link we will get JSON format data





[WebGet(UriTemplate = "StudentsXML" , ResponseFormat = WebMessageFormat.Xml)]



public List<Student> GetStudentCollectionXML()

{

return new Student().getStudent();



}



//Pirasanth

Wednesday, February 10, 2010

CRM 4.0 Javascript Intellisense Tool

I faced lot of problem when i create javascript in crm. because in crm there is no javascript intellisence and visual studio 2008 also have javascript intellisense but not CRM related things, so i need to remember all the syntax and also have to type correct variables. but resently i have found javascript intellisense tool from this we can easily create javascript stuff with intellisense
download tool

You can download tool

Thursday, February 4, 2010

how to call wcf service from jquery

Here I have mentioned how to call WCF using JQuery......

First of all I have created WCF service library using visual studio 2008.Then I have added assembly reference “System.ServiceModel.Web” to my WCF library.Then import this assemply to out interface like this way “using System.ServiceModel.Web;”then declare methods in this interface


[OperationContract]

[WebInvoke(Method="POST",BodyStyle=WebMessageBodyStyle.Wrapped, ResponseFormat=WebMessageFormat.Json)]


string GetData(string value);


After that implement this methods to my class and also create new end point to accress jquery.



WCF Services Test

After that I want to access this WCF to my client application. To my client application import JQuery library to my application. Then put the reference to my page in this way





 







From this code you can able to access WCF in client side.

calling WCF Services vai JQuery

Friday, January 8, 2010

How to call web service using jquery

<script type="text/javascript">
function TestMethod1()
{
$.ajax(
{
type: "GET",
url: "http://localhost/DD/WebService1.asmx/HelloWorld",
data: "{}",
contentType: "application/json",
dataType: "json",
async: false,
cache: false,

success: function (result) {
alert(result.d);
},
error: function ()
{ alert(&quot;Unavailable&quot;); }
});
}
</script >

Wednesday, January 6, 2010

Miling Amma and Bhagavan

Question: Nobody in this world is free of sufferings. To be free from sufferings what should be done?
Sri Bhagavan: That is very simple. Please follow seven truths to be free from suffering.
1. Everything comes from a single source. It could be God or Energy. There is no beginning and end to life.
2. If you identify this source, you'll not differentiate between good, bad, right or wrong. All these things are our views. Everything came from one source.
3. Life is nothing but your search for "SELF". In your life, things that happen to you, people you see, everything reflects your "Self". If you are suffering from poverty, it means there something wrong within yourself. You have to correct this to get out of poverty. If you have hatred, then who ever you see will exhibit the same quality. If you have evil thoughts, people you meet will also have evil thoughts. Try to understand yourself first.
4. Realize that anything you experience in this Life is by God's grace. Supposing you slip while walking, try to realize that as God's grace too. If you see God in everything, your life will become wonderful.
5. Realize that anything you experience in this Life is just a "test" for you by God. It is not a bad experience. If it is considered as a bad experience then it would mean that God is not compassionate. If you experience a problem, consider it an opportunity for you to face it and come out of it. You've been given people, wealth and confidence to face challenges. If you understand this, your confidence will improve. Just to test your confidence God gives you a test.
6. If you realize that anything you experience is a test for you by God, then you'll be able to think deep about the problem and handle it in a better way. You'll understand its result. Then you'll have no fear.
7. If you understand the above 6 truths, then there will be an enormous transformation in your body. From then on, you'll not only have compassion, but you'll become that "compassion".

Thank You AMMABHAGAVAN

Tuesday, January 5, 2010

Yoga

யோகாசனம் பற்றிய சில குறிப்புக்கள்

Tuesday, December 29, 2009

வெள்ளவத்தையிலும் அன்னை மரியின் அதிசயம்

கொழும்பு வெள்ளவத்தையிலும் அன்னை மரியின் கைகள் தெரியும் அதிசயம் நிகழ்ந்துள்ளது.
அன்னை மரியின் உருவப் படத்திலிருந்து கைகள் இரண்டு வெளிப்பட்டுள்ளதை இந்தப் படத்தில் காணக்கூடியதாக இருக்கும்.
வெள்ளவத்தை, பெர்னாண்டோ வீதியில் உள்ள கணேந்திரன் என்பவரின் வீட்டில் நிகழ்ந்த அதிசயத்தினை நாம் கமராவுக்குள் அடக்கிக் கொண்டோம்.
கிறிஸ்மஸ் தினமான கடந்த 25ஆம் திகதி மாலை 3 மணியளவில் குடும்பத்தினர் பிரார்த்தனையில் ஈடுபட்டிருந்த சமயம் அனைவரும் பார்த்துக்கொண்டிருக்கையில் இந்த அதிசயம் நிகழ்ந்ததாக வீட்டார் கூறுகின்றனர்.
2006 ஆம் ஆண்டளவில் புனித மடு தேவாலயத்தில் இந்தப் பிரார்த்தனை புத்தகத்தை வாங்கியுள்ளனர். தொடர்ச்சியாக செய்துவந்த புனிதமான பிரார்த்தனையே இதற்குக் காரணம் என அவர்கள் நம்பிக்கை வெளியிட்டனர்.
ஆணைக்கோட்டை வராளி கோவிலடியிலுள்ள வீடு ஒன்றில் இதேபோன்ற சம்பவம் அண்மையில் நிகழ்ந்தமை குறிப்பிடத்தக்கது
Source virakesar

Thursday, November 19, 2009

CRM 4.0 Notification













































































































//Pirasanth


//CRM Notification


function addNotification(message)


{


var notificationHTML = ='
' + message + '
';


var notificationsArea = document.getElementById('Notifications');


if (notificationsArea == null) return;


notificationsArea.innerHTML += notificationHTML;


notificationsArea.style.display = 'block';


}





call function


addNotification('Test Notification')


}



Monday, November 16, 2009

அம்மா பகவன்

அம்மா பகவான் உரை 15-11-2009

பகவான் அடிக்கடி சொல்லுவது மாற்றங்கள் மட்டும் தான் நிலையானது .. அதற்கு அமைய ஏகத்துவ கட்டமைப்பில் சில மாற்றங்கள். நீங்கள் அவருடைய திருவாயால் கேட்கலாம்... உங்களை நம்பிய மக்களுக்கு சரியான பாதைய காட்ட வேணும் என்னுடைய குருவாக ..................

Friday, November 13, 2009


Tuesday, November 10, 2009

Add Notification Message in CRM 4.0

Add Notification Message in CRM 4.0
//for notification//addNotification = function(message)
function addNotification(message) {
var notificationHTML = '
' + message + '
';
var notificationsArea = document.getElementById('Notifications');
if (notificationsArea == null) return;
notificationsArea.innerHTML += notificationHTML; notificationsArea.style.display = 'block';
}

call addNotification('Test ');

Thursday, October 22, 2009

FREE tools in Microsoft Windows

Top 10 most useful and absolutely FREE tools in Microsoft Windows Every Web Developer Should Have:
1. paint.net
: Absolutely amazing free photo editor. You can use paint.net to do almost all basic things you want to do with Adobe Photoshop. You can even open and save in .psd format.
2. notepad++
: Forget about Windows notepad. Notepad++ is the best free editor out there. It supports UTF8, and even has plugin for FTP client. (Say goodbye to dreamweaver)
3. Trillian
: Need to chat with teammates? Chat on MSN, Yahoo, Gtalk, AIM, Jabber and many others with just one Trillian client. I'm a big fan of Trillian for many years. Their latest Astra is just amazing. Excellent design and feature.
4. Filezilla
: If you need to FTP stuff, Filezilla is simple and excellent and open source FTP client!
5. Putty
: Putty is the "standard" of SSH client. Simple yet reliable!
6. Camstudio
: So you want to create a tutorial video and show the world how your application works? Camstudio comes to rescue! Just click on record and every movement on your computer is recorded. You can even record your voice at the same time.
7. 7-Zip
: Why pay for winzip when you have 7-zip? 7-zip can even uncompress .RAR format. A must have tool!
8. PDFill PDF Tools
: PDFill comes with a paid version, but I use its FREE tools a lot. Especially creating pdf files from my documents.
9. VideoLAN
: Time to take a break from coding and watch some videos? VideoLAN is there for it. It can play almost every video format you can think of.
10. Directory Digest
This is a new tool I just found. Basically, it can compare files in two directories for you, and tells you what are the file differences between them. Very handy in case you need to compare the new release with the old one.
Bonus tool:Windows Grep
: Windows Grep is not free, but you can download it and try out. This is a must have tool for developers. Same as the "grep" command from *NIX. I have used Windows grep so many times, and it actually helped me a lot when I need to search for a string.

Wednesday, September 30, 2009

9 Steps for Handling our Experiences

Sri Anandagiriji:

1- Become conscious that we are suffering. We need to admit it. When a charge surfaces, when we are not feeling all right, the force of habit and social conditioning is to tell ourselves that we are feeling fine. When we are in pain and suffering, we need to acknowledge and accept it. No need to make any effort to move away from it. When you are in fear, there is no point to say you are feeling fine. Admit you are feeling low.

-------------------------------------------

2- Become aware of habitual questions of the mind to take us away from the discomfort. The mind throws up wrong questions: Who caused this suffering to me? Why did they do it to me? Why should life be so cruel to me? This makes us interested in finding cause and blame to attribute to somebody or a situation and disperses our attention to the questions instead of experiencing what is going on inside. If we get stuck in these questions, we cannot concentrate. What habitual questions are you asking? Once you're suffering, the important part is how you deal with it. It's irrelevant about right and wrong or because of who or why you are suffering.


-------------------------------------------
3- Ask the right question. Right questions are driven by a vision to experience our emotions. So the question must be how to I deal with the pain? how do I experience it? how do I become free? This takes you right into the experience instead of distractions of the wrong questions. Liberation comes from the attention to the feeling in our body and our hearts. As we pay attention, this is where the process moves deeper. Who and why are irrelevant. You can feel immense focus building up as you ask the right question of how do I become free of it through the experience.

-------------------------------------------

4- Become aware of the habitual response of blaming, fighting with the situation, or losing all motivation in life. Moving into depression and self-hate. All these are old habits, how we have trained ourselves to deal with it. We fight with ourselves or others, feel guilty, blame others, condemn ourselves or others. Attention is then moving outwards. Constantly prompts you to believe liberation is elsewhere by someone else or situations changing. By doing something else and turning attention away is the habit and the biggest mistake. This brings you more entanglement.
-------------------------------------------

5- Make the decision. Once you know this is a habit and no sense or logic in it. It's just a track where the mind is moving out of habit. It is foolish. Breaking a habit requires a firm resolve. We need to become clear in ourselves and re-program our responses. Making the decision that I am not moving away from this experience come what may. I'll do anything and everything required to pay attention to the experience. This will break the old habit pattern. This is not a one day affair. Every time you get in touch with charges and you keep repeating your resolve, you will be more able to engage. It takes practice. Resolve and face each time and eventually you will have a breakthrough and the process will get easier. Even if we fail 100 times, we need to resolve the 101st time. That is our ultimate goal. We must reach it. No moving away, no other alternative. Body posture will also help to reprogram new habit-to physically anchor by sitting erect as you make the decision. Close your eyes and breathe deeply and keep your left palm below and close it with the right palm on the right thigh. As you inhale, then hold your breadth, make the decision-"I am experiencing this feeling completely." Then exhale. Do this 7 times.

-------------------------------------------

6- Invoke the Divine Presence. It's also a matter of divine benediction. We need the intense focus and extra bit of energy. It's important that the spiritual energy or kundalini is activated by divine grace. The brain must be pushed into concentrating all attention. This is like focusing a magnifying glass lens onto cotton in the sunlight. That is what is happening in consciousness. Our emotions can undergo a transformation. You can ask for a blessing from AmmaBhagavan by touching their picture or to receive a blessing from another facilitator.
------------------------------------------


7- Allow yourself to go through the whole experience. Just see what you are feeling physically and go with it. There is nothing to make sense of, it is just an experience to go through.

-------------------------------------------
8- Inner affirmation: After you complete the experience and feel sense of silence, joy or gratitude, you will make an affirmation that "Suffering is not in the fact, but in my perception." Repeat this 7 times. With the first hand experience through the first 7 steps, this teaching will be deeply lodged and the next time the teaching will be inside you and you will effortlessly begin to focus inward. Breathe in and out as before, joining hands on your heart-as you breathe in and hold the breath, make the affirmation, and then breathe out.
-------------------------------------------

9- Conclude with expressing gratitude to the Divine and/or to AmmaBhagavan. Spirituality is not so much about experiencing higher states and mystical happenings, but about re-programming our responses. Our responses determine our destiny. If we respond out of old habits, we break up our relationships and cause disease. If we respond through acceptance and experience it and see the transformation, we are creating a new golden age.
Teach yourself this new response and that you keep doing it. It will become faster and faster. It is like kick starting an engine that has not been started for a long time. If you follow these 9 steps, we are retracing our mind back. If you become a master in this and it is a habit to transform suffering into bliss, imagine how much confidence you will feel.

We're constantly ensuring that suffering will not come to us. We try to keep it at bay. Do not waste your energy protecting yourself from experiencing difficult emotions. Our need to feel right and analyze and blame keeps us running away from suffering. Once we are a part of the feeling of bliss from following these steps, we will be liberated.
If you see your charges dissolve, your fears and traumas giving way, you will clearly see you are proceeding on a spiritual path. We're always concerned about whether or not we are moving forward. If you can see more and more joy filling your heart, you know you are progressing towards a higher state and better form of living. How beautiful this is. Don't give up! It will seem difficult in the beginning because of the old entrenched mental habits and the mind doesn't want to give up.

We simply need determination in our hearts to do this. As each of us successfully manage to transform suffering into bliss in our lives, we are creating a new program in collective human consciousness and more people will spontaneously notice themselves experiencing emotions. This is our contribution to the Golden Age. Be prepared to put in consistent effort over time. Spend time every day practicing as you come across difficult emotion or adversity. Take this as the opportunity to practice to undo the collective pattern of avoidance.
All analysis and psychological activity is the habit of the mind to run away. If we stay with what is there, we have freedom of the effort to avoid the thoughts. Allow the suffering to freely flow and just keep watching it. I'm sure you will see beautiful results as you practice this sadhana. Practice it. Do it.

Wednesday, September 23, 2009

Avoid Enemy

Example:- "You came across a person whom you trusted the most because of the promises he made. In turn he cheated you and insulted you".
Step-1 :Close your eyes. Invoke the presence of Sri Amma Bhagavan and visualize that they are residing in your heart as well as in other person's heart and then offer a prayer to them to give you the inner strength to accept the truth "as it is".
Step-2 :Open your eyes and preferably on a piece of paper please write down....Recollect the reasons and the situations which made you to trust him. Now assume that each and every reason and situation is a spike.
Step-3:Now recollect your expectations from that person (due to the reasons and situations) and finally the way he destroyed all your hopes. Now take a note that these deviations and consider them to be as spikes.
Step-4:Look at the damage that had happened to you. Identify all the spikes. Now each spike is the component of a negative image that runs in your mind. Now close your eyes and watch the image that is running in your mind very closely. Don't judge anything. Don't curse, don't criticize or condemn. Just see the image as it is. Just see the spikes as they are.
Step-5:This might be a very painful process and you may outburst with tears. What so ever, just allow the pain to land on you? Stay with it and experience it till the end. Do not quit.
Step-6:Identify the incident where you have tolerated injustice in the past. Tolerating injustice also is a crime. So only injustice landed on you in this form.
(Or)You might have done injustice to someone. Then identify that incident and offer a forgiveness prayer.
Step-7:In the external world you help someone who is facing troubles in the life to your maximum extent.By default this negative pattern will be removed from your life and you find people around you helping you and supporting you.
Marapathm Mannipathum Sagayam

எப்படி அம்மா பகவன் அறிமுகம் எனக்கு

எல்லாருக்கும் வணக்கம்
இது என்னுடைய தனிப்பட்ட அபிப்பிராயம் இது யாரையாவது பாதித்தல் தயவு செய்து மன்னிக்கவும் .
எனக்கு அம்மா பாகவானை பற்றி கொஞ்சம் தெரியும் 2004 ஆம் ஆண்டியில் இருந்து. எப்படியா ???
என்னுடைய நண்பன் ஒருவனான கௌஷிகன் சொன்னான் இப்ப எல்லோரும் சொலும்அம்மா பகவான் தான் கல்கி அவதாரம் அப்பொழுது நான் கேட்டேன் கடவுள் தன்னை தானே கடவள் என்று சொல்லுவார ???? அப்பொழுது அவன் சொன்னான் நீ வேணும் என்றால் குருஆக எடுகலாம். அப்பொழுது நான் ஒரு குருவை எதிர் பார்த்திருந்தேன் எதற்காக ???
என்னக்கு சமயத்தில நல்ல நாட்டம் உள்ள்ளது ஆனால் சில முறைகள் சரியாக தெரியாது அம்மாவிட்ட கேட்டா அவங்கள் சொலும் முறை என்னகு மூட நம்பிக்க போல இருக்கும். அப்பாவிக்கு அவ்வளவு நாட்டம்இல்ல . அக்கா மாற்கும் ஓரளவு தான் . எனவே நான் சந்தர்பம் கிடைத்தால் கோவில் பிரசங்கைங்கழுகு போவேன் . Jaffna Campas இல DR.சட்குனராஜா பகவத் கீத வகுப்புக்கு போவன். அப்பொழுது நான் A/L பரிட்சை முடிவுக்காக கார்த்திருந்தன் . எனக்கு நல்ல பிடிக்கும் அந்த வகுப்புக்கு. எல்லா சமய சடங்கு முறைகளையும் Science முறையில சொல்லுவார் . ஆனால் தொடந்து போடமுடியவில ஏனெனில் பரிட்சை முடிவு வெளிவந்தது நான் Colombo இக்கு வந்திட்டன். அதன் பின்பு நான் ஒரு பிரசங்கழுகும் போவது இல்ல . வெள்ளி கிழைமை கோவிலுக்கு போவது மட்டும் தான்.

அதன் பின்பு ஒரு நண்பன் கிடைத்தான் அவன் மூலமாக அம்மா பகவானை பற்றி கொஞ்ச தகவல் கிடைத்தது குறிப்பாக சட்சங்கமத்தை பற்றி . முதல் தடவையாக கார்த்திகை மாதம் 15 ஆம் திகதி போனேன் . என்னகு நல்ல பிடித்திருந்தது மாலதி Anti's உரை . சனிக்கிழமை என்னகு வேலை இல்லை என்னவே நான் ஒவ்வாரு சனிக்கிழமை போக்கினான்.

மேலும் உலக வலை மூலமாக அம்மா பகவனை பற்றி மேலும் தகவல்கழை அறிந்தேன். நான் மனதளவில அம்மா பகவனை நேசிக்கிறேன் உண்மைய சொன்னால் நான் இப்பொழுது அம்மா பகவன் பக்தன். ஒரே ஒரு கவலை அதை அம்மா பகவன் நிவர்த்தி செய்வர் என்று நம்புகிறான் இன்றைக்கு இல்ல என்றைக்கு ஒருநாள் நிவர்த்தி செய்வர் என நம்புகேரன் ...

மேலும் நண்பர்கழே ஒரு நாளைக்கு சட்சங்கமத்திகு செலுங்க உங்களுக்கு பிடித்திருந்தால் தொடருங்கள் .இது மனம் சம்மந்தப்பட்டது எனவே நீங்களே முடிவை எடுங்கள் ...வெள்ளவத்த -- தமிழ் சங்கம் சனிக்கிழமை 3.30
அம்மா பகவன் சரணம்
அம்மா பகவன் சரணம்
அம்மா பகவன் சரணம்

Amma Bhagavan's Songs