Wednesday, June 8, 2011

Simple Pop-up alert in Salesforce

Salesforce.com doesn't give any pop up alert windows. An alert window will be useful to get attention of user. A combination of visualforce page and java scripts can be used to give such alerts. Eg. We want to alert Salesforce user to create an order when opportunity is "Closed Won".

Here are the steps.
  • Create a visualforce page on opportunity with following code.

  • Go to opportunity and edit opportunity page layout. Drag this new visualforce page on page layout. Edit the visualforce page properties and set Height as 0 pixel. (We don't need to show this page to users.) Save the page layout.
 

    This code can be enhanced with multiple conditions. Alert of any existing field also can be given.

    Saturday, May 7, 2011

    Balgandharv - Review

    It's a Well made movie. Subodh Bhave was pleasant as Balgandharv and his performance is excellent. Other cast doesn't have a big role to play. Scenes where Balgandharv is performing after his daughter passes away, teaching to Gauhar Bai and his play performance when he was ill were really good.

    Nitin desai's movie thus art direction is very good. I don't know the true story of Balgandharv, but somewhere it feels like stereotype drama. Will definitely remember Natrang & Harishchandrachi factory.

    Surprisingly Vibhavari Deshpande is the same female lead acted in these three movies. It is upsetting to know that all great people suffer a lot in their lives and doesn't deserve the way their life ends. These are passionate people about their talent, work and don't bother about practicality of life. May be this is the reason they refuse to leave their work live stable life after 40.

    Watch it atleast once to know Balgandharv and to feel golden era of Marathi Sangeet Natak.