<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6529975587560998189</id><updated>2026-08-28T02:36:47.475-07:00</updated><category term="Lion-rabbit story"/><category term="Management Lessons"/><category term="change of attitude"/><category term="life"/><category term="salesforce"/><category term="Apex scheduler"/><category term="Boss"/><category term="Calculate number of week from a date in Apex"/><category term="Formula for calculating week"/><category term="Fox is foxxed."/><category term="Implement whenever you can"/><category term="Invalid field for SObject"/><category term="Know your weakness and guard it"/><category term="Little things in life"/><category term="Map in pageblocktable"/><category term="Map in visualforce"/><category term="Scheduling Apex class"/><category term="System.schedule method"/><category term="These are really very powerful"/><category term="Uploading documents in Salesforce"/><category term="Using Map in VF pages"/><category term="account.contacts"/><category term="action support"/><category term="argument passed cannot be null"/><category term="be positive"/><category term="calculate week number"/><category term="child relationship"/><category term="database.rollback"/><category term="datelink beside input field"/><category term="deserialization"/><category term="document upload"/><category term="document uploading"/><category term="helpText in Visualforce Page"/><category term="helptext for inputText and OutputText fields"/><category term="how to upload documents"/><category term="how to upload documents in salesforce"/><category term="implement schedulable"/><category term="inline help text"/><category term="little"/><category term="necessary points"/><category term="number of week"/><category term="pageblocktable"/><category term="paradigm shift"/><category term="point of view"/><category term="points"/><category term="positive attitude"/><category term="positivity"/><category term="query using datetime field in salesforce"/><category term="remove date link"/><category term="rendered"/><category term="rerender"/><category term="rerender using actionsupport in visualforce page"/><category term="rollback"/><category term="savepoint"/><category term="upload docs"/><category term="upload files into Salesforce"/><category term="viewstate"/><category term="visualforce page"/><category term="visualforce page inputfield for datefield"/><category term="ways of uploading docs"/><category term="weakness"/><category term="weakness can proved stronger than strength"/><title type='text'>Salesforce and Life!!!</title><subtitle type='html'>Salesforce, Cloud Computing, Force.com, salesforce.com, Apex and visualforce tips and tricks. Also some cool rocking fundas for your life, some management lessons, inspirational and motivational stories.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-3459601781618661795</id><published>2011-10-16T02:33:00.000-07:00</published><updated>2011-10-16T02:47:45.497-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="query using datetime field in salesforce"/><title type='text'>How to query using date time field in Salesforce</title><content type='html'>There are many instances where we need to query on base of createddate or any other datetime field to find some specific records for particular day or for that month or for that year etc.&lt;br /&gt;&lt;br /&gt;We cannot directly query with datetime field in where condition.&lt;br /&gt;&lt;br /&gt;So you will need to use Date functions in SOQL to query using datetime field in where condition&lt;br /&gt;&lt;br /&gt;Example: &lt;br /&gt;&lt;pre  style=&quot;font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_TBgd6Op13-eVuACUz1WLP_qa2K1K4kTfYBQKBHNy_VsFyBz5iZhovOtQjRtP0Qpi9uCG6Xh9RGoGMTzaJgAagDLe_fCsCv9Fm1rddN1upKZ-K5Va6nCZfYLr74EcSsQ4RVGOueJn_lsx/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;&quot;&gt;&lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&gt; Opportunity =[SELECT Id, Name FROM Opportunity WHERE DAY_ONLY(CreatedDate)= &#39;2011-10-16&#39;];  &lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Refer other date functions which are available so that you can query easily using datefield in where condition.&lt;br /&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_soql_select_date_functions.htm&quot;&gt; Date functions &lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/3459601781618661795/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/3459601781618661795' title='17 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/3459601781618661795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/3459601781618661795'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2011/10/how-to-query-using-date-time-field-in.html' title='How to query using date time field in Salesforce'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>17</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-7827489214933845704</id><published>2011-09-13T10:24:00.000-07:00</published><updated>2013-10-16T18:49:37.288-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="action support"/><category scheme="http://www.blogger.com/atom/ns#" term="rendered"/><category scheme="http://www.blogger.com/atom/ns#" term="rerender"/><category scheme="http://www.blogger.com/atom/ns#" term="rerender using actionsupport in visualforce page"/><title type='text'>Rerender using Action Support in Visualforce pages</title><content type='html'>There are many instances when it looks simple that a component needs to be displayed only when there is a specific value in a picklist.&lt;br /&gt;
&lt;br /&gt;
We tend to use actionsupport and rerender for such cases where we use actionsupport for some event like onchange or onclick etc and rerender to a specific component.&lt;br /&gt;
&lt;br /&gt;
But many times we find that the rerender is not working properly and we need to struggle around for getting it work.&lt;br /&gt;
&lt;br /&gt;
So it is necessary to understand this when you are using rerender for a component that has rendered attribute&lt;br /&gt;
&lt;br /&gt;
If the component has a rendered attribute then wrap it with outputPanel or pageBlockSection or any other component and rerender to this wrapped component rather than the component that is rendered.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;A simple example :&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
You want to render a field reason lost only when the Opportunity stage is Closed Lost&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_TBgd6Op13-eVuACUz1WLP_qa2K1K4kTfYBQKBHNy_VsFyBz5iZhovOtQjRtP0Qpi9uCG6Xh9RGoGMTzaJgAagDLe_fCsCv9Fm1rddN1upKZ-K5Va6nCZfYLr74EcSsQ4RVGOueJn_lsx/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;apex:page standardController=&quot;Opportunity&quot; sidebar=&quot;false&quot;&amp;gt;  
   &amp;lt;apex:sectionHeader title=&quot;Edit Opportunity&quot; subtitle=&quot;{!opportunity.name}&quot;/&amp;gt;  
   &amp;lt;apex:form &amp;gt;  
     &amp;lt;apex:pageBlock title=&quot;Edit Opportunity&quot; mode=&quot;edit&quot;&amp;gt;  
       &amp;lt;apex:pageMessages /&amp;gt;  
       &amp;lt;apex:pageBlockButtons &amp;gt;  
         &amp;lt;apex:commandButton value=&quot;Save&quot; action=&quot;{!save}&quot;/&amp;gt;  
         &amp;lt;apex:commandButton value=&quot;Cancel&quot; action=&quot;{!cancel}&quot;/&amp;gt;          
       &amp;lt;/apex:pageBlockButtons&amp;gt;  
       &amp;lt;apex:actionRegion &amp;gt;  
         &amp;lt;apex:pageBlockSection title=&quot;Basic Information&quot; columns=&quot;1&quot;&amp;gt;  
           &amp;lt;apex:inputField value=&quot;{!opportunity.name}&quot;/&amp;gt;  
           &amp;lt;apex:pageBlockSectionItem &amp;gt;  
             &amp;lt;apex:outputLabel value=&quot;Stage&quot;/&amp;gt;  
             &amp;lt;apex:outputPanel &amp;gt;  
               &amp;lt;apex:inputField value=&quot;{!opportunity.stageName}&quot;&amp;gt;  
                 &amp;lt;apex:actionSupport event=&quot;onchange&quot; rerender=&quot;thePanel&quot;  
                           status=&quot;status&quot;/&amp;gt;  
               &amp;lt;/apex:inputField&amp;gt;  
               &amp;lt;apex:actionStatus startText=&quot;applying value...&quot; id=&quot;status&quot;/&amp;gt;  
             &amp;lt;/apex:outputPanel&amp;gt;  
           &amp;lt;/apex:pageBlockSectionItem&amp;gt;  
           &amp;lt;apex:inputField value=&quot;{!opportunity.amount}&quot;/&amp;gt;  
           &amp;lt;apex:inputField value=&quot;{!opportunity.closedate}&quot;/&amp;gt;  
         &amp;lt;/apex:pageBlockSection&amp;gt;  
       &amp;lt;/apex:actionRegion&amp;gt;  
       &amp;lt;apex:outputPanel id=”thePanel”&amp;gt;        
          &amp;lt;apex:pageBlockSection title=&quot;Closed Lost Information&quot; columns=&quot;1&quot;  
                   rendered=&quot;{!opportunity.stageName == &#39;Closed Lost&#39;}&quot;&amp;gt;  
         &amp;lt;apex:inputField value=&quot;{!opportunity.Reason_Lost__c}&quot;/&amp;gt;  
       &amp;lt;/apex:pageBlockSection&amp;gt;  
      &amp;lt;/apex:outputPanel&amp;gt;  
     &amp;lt;/apex:pageBlock&amp;gt;  
   &amp;lt;/apex:form&amp;gt;  
 &amp;lt;/apex:page&amp;gt;  &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
refer this link from community &lt;a href=&quot;http://boards.developerforce.com/t5/Visualforce-Development/actionSupport-rerender-problem/m-p/150628/highlight/true#M17485&quot;&gt; actionSupport rerender problem &lt;/a&gt; for details.&lt;br /&gt;
&lt;br /&gt;
Hope this will help you if you are struggling with action support rerender issues.&lt;br /&gt;
&lt;br /&gt;
Also many times due to Output Panel, fields will be distorted:&lt;br /&gt;
Try using outputPanel inside pageBlockSection.&lt;br /&gt;
Ex:&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_TBgd6Op13-eVuACUz1WLP_qa2K1K4kTfYBQKBHNy_VsFyBz5iZhovOtQjRtP0Qpi9uCG6Xh9RGoGMTzaJgAagDLe_fCsCv9Fm1rddN1upKZ-K5Va6nCZfYLr74EcSsQ4RVGOueJn_lsx/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;apex:pageBlockSectionItem &amp;gt;  
 &amp;lt;apex:outputpanel id=&quot;panel 1&quot;&amp;gt;  
 &amp;lt;apex:outputLabel value=&quot;LabelName&quot; rendered=&quot;{!oppty.field== &#39;Other&#39;}&quot;/&amp;gt;  
  &amp;lt;/apex:outputpanel&amp;gt;  
  &amp;lt;apex:outputpanel id=&quot;panel 2&quot;&amp;gt;  
 &amp;lt;apex:inputfield value=&quot;{!field}&quot; rendered=&quot;{!oppty.field == &#39;Other&#39;}&quot; /&amp;gt;  
 &amp;lt;/apex:outputpanel&amp;gt;  
 &amp;lt;/apex:pageBlockSectionItem&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/7827489214933845704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/7827489214933845704' title='93 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/7827489214933845704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/7827489214933845704'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2011/09/rerender-using-action-support-in.html' title='Rerender using Action Support in Visualforce pages'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>93</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-9066544610574248895</id><published>2011-06-03T23:03:00.000-07:00</published><updated>2011-06-03T23:06:00.091-07:00</updated><title type='text'>Excellence is an inner force</title><content type='html'>A man once visited a temple under construction where he saw a sculptor making an idol of God. Suddenly he noticed a similar idol lying nearby. Surprised, he asked the sculptor, &quot;Do you need two statues of the same idol?&quot; &quot;No,&quot; said the sculptor without looking up, &quot;We need only one, but the first one got damaged at the last stage.&quot; The gentleman examined the idol and found no apparent damage. &quot;Where is the damage?&quot; he asked. &quot;There is a scratch on the nose of the idol.&quot; said the sculptor, still busy with his work. &quot;Where are you going to install the idol?&quot;&lt;br /&gt; &lt;br /&gt;The sculptor replied that it would be installed on a pillar twenty feet high. &quot;If the idol is that far, who is going to know that there is a scratch on the nose?&quot; the gentleman asked. The sculptor stopped his work, looked up at the gentleman, smiled and said, &quot;I will know it.&quot;&lt;br /&gt;The desire to excel is exclusive of the fact whether someone else appreciates it or not.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;&quot;Excellence&quot; is a drive from inside, not outside. Excellence is not for someone else to notice but for your own satisfaction and efficiency.!!&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/9066544610574248895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/9066544610574248895' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/9066544610574248895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/9066544610574248895'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2011/06/excellence-is-inner-force.html' title='Excellence is an inner force'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-4994348136839000778</id><published>2011-05-30T09:53:00.000-07:00</published><updated>2011-09-13T11:07:28.428-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="document upload"/><category scheme="http://www.blogger.com/atom/ns#" term="document uploading"/><category scheme="http://www.blogger.com/atom/ns#" term="how to upload documents"/><category scheme="http://www.blogger.com/atom/ns#" term="how to upload documents in salesforce"/><category scheme="http://www.blogger.com/atom/ns#" term="upload docs"/><category scheme="http://www.blogger.com/atom/ns#" term="upload files into Salesforce"/><category scheme="http://www.blogger.com/atom/ns#" term="Uploading documents in Salesforce"/><category scheme="http://www.blogger.com/atom/ns#" term="ways of uploading docs"/><title type='text'>Uploading documents in Salesforce</title><content type='html'>Uploading documents in Salesforce&lt;br /&gt;&lt;br /&gt; Following are the ways to upload the documents in Salesforce:&lt;br /&gt;&lt;br /&gt;1) Documents tab : Uses document object&lt;br /&gt; This is generally used to store Web resources, such as, logos, files, some kind of  templates and other Visualforce materials in folders. Also note that you cannot  associate the documents with any record.&lt;br /&gt;&lt;br /&gt; Maximum file size: &lt;br /&gt; 5 MB&lt;br /&gt; 20 KB for a custom-app logo&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2) Notes and Attachments : Uses Attachment object&lt;br /&gt; Attach files to records from the Attachments related list on selected detail pages.  You can add a file to a specific record, like an event, contact, or case or any  custom object by attaching it on the Attachments related list. You can also insert  the file into Attachment object using API. On the visualforce page you need to  use &lt;apex: inputFile&gt; tag and using Attachment Object in class and you can  associate it with record by using Parent Id field of Attachment object. The  attachment inserted will be visible in Notes and Attachment related list of that  record.&lt;br /&gt;&lt;br /&gt; Maximum file size&lt;br /&gt; 5 MB for file attachments&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3) Google Docs &lt;br /&gt; Salesforce and Google Apps allow you to integrate Google Docs with Salesforce. &lt;br /&gt; Firstly create a Google Apps account for your organization.  It can be done by  going to setup| Google Apps| Settings. &lt;br /&gt; After following those steps activate add Google docs to Salesforce. It just requires  simple activation from Salesforce Admin.&lt;br /&gt;&lt;br /&gt; You can associate Google docs with Salesforce records even when you are not  working in Salesforce by using the Add Google Doc to Salesforce browser button  just by click of a button.&lt;br /&gt; Add Google docs to Salesforce CRM Content, allows you to manage all types of  content in a centralized location.&lt;br /&gt;&lt;br /&gt; The docs can be associated with the record. This can be done by going to the  record, adding the doc by using Google docs and attachment related list.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; Google docs can be also published to Salesforce CRM Content library. When you  save or publish you get the dialog box of Salesforce CRM content. Select the  library and you can share the doc with members of that library or you can keep it  private and store in your personal library.&lt;br /&gt;&lt;br /&gt; Maximum file size:&lt;br /&gt; 10MB.&lt;br /&gt; To use a Google Apps service in Salesforce, you must be logged in to your  Google Apps business account. Business accounts use your organization&#39;s domain.  So a User (Google Apps Administrative Contact) will be present who will act as  admin and have to register username and password. This becomes tedious to have  user name password registered for all users and maintain them.&lt;br /&gt;&lt;br /&gt;4) Salesforce Workspaces: Uses Content Version and Content document object.&lt;br /&gt; Create, clone, or modify docs and save it so only you can see it and work on it.  When you&#39;re ready with final copy, publish it so other users in company have  access to it. You can create content delivery and send the link to customers so  they can access the document.&lt;br /&gt;&lt;br /&gt; Documents are stored in content document object and associated with  Workspaces using Content Workspace. Content Workspace Doc is the junction  object which stores Content Document ID and Content Workspace ID.&lt;br /&gt; You can go to workspace and publish document there. You can use API as well  for same. Use Create Version Object and create a document and insert it. The  document will be created as Content Document. It can be associated with records  and will be visible in Content documents related list. You can delete the document  by deleting content document created using content document object. &lt;br /&gt;&lt;br /&gt; Maximum file size:&lt;br /&gt; 50MB&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;5) MyFiles in chatter &lt;br /&gt; Allows you to easily upload, store, find with Salesforce Global Search, and follow  files you own or have access to from Salesforce Content or Chatter. The Files tab  supports all file types up to 100MB each. You can share files here with Chatter or  by creating groups. You also have a private section so no other users in the  Salesforce CRM system can see them. The Files tab requires no admin setup and  is ready to use when Chatter is enabled. Since this integrates with Chatter and  Content, think of this as a central repository where all files from those two can be  accessed if you have the proper permissions.&lt;br /&gt; You can store the document in myFiles using API as well. You need to store the  content as content document in personal workspace and provide ‘origin’ field in  content version object as ‘H’. (origin is a picklist field in content version object  and has two values ‘C’ and ‘H’. C denotes the file is in users personal workspace  and ‘H’ denotes Chatter files from User’s myFiles.). This will insert the document  in myFiles.&lt;br /&gt; You can also share the file later on with any record by posting the file into content  of the record by using contentPost.&lt;br /&gt;&lt;br /&gt; Maximum file size:&lt;br /&gt; 100MB&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: Limitation for storing the documents becomes 10MB for Salesforce Workspace and myFiles if you use visualforce page for uploading the document. This is due to the limitation on the visualforce page side.</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/4994348136839000778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/4994348136839000778' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/4994348136839000778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/4994348136839000778'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2011/05/uploading-documents-in-salesforce.html' title='Uploading documents in Salesforce'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-1738532656661867838</id><published>2011-05-16T09:49:00.000-07:00</published><updated>2011-05-16T09:59:11.927-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Map in pageblocktable"/><category scheme="http://www.blogger.com/atom/ns#" term="Map in visualforce"/><category scheme="http://www.blogger.com/atom/ns#" term="Using Map in VF pages"/><title type='text'>Using Map in Pageblock table in Visualforce pages</title><content type='html'>I was not aware that we can use Map in pageblock table in Visualforce pages. &lt;br /&gt;Whenever I had came across something which had duplicate results then I used to prepare Map and then extract List as values from Map and return that List to Page Block Table.&lt;br /&gt;&lt;br /&gt;Now after I came across this post then i came to know that Map can be used in Visualforce pages. &lt;br /&gt;Just prepare the Map and return the Map. Use the Map in following ways in Page Block Table in VF page.&lt;br /&gt;&lt;br /&gt;&lt;pre  style=&quot;font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_TBgd6Op13-eVuACUz1WLP_qa2K1K4kTfYBQKBHNy_VsFyBz5iZhovOtQjRtP0Qpi9uCG6Xh9RGoGMTzaJgAagDLe_fCsCv9Fm1rddN1upKZ-K5Va6nCZfYLr74EcSsQ4RVGOueJn_lsx/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;&quot;&gt;&lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&gt; &amp;lt;apex:pageBlockTable value=&quot;{!data}&quot; var=&quot;d&quot;&amp;gt;  &lt;br /&gt;    &amp;lt;apex:column headerValue=&quot;Key Values&quot;&amp;gt;  &lt;br /&gt;      {!d}  &lt;br /&gt;    &amp;lt;/apex:column&amp;gt;  &lt;br /&gt;    &amp;lt;apex:column headerValue=&quot;Values&quot;&amp;gt;  &lt;br /&gt;      {!data[d]}  &lt;br /&gt;    &amp;lt;/apex:column&amp;gt;  &lt;br /&gt; &amp;lt;/apex:pageBlockTable&amp;gt;  &lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;refer original post at following &lt;a href=&quot;http://techsahre.blogspot.com/2011/03/using-map-in-your-vf-pages.html&quot;&gt;link&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/1738532656661867838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/1738532656661867838' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/1738532656661867838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/1738532656661867838'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2011/05/using-map-in-pageblock-table-in.html' title='Using Map in Pageblock table in Visualforce pages'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-3494097052043495146</id><published>2011-04-04T01:06:00.000-07:00</published><updated>2011-04-04T01:30:11.632-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Calculate number of week from a date in Apex"/><category scheme="http://www.blogger.com/atom/ns#" term="calculate week number"/><category scheme="http://www.blogger.com/atom/ns#" term="Formula for calculating week"/><category scheme="http://www.blogger.com/atom/ns#" term="number of week"/><title type='text'>Calculate number of week from a date in Apex</title><content type='html'>I had to calculate number of week of the year based on a date field so i came across this and thought of sharing it&lt;br /&gt;&lt;br /&gt;I saw this &lt;a href=&quot;http://boards.developerforce.com/t5/Formulas-Validation-Rules/Need-help-writing-formula-to-display-Week-number-based-on-Date/m-p/124099&quot;&gt;Salesforce community forum &lt;/a&gt; and got idea from there. The solution is for formula field. &lt;br /&gt;I have used that in Apex using &lt;a href=&quot;http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_math.htm&quot;&gt;math methods &lt;/a&gt;and &lt;a href=&quot;http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_date.htm&quot;&gt;date methods&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Formula: MOD(FLOOR( (Date__c -DATEVALUE(&quot;2006-01-01&quot; ))/7),52)+1&lt;br /&gt;&lt;br /&gt;I had to calculate number of week from the start date of year.&lt;br /&gt;For the substraction part we cannot directly substract two dates so need to prepare instance of two dates and use daysbetween to find the difference.&lt;br /&gt;&lt;br /&gt;Date todaydate = date.today();&lt;br /&gt;Date todaydateinstance = date.newinstance(todaydate.year(), todaydate.month(), todaydate.day());&lt;br /&gt;&lt;br /&gt;Integer currentyear = todaydate.year();&lt;br /&gt;&lt;br /&gt;Date startDate = date.newinstance(currentyear, 01, 01);&lt;br /&gt;&lt;br /&gt;integer numberDaysDue = startDate.daysBetween(todaydateinstance);&lt;br /&gt;&lt;br /&gt;so by using this formula we can calulate in Apex&lt;br /&gt;&lt;br /&gt;Integer numberOfWeek = math.MOD(math.FLOOR( ( numberDaysDue )/7),52)+1;</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/3494097052043495146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/3494097052043495146' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/3494097052043495146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/3494097052043495146'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2011/04/calculate-number-of-week-from-date-in.html' title='Calculate number of week from a date in Apex'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-9089949699274064057</id><published>2011-03-26T11:03:00.000-07:00</published><updated>2011-03-26T11:12:48.324-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="helptext for inputText and OutputText fields"/><category scheme="http://www.blogger.com/atom/ns#" term="helpText in Visualforce Page"/><category scheme="http://www.blogger.com/atom/ns#" term="inline help text"/><title type='text'>How to show help text on Visualforce Page?</title><content type='html'>Just came across this so thought of sharing it&lt;br /&gt;&lt;br /&gt;When we use &lt;apex:inputField/&gt; or &lt;apex:outputField/&gt; tag in visualforce page then the help text comes automatically but when you are using &lt;apex:inputText/&gt; or &lt;apex:outputText/&gt; then use the following to get the help text :&lt;br /&gt;&lt;br /&gt;&lt;pre  style=&quot;font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_TBgd6Op13-eVuACUz1WLP_qa2K1K4kTfYBQKBHNy_VsFyBz5iZhovOtQjRtP0Qpi9uCG6Xh9RGoGMTzaJgAagDLe_fCsCv9Fm1rddN1upKZ-K5Va6nCZfYLr74EcSsQ4RVGOueJn_lsx/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;&quot;&gt;&lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&gt; &amp;lt;apex:pageBlock&amp;gt;  &lt;br /&gt; &amp;lt;apex:pageBlockSection&amp;gt;  &lt;br /&gt; &amp;lt;apex:pageBlockSectionItem helpText=&quot;{!$ObjectType.objectName__c.Fields.fieldName__C.inlineHelpText}&quot; &amp;gt;  &lt;br /&gt; &amp;lt;apex:outputLabel&amp;gt; FieldName &amp;lt;/apex:outputLabel&amp;gt;  &lt;br /&gt; &amp;lt;apex:inputText&amp;gt; FieldName__c &amp;lt;/apex:inputText&amp;gt;  &lt;br /&gt; &amp;lt;/apex:pageBlockSectionItem&amp;gt;  &lt;br /&gt; &amp;lt;/apex:pageBlockSection&amp;gt;  &lt;br /&gt; &amp;lt;/apex:pageBlock&amp;gt;  &lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/9089949699274064057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/9089949699274064057' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/9089949699274064057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/9089949699274064057'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2011/03/how-to-show-help-text-on-visualforce.html' title='How to show help text on Visualforce Page?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-9213160391319108467</id><published>2011-02-02T08:00:00.000-08:00</published><updated>2011-02-02T08:01:28.413-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="be positive"/><category scheme="http://www.blogger.com/atom/ns#" term="change of attitude"/><title type='text'>Attitude!!!!</title><content type='html'>1) Heavy rains remind us of challenges in life. Never ask for a lighter rain. Just pray for a better umbrella. That is attitude.&lt;br /&gt; &lt;br /&gt;2) When flood comes, fish eat ants &amp; when flood recedes, ants eat fish. Only time matters. &lt;span style=&quot;font-weight:bold;&quot;&gt;Just hold on, God gives opportunity to everyone!&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;3) Life is not about finding the right person, but creating the right relationship, it&#39;s not how we care in the beginning, but how much we care till ending.&lt;br /&gt; &lt;br /&gt;4) Some people always throw stones in your path. It depends on you what you make with them, Wall or Bridge?&lt;br /&gt;Remember you are the architect of your life.&lt;br /&gt; &lt;br /&gt;5) Every problem has (n+1) solutions, where n is the number of solutions that you have tried and 1 is that you have not tried. That’s life.&lt;br /&gt; &lt;br /&gt;6) It’s not important to hold all the good cards in life. But it’s important how well you play with the cards which you hold.&lt;br /&gt; &lt;br /&gt;7) Often when we lose all hope &amp; think this is the end, God smiles from above and says, `relax dear its just a bend. Not the end. Have Faith and have a successful life.&lt;br /&gt; &lt;br /&gt;8) When you feel sad, to cheer up just go to the mirror and say, `Damn I am really so cute` and you will overcome your sadness. But don’t make this a habit coz liars go to hell.&lt;br /&gt; &lt;br /&gt;9) One of the basic differences between God and human is, God gives, gives and forgives. But human gets, gets, gets and forgets. Be thankful in life!&lt;br /&gt; &lt;br /&gt;10) Only two types of persons are happy in this world. 1st is Mad and 2nd is Child. Be Mad to achieve what you desire and be a Child to enjoy what you have achieved! cheers.............!!!</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/9213160391319108467/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/9213160391319108467' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/9213160391319108467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/9213160391319108467'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2011/02/attitude.html' title='Attitude!!!!'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-7512825297468367003</id><published>2011-01-23T05:09:00.000-08:00</published><updated>2011-01-23T05:22:02.354-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Know your weakness and guard it"/><category scheme="http://www.blogger.com/atom/ns#" term="weakness"/><category scheme="http://www.blogger.com/atom/ns#" term="weakness can proved stronger than strength"/><title type='text'>Why it is necessary to know your weakness and guard it</title><content type='html'>No matter what our many strengths, just one weakness can prove more powerful than all of them!&lt;br /&gt; &lt;br /&gt;A person’s single weakness is stronger than all his strengths! so true! Think about it. Just as a chain is only as strong as its weakest link, our strength is defined by our vulnerabilities, not our strong points. Not all the preparation in the world or intelligence can help you with any exam if you have an indecipherable handwriting that the examiner cannot figure out! Here your handwriting rather than your intelligence and hard work decide your future.&lt;br /&gt; &lt;br /&gt;Similarly, you may have worked out a superb project with deep research and smart inputs, but if your timelines are not worked out and you cross the deadline, it is those couple of hours of delay that become the decisive factor! Similarly, you may be a great worker and a superb professional, but your loose tongue at an inappropriate moment may put paid to the rest of your capabilities! You will always find plenty of people around you not just willing, but eager to exploit your negative potential as displayed through that one weak link, that one vulnerability!&lt;br /&gt; &lt;br /&gt;There is a category of people who get info after putting you at ease and assuring you they are totally with you. Most of us have in office a pseudo sympathizer who always emerges soon as he smells your moment of insecurity or misery. He always knows, for he is on the lookout. And sure enough, there he appears with oodles of sympathy and a smile, pumping you subtly for information. He gives subtle hints and encourages you to speak up. In a moment of weakness, you are most prone to let go and spill it all out. Satisfied, he runs back where he came from and uses the information to his own advantage before you realise! It is only later you realise he got you to bare all but never ever shared any of his or her own troubles! Your one weak moment could have done you a lifetime of harm!&lt;br /&gt; &lt;br /&gt;Consider the power of weakness! Even the power of a relationship it is rightly said, lies with the one who cares less…never with the one who cares more and so has more at stake! So the weaker your love, the more powerful you are to mould or manoeuvre the relationship and your partner as and how you wish to! And yet, what a miserable power when the partner’s weakest link, his/her strong love for you, would be the biggest weapon you would use against them!&lt;br /&gt; &lt;br /&gt;It is indeed our moments of weakness and weak points that we need to guard. It’s when you are most comfortable that you should be most guarded too. We are born with strengths that we can at best hone and understand, but an equally important task is to understand our weaknesses and work hard upon those. For these, our greatest weaknesses, if guarded and worked upon, have the potential of becoming our greatest strengths! &lt;span style=&quot;font-weight:bold;&quot;&gt;Remember, the great Achilles was only as strong as his weak heel! Had that not been known, who could have killed him?&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/7512825297468367003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/7512825297468367003' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/7512825297468367003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/7512825297468367003'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2011/01/why-it-is-necessary-to-know-your.html' title='Why it is necessary to know your weakness and guard it'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-5405358060400500581</id><published>2011-01-13T08:49:00.000-08:00</published><updated>2011-01-13T09:06:40.935-08:00</updated><title type='text'>Salesforce Spring 11 Release</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAT5pKm7JaEQlRDBLsPhUqzhsnxLJ80NM8hIpnNyDpnOlgPH6A1aHQwnAFuPKprd2d2_iOnb30lWM0ywTT4zUDMTJXSGegewhbu1pGKzX2sBYPS7aU6a1zVg99CqRyhsB9bXzga9yXf3g/s1600/Salesforce+Spring+11+Release.gif&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 88px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAT5pKm7JaEQlRDBLsPhUqzhsnxLJ80NM8hIpnNyDpnOlgPH6A1aHQwnAFuPKprd2d2_iOnb30lWM0ywTT4zUDMTJXSGegewhbu1pGKzX2sBYPS7aU6a1zVg99CqRyhsB9bXzga9yXf3g/s320/Salesforce+Spring+11+Release.gif&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5561717895663074482&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Check out the features of Spring 11 &lt;a href=&quot;http://developer.force.com/releases/release/Spring11&quot;&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;one of the most exciting feature is Revised Apex Governor limit. I am looking forward to it.&lt;br /&gt;Some of the features going to be are:&lt;br /&gt;&lt;br /&gt;Automated Process for chatter posts using Chatter triggers&lt;br /&gt;&lt;br /&gt;Private chatter File sharing&lt;br /&gt;&lt;br /&gt;Customizable error messages&lt;br /&gt;&lt;br /&gt;Closer look at code&#39;s performance - System Log console execution summary&lt;br /&gt;&lt;br /&gt;Revised Apex governor Limits&lt;br /&gt;&lt;br /&gt;Visual workflows&lt;br /&gt;&lt;br /&gt;Criteria based sharing - Data dependent sharing using clicks&lt;br /&gt;&lt;br /&gt;Visual force page inline editing and Dynamic binding&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I am very excited about Revised Apex Governor Limits:&lt;br /&gt;2 important increase in limits are:&lt;br /&gt;150 DML updates for a process&lt;br /&gt;50000 records can be retrieved instead of 10000 records using SOQL query&lt;br /&gt;&lt;br /&gt;Also Criteria based sharing is a feature I am looking forward to.&lt;br /&gt;&lt;br /&gt;To refer to the release notes click on &lt;a href=&quot;https://na1.salesforce.com/help/doc/en/salesforce_spring11_release_notes.pdf&quot;&gt;Release Notes Spring 11 &lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/5405358060400500581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/5405358060400500581' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/5405358060400500581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/5405358060400500581'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2011/01/salesforce-spring-11-release.html' title='Salesforce Spring 11 Release'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAT5pKm7JaEQlRDBLsPhUqzhsnxLJ80NM8hIpnNyDpnOlgPH6A1aHQwnAFuPKprd2d2_iOnb30lWM0ywTT4zUDMTJXSGegewhbu1pGKzX2sBYPS7aU6a1zVg99CqRyhsB9bXzga9yXf3g/s72-c/Salesforce+Spring+11+Release.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-6360743004146690654</id><published>2011-01-06T09:21:00.000-08:00</published><updated>2011-01-06T09:32:10.779-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="datelink beside input field"/><category scheme="http://www.blogger.com/atom/ns#" term="remove date link"/><category scheme="http://www.blogger.com/atom/ns#" term="visualforce page inputfield for datefield"/><title type='text'>Remove the date link (beside input field)</title><content type='html'>When you use input field for date field then along with the input date picker box it also provides a link of today&#39;s date on the right side of input field.&lt;br /&gt;This occupies the space and at times does not look good on your beautifully designed visualforce page.&lt;br /&gt;&lt;br /&gt;We can remove that date link. I saw a post on cookbook about that and thought of sharing it.&lt;br /&gt;They have used a component which removes the link using css.&lt;br /&gt;Here&#39;s the link for that and its clearly explained in it:&lt;br /&gt;&lt;a href=&quot;http://developer.force.com/cookbook/recipe/hide-the-current-date-link-on-an-inputfield&quot; target=&quot;_blank&quot;&gt; Hide the Current Date Link on an Inputfield &lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/6360743004146690654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/6360743004146690654' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/6360743004146690654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/6360743004146690654'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2011/01/remove-date-link-beside-input-field.html' title='Remove the date link (beside input field)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-5842584583015140827</id><published>2011-01-01T09:44:00.000-08:00</published><updated>2011-01-02T03:24:41.966-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apex scheduler"/><category scheme="http://www.blogger.com/atom/ns#" term="implement schedulable"/><category scheme="http://www.blogger.com/atom/ns#" term="Scheduling Apex class"/><category scheme="http://www.blogger.com/atom/ns#" term="System.schedule method"/><title type='text'>Scheduling Apex Class using System.schedule method</title><content type='html'>To schedule an Apex class, implements the Salesforce.com-provided interface Schedulable in your Apex class&lt;br /&gt;&lt;br /&gt;example&lt;br /&gt;&lt;pre  style=&quot;font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_TBgd6Op13-eVuACUz1WLP_qa2K1K4kTfYBQKBHNy_VsFyBz5iZhovOtQjRtP0Qpi9uCG6Xh9RGoGMTzaJgAagDLe_fCsCv9Fm1rddN1upKZ-K5Va6nCZfYLr74EcSsQ4RVGOueJn_lsx/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;&quot;&gt;&lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&gt; global class newScheduledClass implements Schedulable  &lt;br /&gt; {  &lt;br /&gt;   &lt;br /&gt; }  &lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;now use the following system.schedule method for above class&lt;br /&gt;open system log (click Your Name | Setup) and execute the below mentioned method so it will get scheduled.&lt;br /&gt;&lt;br /&gt;&lt;pre  style=&quot;font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_TBgd6Op13-eVuACUz1WLP_qa2K1K4kTfYBQKBHNy_VsFyBz5iZhovOtQjRtP0Qpi9uCG6Xh9RGoGMTzaJgAagDLe_fCsCv9Fm1rddN1upKZ-K5Va6nCZfYLr74EcSsQ4RVGOueJn_lsx/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;&quot;&gt;&lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&gt; newScheduledClass m = new newScheduledClass();  &lt;br /&gt; String s = &#39;1 30 1 10 2 ?&#39;;  &lt;br /&gt; system.schedule(&#39;Job Name&#39;, s, m);  &lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;here string s is in following pattern:&lt;br /&gt;seconds, minutes, hours, dayofMonth, month, dayofWeek, year(optional)&lt;br /&gt;&lt;style type=&quot;text/css&quot;&gt;.nobr br{display:none}&lt;/style&gt;&lt;br /&gt;&lt;div class=&quot;nobr&quot;&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;caption&gt;Values for expression:&lt;/caption&gt;&lt;br /&gt;&lt;tr align=&quot;center&quot;&gt;&lt;br /&gt;  &lt;td&gt;Name&lt;/td&gt;&lt;br /&gt;  &lt;td&gt;Values&lt;/td&gt;&lt;br /&gt;  &lt;td&gt;Special Characters&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr align=&quot;center&quot;&gt;&lt;br /&gt;  &lt;td&gt;Seconds&lt;/td&gt;&lt;br /&gt;  &lt;td&gt;0–59&lt;/td&gt;&lt;br /&gt;  &lt;td&gt;None&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr align=&quot;center&quot;&gt;&lt;br /&gt;  &lt;td&gt;Minutes&lt;/td&gt;&lt;br /&gt;  &lt;td&gt;0–59&lt;/td&gt;&lt;br /&gt;  &lt;td&gt;None&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr align=&quot;center&quot;&gt;&lt;br /&gt;  &lt;td&gt;Hours&lt;/td&gt;&lt;br /&gt;  &lt;td&gt; 0–23&lt;/td&gt;&lt;br /&gt;  &lt;td&gt;, - * /&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr align=&quot;center&quot;&gt;&lt;br /&gt;  &lt;td&gt;Day_of_month&lt;/td&gt;&lt;br /&gt;  &lt;td&gt; 1–31&lt;/td&gt;&lt;br /&gt;  &lt;td&gt;, - * ? / L W&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr align=&quot;center&quot;&gt;&lt;br /&gt;  &lt;td&gt;Month&lt;/td&gt;&lt;br /&gt;  &lt;td&gt; 1–12 &lt;/td&gt;&lt;br /&gt;  &lt;td&gt;, - * /&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr align=&quot;center&quot;&gt;&lt;br /&gt;  &lt;td&gt;Day_of_week&lt;/td&gt;&lt;br /&gt;  &lt;td&gt; 1–7&lt;/td&gt;&lt;br /&gt;  &lt;td&gt;, - * ? / L #&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr align=&quot;center&quot;&gt;&lt;br /&gt;  &lt;td&gt;optional_year&lt;/td&gt;&lt;br /&gt;  &lt;td&gt; null or 1970–2099 &lt;/td&gt;&lt;br /&gt;  &lt;td&gt;, - * /&lt;/td&gt;&lt;br /&gt;&lt;/tr align=&quot;center&quot;&gt; &lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The special characters are defined as follows:&lt;br /&gt;Special Character Description&lt;br /&gt;, Delimits values. For example, use JAN, MAR, APR to specify more than one month.&lt;br /&gt;&lt;br /&gt;- Specifies a range. For example, use JAN-MAR to specify more than one month.&lt;br /&gt;&lt;br /&gt;* Specifies all values. For example, if Month is specified as *, the job is scheduled for every month.&lt;br /&gt;&lt;br /&gt;? Specifies no specific value. This is only available for Day_of_month and Day_of_week, and is generally used when specifying a value for one and not the other.&lt;br /&gt;&lt;br /&gt;/ Specifies increments. The number before the slash specifies when the intervals should begin, and the number after the slash is the interval amount. For example, if you specify 1/5 for Day_of_month, the Apex class runs every fifth day of the month, starting on the first of the month.&lt;br /&gt;&lt;br /&gt;L Specifies the end of a range (last). This is only available for Day_of_month and Day_of_week. When used with Day of month, L always means the last day of the month, such as January 31, February 28 for leap years, and so on. When used with Day_of_week by itself, it always means 7 or SAT. When used with a Day_of_week value, it means the last of that type of day in the month. For example, if you specify 2L, you are specifying the last Monday of the month. Do not use a range of values with L as the results may be unexpected.&lt;br /&gt;&lt;br /&gt;W Specifies the nearest weekday (Monday-Friday) of the given day. This is only available for Day_of_month. For example, if you specify 20W, and the 20th is a Saturday, the class runs on the 19th. If you specify 1W, and the first is a Saturday, the class does not run in the previous month, but on the third, which is the following Monday. Tip: Use the L and W together to specify the last weekday of the month.&lt;br /&gt;&lt;br /&gt;# Specifies the nth day of the month, in the format weekday#day_of_month. This is only available for Day_of_week. The number before the # specifies weekday (SUN-SAT). The number after the # specifies the day of the month. For example, specifying 2#2 means the class runs on the second Monday of every month.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;you can monitor the scheduled Apex job by going to &lt;br /&gt;click Your Name | Setup | Monitoring | Scheduled Jobs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;for more info:&lt;br /&gt;&lt;a href=&quot;http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#StartTopic=Content%2Fapex_scheduler.htm|SkinName=webhelp&quot; target=&quot;_blank&quot;&gt; Salesforce link &lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/5842584583015140827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/5842584583015140827' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/5842584583015140827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/5842584583015140827'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2011/01/scheduling-apex-class-using.html' title='Scheduling Apex Class using System.schedule method'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-5574272697207669146</id><published>2010-12-30T03:51:00.000-08:00</published><updated>2010-12-30T03:54:40.689-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="account.contacts"/><category scheme="http://www.blogger.com/atom/ns#" term="child relationship"/><category scheme="http://www.blogger.com/atom/ns#" term="Invalid field for SObject"/><category scheme="http://www.blogger.com/atom/ns#" term="pageblocktable"/><category scheme="http://www.blogger.com/atom/ns#" term="salesforce"/><category scheme="http://www.blogger.com/atom/ns#" term="visualforce page"/><title type='text'>Error: Invalid field for SObject when building a table in a Visualforce page</title><content type='html'>Error: Invalid field for SObject when building a table in a Visualforce page&lt;br /&gt;&lt;br /&gt;This is a small error but for a newbie it can take lot of time in undertanding it and solving it so just thought to share it.&lt;br /&gt;&lt;br /&gt;There is a tutorial in VF guide which works very fine.&lt;br /&gt;It uses standard objects Accounts and Contacts&lt;br /&gt;&lt;br /&gt;&lt;pre style=&quot;font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%&quot;&gt;&lt;code&gt;&amp;lt;apex:page standardController=&amp;quot;Account&amp;quot;&amp;gt;&lt;br /&gt;   &amp;lt;apex:pageBlock title=&amp;quot;Hello {!$User.FirstName}!&amp;quot;&amp;gt;&lt;br /&gt;      You are viewing the {!account.name} account.&lt;br /&gt;   &amp;lt;/apex:pageBlock&amp;gt;&lt;br /&gt;   &amp;lt;apex:pageBlock title=&amp;quot;Contacts&amp;quot;&amp;gt;&lt;br /&gt;      &amp;lt;apex:pageBlockTable value=&amp;quot;{!account.Contacts}&amp;quot; var=&amp;quot;contact&amp;quot;&amp;gt;&lt;br /&gt;         &amp;lt;apex:column value=&amp;quot;{!contact.Name}&amp;quot;/&amp;gt;&lt;br /&gt;         &amp;lt;apex:column value=&amp;quot;{!contact.MailingCity}&amp;quot;/&amp;gt;&lt;br /&gt;         &amp;lt;apex:column value=&amp;quot;{!contact.Phone}&amp;quot;/&amp;gt;&lt;br /&gt;      &amp;lt;/apex:pageBlockTable&amp;gt;&lt;br /&gt;   &amp;lt;/apex:pageBlock&amp;gt;&lt;br /&gt;&amp;lt;/apex:page&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now if we want to do the same thing for two custom objects say obj1__c and obj2__c&lt;br /&gt;generally one would use &lt;br /&gt;&lt;br /&gt;&lt;pre style=&quot;font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%&quot;&gt;&lt;code&gt;&amp;lt;apex:page standardController=&amp;quot;obj1__c&amp;quot;&amp;gt;&lt;br /&gt;   &amp;lt;apex:pageBlock title=&amp;quot;Hello {!$User.FirstName}!&amp;quot;&amp;gt;&lt;br /&gt;   &amp;lt;/apex:pageBlock&amp;gt;&lt;br /&gt;   &amp;lt;apex:pageBlock&amp;gt;&lt;br /&gt;      &amp;lt;apex:pageBlockTable value=&amp;quot;{!obj1__c.obj2__c}&amp;quot; var=&amp;quot;o&amp;quot;&amp;gt;&lt;br /&gt;         &amp;lt;apex:column value=&amp;quot;{!o.Name}&amp;quot;/&amp;gt;&lt;br /&gt;         &amp;lt;apex:column value=&amp;quot;{!o.fieldName}&amp;quot;/&amp;gt;&lt;br /&gt;      &amp;lt;/apex:pageBlockTable&amp;gt;&lt;br /&gt;   &amp;lt;/apex:pageBlock&amp;gt;&lt;br /&gt;&amp;lt;/apex:page&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;this will give error Invalid field obj2__c for SObject obj1__c&lt;br /&gt;&lt;br /&gt;This happens because child name is not referenced properly&lt;br /&gt;&lt;br /&gt;Salesforce generates a child relationship name that can be referenced in the page. For Account to Contact it is Contacts. Salesforce asks for a relationship name when creating the lookup relationship or master detail relationship. &lt;br /&gt;Relationship name can be checked in Salesforce Schema in Eclipse. Go to the parent Object, drill down to the child relationships and find the relationship name.&lt;br /&gt;&lt;br /&gt;so by referencing obj1__c.obj2__r (at line 5 i.e. pageblock table value) the error can be solved.&lt;br /&gt;&lt;pre style=&quot;font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%&quot;&gt;&lt;code&gt;&amp;lt;apex:pageBlockTable value=&amp;quot;{!obj1__c.obj2__r}&amp;quot; var=&amp;quot;o&amp;quot;&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/5574272697207669146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/5574272697207669146' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/5574272697207669146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/5574272697207669146'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2010/12/error-invalid-field-for-sobject-when.html' title='Error: Invalid field for SObject when building a table in a Visualforce page'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-9114795213618742931</id><published>2010-12-29T23:56:00.000-08:00</published><updated>2010-12-29T23:58:18.871-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="argument passed cannot be null"/><category scheme="http://www.blogger.com/atom/ns#" term="database.rollback"/><category scheme="http://www.blogger.com/atom/ns#" term="deserialization"/><category scheme="http://www.blogger.com/atom/ns#" term="rollback"/><category scheme="http://www.blogger.com/atom/ns#" term="salesforce"/><category scheme="http://www.blogger.com/atom/ns#" term="savepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="viewstate"/><title type='text'>Savepoint, rollback and viewstate</title><content type='html'>I just came to know about how view state affects the buddies savepoint and rollback so just wanted to share about it.&lt;br /&gt;&lt;br /&gt;Every time a page is called, it goes through a particular set of actions. One entire set of actions is a single transaction. When you view the page, Salesforce goes through a series of actions, which generally looks like the following:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1) Load the appropriate classes into memory, initialize memory heap, use an implied Database.setSavePoint().&lt;br /&gt;&lt;br /&gt;2) If the View State is empty (i.e. you are visiting the page the first time), call the page&#39;s constructor methods.&lt;br /&gt;&lt;br /&gt;3) If View State is not empty, load those memory variables into the object (deserialization).&lt;br /&gt;&lt;br /&gt;4) If View State is not empty, call each of the Setter methods for all values that were rendered into the form from the last action.&lt;br /&gt;&lt;br /&gt;5) If an &quot;action&quot; was called, perform the action.&lt;br /&gt;&lt;br /&gt;6) Call the getter methods and render the page&#39;s output.&lt;br /&gt;&lt;br /&gt;7) Set the view state for the form and output the total results (Serialization).&lt;br /&gt;&lt;br /&gt;8) Call the implied Database.commit() if nothing went wrong in any prior step.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(These may not be precise order). A transaction is started before each page action, and completed at the end of each action.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Every time you call back to the server, it is one complete transaction. For example, if you press a &quot;Next&quot; button, then press a &quot;Save&quot; button, even though you&#39;re on the same page, with the same view state throughout, you&#39;ve had three distinct database transactions (the initial load, the Next action, and the Save action). You can&#39;t roll back changes between each transaction, because the transaction is already complete.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;This is the same inherent design with every major RDBMS out there on the market-- when one whole transaction is done, the data is committed. In every major database out there, each page served results in one entire transaction. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;While View State can hold almost any data, the database can&#39;t place the transaction in a holding pattern indefinitely. It must immediately commit or rollback the entire transaction before the end of a single transaction unit, and the default is to commit unless there is an uncaught exception or error that causes it to rollback automatically, or the programmer manually rolls back a transaction.&lt;br /&gt;&lt;br /&gt;While using savePoint and Rollback make sure that you are using it in same view state or else savepoint will change to null and it will give argument passed cannot be null at line database.commit().</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/9114795213618742931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/9114795213618742931' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/9114795213618742931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/9114795213618742931'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2010/12/savepoint-rollback-and-viewstate.html' title='Savepoint, rollback and viewstate'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-2470408572921663315</id><published>2010-11-22T09:43:00.000-08:00</published><updated>2010-11-22T09:45:05.952-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="little"/><category scheme="http://www.blogger.com/atom/ns#" term="Little things in life"/><title type='text'>Little things matter a lot!!!</title><content type='html'>No matter how you apply yourself to the larger picture, no matter how hard you toil overall, ultimately it is the smaller things you ignore that let you down. You get rapped on the knuckles for the little undone, rather than noticed for the vast you have done. For good or evil, it is the smaller things that betray you. The most meticulously planned murder or the most carefully executed project could equally end up in disaster for the protagonist because of the minutest detail that was left to chance.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Little things can be the most irritating in the world. But life is indeed about the smaller stuff. Each mood you adopt helps form your permanent temperament; each act builds up towards a habit; habits lay the foundation for personalities. Every word either helps form friends or enemies. And all these factors together decide your future. Considering this, how lightly we take every mood, every act and every word we utter! We do not pay attention to the little things that have the greatest impact on our lives. The difference between successful and non successful people sometimes is just that the former understand the importance of paying attention to the smaller details and improving day by day. &lt;span style=&quot;font-weight:bold;&quot;&gt;Nobody becomes an &quot;overnight&quot; success. They reach the pinnacle only after paying attention to the &quot;little things&quot; for years&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Look at the power of small. An ant is a small thing and yet can cause an elephant&#39;s death; termites are so miniscule, but can devour entire mansions; a small matchstick can burn up an entire building, and &quot;little errors&quot; can sink a ship that could never sink, the Titanic! Look at the positives of the &quot;little things.&lt;br /&gt;To improve your life - think positive, believe more, smile, be thankful for little bits of happiness!  Small gestures enacted with love and understanding have a greater impact.&lt;br /&gt;&lt;br /&gt;Perfection lies in trivia but perfection is not trivia&lt;br /&gt;The world&#39;s best leaders and most successful people have the ability to focus their attention for extended periods on a single subject and paying acute attention to minute details</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/2470408572921663315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/2470408572921663315' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/2470408572921663315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/2470408572921663315'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2010/11/little-things-matter-lot.html' title='Little things matter a lot!!!'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-2930457175723699566</id><published>2009-11-30T02:01:00.000-08:00</published><updated>2009-11-30T02:02:33.300-08:00</updated><title type='text'>Always think Positive in Life!!!</title><content type='html'>Today before you think of saying an unkind word &lt;br /&gt;Think of someone who can&#39;t speak &lt;br /&gt;&lt;br /&gt;Before you complain about the taste of your food &lt;br /&gt;Think of someone who has nothing to eat &lt;br /&gt;&lt;br /&gt;Today before you complain about life &lt;br /&gt;Think of someone who went too early to heaven &lt;br /&gt;&lt;br /&gt;Before you argue about your dirty house; someone didn&#39;t clean or sweep &lt;br /&gt;Think of the people who are living in the streets. &lt;br /&gt;&lt;br /&gt;Before whining about the distance you drive &lt;br /&gt;Think of someone who walks the same distance with their feet &lt;br /&gt;&lt;br /&gt;And when you are tired and complain about your job &lt;br /&gt;Think of the unemployed, the disabled and those who wished they had your job &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;But before you think of pointing the finger or condemning another &lt;br /&gt;Remember that not one of us are without sin and we all answer to one maker &lt;br /&gt;&lt;br /&gt;And when depressing thoughts seem to get you down &lt;br /&gt;Put a smile on your face and thank God you&#39;re alive and still around &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Life is a gift &lt;br /&gt;Live it... &lt;br /&gt;Enjoy it... &lt;br /&gt;Celebrate it... &lt;br /&gt;And fulfill it. ... »</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/2930457175723699566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/2930457175723699566' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/2930457175723699566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/2930457175723699566'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2009/11/always-think-positive-in-life.html' title='Always think Positive in Life!!!'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-5387454037891579104</id><published>2009-11-19T21:57:00.000-08:00</published><updated>2009-11-19T21:58:41.549-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="life"/><category scheme="http://www.blogger.com/atom/ns#" term="positive attitude"/><category scheme="http://www.blogger.com/atom/ns#" term="positivity"/><title type='text'>Go on. THIS IS LIFE!!!</title><content type='html'>When there is no friend,&lt;br /&gt;When life is on the dead end,&lt;br /&gt;When world is not a paradise,&lt;br /&gt;When your confidence dies,&lt;br /&gt;Tell yourself - Go on, THIS IS LIFE! &lt;br /&gt;&lt;br /&gt;When things don&#39;t go right,&lt;br /&gt;When there is no ray of light,&lt;br /&gt;And its too hard to survive,&lt;br /&gt;Tell yourself - Go on, THIS IS LIFE! &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When there is competition to face,&lt;br /&gt;When you are lagging behind in the race,&lt;br /&gt;When you&#39;ve lost faith in God,&lt;br /&gt;When you&#39;re betrayed by a fraud,&lt;br /&gt;Tell yourself - Go on, THIS IS LIFE! &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When others don&#39;t respect you,&lt;br /&gt;When you&#39;re not amongst the admirable few,&lt;br /&gt;When for a question, you can&#39;t find a solution,&lt;br /&gt;When all you&#39;re sure about, is confusion,&lt;br /&gt;Tell yourself - Go on, THIS IS LIFE! &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When your destination is miles apart,&lt;br /&gt;When you don&#39;t know where to start,&lt;br /&gt;When all you see around is pain,&lt;br /&gt;When your hard work is in vain,&lt;br /&gt;Tell yourself - Go on, THIS IS LIFE! &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Even though all this happens&lt;br /&gt;just have faith in self &amp; face the life&lt;br /&gt;with smile,&lt;br /&gt;things will surely change one day&lt;br /&gt;because as said &quot;THIS IS LIFE”</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/5387454037891579104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/5387454037891579104' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/5387454037891579104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/5387454037891579104'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2009/11/go-on-this-is-life.html' title='Go on. THIS IS LIFE!!!'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-8071873501140648723</id><published>2009-11-19T02:40:00.000-08:00</published><updated>2009-11-19T02:41:14.142-08:00</updated><title type='text'>Have a positive attitude and thus be thankful</title><content type='html'>For the taxes that I pay because it means that I am employed.&lt;br /&gt;&lt;br /&gt;For the mess to clean after a party because it means that I have been surrounded by friends.&lt;br /&gt;&lt;br /&gt;For the clothes that fit a little too snug because it means I have enough to eat.&lt;br /&gt;&lt;br /&gt;For my shadow that watches me work because it means I am out in the sunshine.&lt;br /&gt;&lt;br /&gt;For a floor that needs mopping, and windows that need cleaning because it means I have a home.&lt;br /&gt;&lt;br /&gt;For all the complaining I hear about the government because it means that we have freedom of speech.&lt;br /&gt;&lt;br /&gt;For the parking spot I find at the far end of the parking lot because it means I am capable of walking and that I have been blessed with transportation.&lt;br /&gt;&lt;br /&gt;For the noise I have to bear from my neighbors because it means that I can hear.&lt;br /&gt;&lt;br /&gt;For the pile of laundry and ironing because it means I have clothes to wear.&lt;br /&gt;&lt;br /&gt;For weariness and aching muscles at the end of the day because it means I have been capable of working hard.&lt;br /&gt;&lt;br /&gt;For the alarm that goes off in the early morning hours because it means that I am still alive. ... »</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/8071873501140648723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/8071873501140648723' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/8071873501140648723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/8071873501140648723'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2009/11/have-positive-attitude-and-thus-be.html' title='&lt;strong&gt;Have a positive attitude and thus be thankful&lt;/strong&gt;'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-6143749075400071585</id><published>2009-11-17T22:33:00.000-08:00</published><updated>2009-11-17T22:34:02.673-08:00</updated><title type='text'>Principles of life</title><content type='html'>* Winning isn&#39;t everything. But wanting to win is.&lt;br /&gt;&lt;br /&gt;* You would achieve more, if you don&#39;t mind who gets the credit.&lt;br /&gt;&lt;br /&gt;* When everything else is lost, the future still remains.&lt;br /&gt;&lt;br /&gt;* Don&#39;t fight too much. Or the enemy would know your art of war.&lt;br /&gt;&lt;br /&gt;* The only job you start at the top is when you dig a grave.&lt;br /&gt;&lt;br /&gt;* If you don&#39;t stand for something, you&#39;ll fall for everything.&lt;br /&gt;&lt;br /&gt;* If you do little things well, you&#39;ll do big ones better.&lt;br /&gt;&lt;br /&gt;* Only thing that comes to you without effort is old age.&lt;br /&gt;&lt;br /&gt;* You won&#39;t get a second chance to make the first impression.&lt;br /&gt;&lt;br /&gt;* Only those who do nothing do not make mistakes.&lt;br /&gt;&lt;br /&gt;* Never take a problem to your boss unless you have a solution.&lt;br /&gt;&lt;br /&gt;* If you are not failing you&#39;re not taking enough risks.&lt;br /&gt;&lt;br /&gt;* Don&#39;t try to get rid of bad temper by losing it.&lt;br /&gt;&lt;br /&gt;* If at first you don&#39;t succeed, skydiving is not for you.&lt;br /&gt;&lt;br /&gt;* Those who don&#39;t make mistakes usually don&#39;t make anything&lt;br /&gt;&lt;br /&gt;* There are two kinds of failures. Those who think and never do,&lt;br /&gt;&lt;br /&gt;and those who do and never think.&lt;br /&gt;&lt;br /&gt;* Pick battles big enough to matter, small enough to win.&lt;br /&gt;&lt;br /&gt;* All progress has resulted from unpopular decisions.&lt;br /&gt;&lt;br /&gt;* Change your thoughts and you change your world.&lt;br /&gt;&lt;br /&gt;* Understanding proves intelligence, not the speed of the learning.&lt;br /&gt;&lt;br /&gt;* There are two kinds of fools in this world. Those who give advise&lt;br /&gt;&lt;br /&gt;and those who don&#39;t take it.&lt;br /&gt;&lt;br /&gt;* The best way to kill an idea is to take it to a meeting.&lt;br /&gt;&lt;br /&gt;* Management is doing things right. Leadership is doing the right things.&lt;br /&gt;&lt;br /&gt;* Friendship founded on business is always better than business founded on friendship.</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/6143749075400071585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/6143749075400071585' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/6143749075400071585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/6143749075400071585'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2009/11/principles-of-life.html' title='Principles of life'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-848625025561827194</id><published>2009-11-17T00:43:00.000-08:00</published><updated>2009-11-17T00:45:11.866-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="change of attitude"/><category scheme="http://www.blogger.com/atom/ns#" term="Lion-rabbit story"/><category scheme="http://www.blogger.com/atom/ns#" term="paradigm shift"/><category scheme="http://www.blogger.com/atom/ns#" term="point of view"/><title type='text'>Amazing Story on how your attitude can change with 1 incident</title><content type='html'>Imagine you are at an Airport. While you&#39;re waiting for your flight, you notice a kiosk selling cookies. You buy a box, put them in your traveling bag and then you patiently search for an available seat so you can sit down and enjoy your cookies. Finally, you find a seat next to a gentleman. &lt;br /&gt;&lt;br /&gt;You reach down into your traveling bag and pull out your box of cookies.As you do so, you notice that the gentleman starts watching you intensely. He stares as you open the box and his eyes follow your hand as you pick up the cookie and bring it to your mouth. Just then he reaches over and takes one of your cookies from the box, and eats it! You&#39;re more than a little surprised at this. Actually, you&#39;re at a loss for words. Not only does he take one cookie, but also he alternates with you. For every one cookie you take, he takes one. &lt;br /&gt;&lt;br /&gt;Now, what&#39;s your immediate impression of this guy? Crazy? Greedy?He&#39;s got some nerve? Can you imagine the words you might use to describe this man to your associates back at the office? Meanwhile, you both continue eating the cookies until there&#39;s just one left. To your surprise, the man reaches over and takes it. But then he does something une xpected. He breaks it in half, and gives half to you. After he&#39;s finished with his half he gets up, and without a word, he leaves. &lt;br /&gt;&lt;br /&gt;You think to yourself, &quot;Did this really happen?&quot; You&#39;re left sitting there dumbfounded and still hungry. So you go back to the kiosk and buy another box of cookies. You then return to your seat and begin opening your new box of cookies when you glance down into your traveling bag. Sitting there in your bag is your original box of cookies - still unopened. &lt;br /&gt;&lt;br /&gt;Only then do you realize that when you reached down earlier, you had reached into the other man&#39;s bag, and grabbed his box of cookies by mistake. Now what do you think of the man? Generous? Tolerant? You&#39;ve just experienced a profound paradigm shift. You&#39;re seeing things from a new point of view. Is it time to change your point of view?</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/848625025561827194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/848625025561827194' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/848625025561827194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/848625025561827194'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2009/11/amazing-story-on-how-your-attitude-can.html' title='Amazing Story on how your attitude can change with 1 incident'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-909527650202966889</id><published>2009-11-17T00:40:00.000-08:00</published><updated>2009-11-17T00:42:50.175-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Boss"/><category scheme="http://www.blogger.com/atom/ns#" term="Lion-rabbit story"/><category scheme="http://www.blogger.com/atom/ns#" term="Management Lessons"/><title type='text'>Management Lesson II</title><content type='html'>It&#39;s a fine sunny day in the forest, and a rabbit is sitting outside his burrow, tippy-tapping on his typewriter.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Along comes a fox, out for a walk.&lt;br /&gt;&lt;br /&gt;Fox: &quot;What are you working on?&quot;&lt;br /&gt;&lt;br /&gt;Rabbit: &quot;My thesis.&quot;&lt;br /&gt;&lt;br /&gt;Fox: &quot;Hmm... What is it about?&quot;&lt;br /&gt;&lt;br /&gt;Rabbit: &quot;Oh, I&#39;m writing about how rabbits eat foxes.&quot;&lt;br /&gt;&lt;br /&gt;Fox: &quot;That&#39;s ridiculous! Any fool knows that rabbits don&#39;t eat foxes!&quot;&lt;br /&gt;&lt;br /&gt;Rabbit: &quot;Come with me and I&#39;ll show you!&quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;They both disappear into the rabbit&#39;s burrow. After few minutes, gnawing on a fox bone, the rabbit returns to his typewriter and resumes typing.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Soon a wolf comes along and stops to watch the hardworking rabbit.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Wolf: &quot;What&#39;s that you are writing?&quot;&lt;br /&gt;&lt;br /&gt;Rabbit: &quot;I&#39;m doing a thesis on how rabbits eat wolves.&quot;&lt;br /&gt;&lt;br /&gt;Wolf: &quot;you don&#39;t expect to get such rubbish published, do you?&quot;&lt;br /&gt;&lt;br /&gt;Rabbit: &quot;No problem. Do you want to see why?&quot;&lt;br /&gt;&lt;br /&gt;The rabbit and the wolf go into the burrow and again the rabbit returns by himself, after a few minutes, and goes back to typing.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Finally a bear comes along and asks, &quot;What are you doing?&lt;br /&gt;&lt;br /&gt;Rabbit: &quot;I&#39;m doing a thesis on how rabbits eat bears.&quot;&lt;br /&gt;&lt;br /&gt;Bear: &quot;Well that&#39;s absurd!&lt;br /&gt;&lt;br /&gt;Rabbit: &quot;Come into my home and I&#39;ll show you&quot;&lt;br /&gt;&lt;br /&gt;As they enter the burrow, the rabbit introduces the bear to thelion. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Moral: IT DOESN&#39;T MATTER HOW SILLY YOUR THESIS TOPIC IS.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;WHAT MATTERS IS WHO YOU HAVE FOR A SUPERVISOR. In the context of the working world: IT DOESN&#39;T MATTER HOW BAD YOUR PERFORMANCE IS; WHAT MATTERS IS WHETHER YOUR BOSS LIKES YOU. ... »</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/909527650202966889/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/909527650202966889' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/909527650202966889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/909527650202966889'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2009/11/management-lesson-ii.html' title='Management Lesson II'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-2532645222050593807</id><published>2009-11-16T01:25:00.000-08:00</published><updated>2009-11-16T01:27:04.422-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fox is foxxed."/><category scheme="http://www.blogger.com/atom/ns#" term="Lion-rabbit story"/><category scheme="http://www.blogger.com/atom/ns#" term="Management Lessons"/><title type='text'>Management lesson I</title><content type='html'>It&#39;s a fine sunny day in the forest, and a lion is sitting outside his cave, lying lazily in the sun. Along comes a fox, out on a walk.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Fox: &quot;Do you know the time, because my watch is broken&quot;&lt;br /&gt;&lt;br /&gt;Lion: &quot;Oh, I can easily fix the watch for you&quot;&lt;br /&gt;&lt;br /&gt;Fox: &quot;Hmm. But it&#39;s a very complicated mechanism, and your great claws will only destroy it even more&quot;&lt;br /&gt;&lt;br /&gt;Lion: &quot;Oh no, give it to me, and it will be fixed&quot;&lt;br /&gt;&lt;br /&gt;Fox: &quot;That&#39;s ridiculous! Any fool knows that lazy lions with great Claws cannot fix complicated watches&quot;&lt;br /&gt;&lt;br /&gt;Lion: &quot;Sure they do, give it to me and it will be fixed&quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The lion disappears into his cave, and after a while he comes back with the watch which is running perfectly. The fox is impressed, and the lion continues to lie lazily in the sun, looking very pleased with himself.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Soon a wolf comes along and stops to watch the lazy lion in the sun.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Wolf: &quot;Can I come and watch TV tonight with you, because mine is broken&quot;&lt;br /&gt;&lt;br /&gt;Lion: &quot;Oh, I can easily fix your TV for you&quot;&lt;br /&gt;&lt;br /&gt;Wolf: &quot;You don&#39;t expect me to believe such rubbish, do you? There is no way that a lazy lion with big claws can fix a complicated TV&quot;&lt;br /&gt;&lt;br /&gt;Lion: &quot;No problem. Do you want to try it?&quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The lion goes into his cave, and after a while comes back with a perfectly fixed TV. The wolf goes away happily and amazed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Scene: Inside the lion&#39;s cave. In one corner are half a dozen small and intelligent looking rabbits who are busily doing very complicated work with very detailed instruments. In the other corner lies a huge lion looking very pleased with himself.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Moral: IF YOU WANT TO KNOW WHY A SUPERVISOR IS FAMOUS LOOK AT THE WORK OF HIS SUBORDINATES.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In the context of the working world: IF YOU WANT TO KNOW WHY SOMEONE UNDESERVED IS PROMOTED, LOOK AT THE WORK OF HIS SUBORDINATES.</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/2532645222050593807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/2532645222050593807' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/2532645222050593807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/2532645222050593807'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2009/11/management-lesson-i.html' title='Management lesson I'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529975587560998189.post-960976191425416556</id><published>2009-11-16T01:22:00.000-08:00</published><updated>2009-11-16T01:24:53.633-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Implement whenever you can"/><category scheme="http://www.blogger.com/atom/ns#" term="life"/><category scheme="http://www.blogger.com/atom/ns#" term="necessary points"/><category scheme="http://www.blogger.com/atom/ns#" term="points"/><category scheme="http://www.blogger.com/atom/ns#" term="These are really very powerful"/><title type='text'>Really very powerful, Implement whenever you can to make your life better</title><content type='html'>1. Take a 10-30 minute walk every day. And while you walk, smile. It is the ultimate anti-depressant. &lt;br /&gt;2. Sit in silence for at least 10 minutes each day. Buy a lock if you have to. &lt;br /&gt;3. Try to get enough sleep. &lt;br /&gt;4. When you wake up in the morning complete the following statement, &quot;My purpose is to____ today.&quot; &lt;br /&gt;5. Live with the 3 E&#39;s -- Energy, Enthusiasm, and Empathy. &lt;br /&gt;6. Watch more movies play more games and read more books than you did in 2006. &lt;br /&gt;7. Make time to practice meditation, yoga, and prayer. They &lt;br /&gt;provide us with daily fuel for our busy lives. &lt;br /&gt;8. Spend more time with people over the age of 70 and under the age of 6. &lt;br /&gt;9. Dream more while you are awake. &lt;br /&gt;10. Eat more foods that grow on trees and plants and eat less food that is &lt;br /&gt;    manufactured in plants. &lt;br /&gt;11. Drink green tea and plenty of water. Eat almonds &amp; walnuts. &lt;br /&gt;12. Try to make at least three people smile each day. &lt;br /&gt;13. Clear your clutter from your house, your car, your desk and let new and flowing energy into your life. &lt;br /&gt;14. Don&#39;t waste your precious energy on gossip, energy vampires, issues of the past, negative thoughts or things you cannot control.   Instead   invest your energy in the positive present moment. &lt;br /&gt;15. Realize that life is a school and you are here to learn. Problems are &lt;br /&gt;simply part of the curriculum that appear and fade away like algebra class but the lessons you learn will last a lifetime. &lt;br /&gt;16. Eat breakfast like a king, lunch like a prince and dinner like a &lt;br /&gt;     college kid with a maxed out charge card. &lt;br /&gt;17. Smile and laugh more. It will keep the energy vampires away. &lt;br /&gt;18. Life isn&#39;t fair, but it&#39;s still good. &lt;br /&gt;19. Life is too short to waste time hating anyone. &lt;br /&gt;20. Don&#39;t take yourself so seriously. No one else does. &lt;br /&gt;21. You don&#39;t have to win every argument. Agree to disagree. &lt;br /&gt;22. Make peace with your past so it won&#39;t screw up the present. &lt;br /&gt;23. Don&#39;t compare your life to others&#39;. You have no idea what their journey is all about. &lt;br /&gt;24. Burn the candles, use the nice bed sheets, don’t save it for a special &lt;br /&gt;occasion. Today is special. &lt;br /&gt;25. No one is in charge of your happiness except you. &lt;br /&gt;26. Frame every so-called disaster with these words: &quot;In five years, will these matters?&quot; &lt;br /&gt;27. Forgive everyone for everything. &lt;br /&gt;28. What other people think of you is none of your business. &lt;br /&gt;29. Time heals almost everything. Give time, time. &lt;br /&gt;30. However good or bad a situation is, it will change. &lt;br /&gt;31. Your job won&#39;t take care of you when you are sick. Your friends will. Stay in touch. &lt;br /&gt;32. Get rid of anything that isn&#39;t useful, beautiful or joyful. &lt;br /&gt;33. Envy is a waste of time. You already have all you need. &lt;br /&gt;34. The best is yet to come. &lt;br /&gt;35. No matter how you feel, get up, dress up and show up. &lt;br /&gt;36. Do the right thing! &lt;br /&gt;37. Call your family often. Keep in touch with them. &lt;br /&gt;38. Each night before you go to bed complete the following statements: &quot;I am thankful for ___.&quot; Today I accomplished ____. &lt;br /&gt;39. Remember that you are too blessed to be stressed. &lt;br /&gt;40. Enjoy the ride. Remember that this is not Disney World and you &lt;br /&gt;certainly don&#39;t want a fast pass. You only have one ride through life so make the most of it and enjoy the ride. &lt;br /&gt;HAVE A NICE DAY!!!!! May your troubles be less, May your blessings be &lt;br /&gt;more. And may nothing but happiness come through your door!</content><link rel='replies' type='application/atom+xml' href='http://harshesh7487.blogspot.com/feeds/960976191425416556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6529975587560998189/960976191425416556' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/960976191425416556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529975587560998189/posts/default/960976191425416556'/><link rel='alternate' type='text/html' href='http://harshesh7487.blogspot.com/2009/11/really-very-powerful-implement-whenever.html' title='Really very powerful, Implement whenever you can to make your life better'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>