Ye Meri Life Hai - Chirag Mehta

Be Good & Do Good!

Month: January 2010

Google starts phasing out Old Browser support

Google in an email to all developers states following …

In order to continue to improve our products and deliver more sophisticated features and performance, we are harnessing some of the latest improvements in web browser technology. This includes faster JavaScript processing and new standards like HTML5. As a result, over the course of 2010, we will be phasing out support for Microsoft Internet Explorer 6.0 as well as other older browsers that are not supported by their own manufacturers.

We plan to begin phasing out support of these older browsers on the Google Docs suite and the Google Sites editor on March 1, 2010. After that point, certain functionality within these applications may have higher latency and may not work correctly in these older browsers. Later in 2010, we will start to phase out support for these browsers for Google Mail and Google Calendar.

Interesting facts about “Bombay STATE”

During British rule, portions of the western coast of India under direct British rule were part of the Bombay Presidency. In 1937, the Bombay Presidency became a province of British India.

After Indian independence in 1947, many former princely states, including the Gujarat states and the Deccan states, were merged with the former Bombay province, which was renamed the State of Bombay.

The State of Bombay was significantly enlarged on November 1, 1956, expanding eastward to incorporate the Marathi-speaking Marathwada region of Hyderabad State, the Marathi-speaking Vidarbha region of southern Madhya Pradesh, and Gujarati-speaking Saurashtra and Kutch. The southernmost, Kannada-speaking portion of the state became part of the new linguistic state of Karnataka. The state was being referred to by the local inhabitants as Maha Dwibhashi Rajya, literally, the great bilingual state.

The state was home to both Marathi and Gujarati linguistic movements, both seeking to create separate linguistic states. The Mahagujarat movement in Gujarat was led by Shri Indubhai Yagnik. On May 1, 1960, after a movement for a separate Marathi state turned violent, the State of Bombay was partitioned into the States of Gujarat and Maharashtra.

Learning Spanish … Learn Spanish …

I heard that Angels do exist in each part of world, but aren’t Teachers true Angels .. teaching kids in every part of world ….

Here comes Spanish words, I am learning from my Spanish teacher ..

Hola — Hello, hi
Adiós — Goodbye
Buenos días — Good day, good morning
Buenas tardes — Good afternoon, good evening
Buenas noches — Good night
Mucho gusto. Encantado. — It’s a pleasure to meet you.
Bienvenido, bienvenida, bienvenidos, bienvenidas — Welcome

Salesforce – Spring ’10 Release Preview Webinar

Spring’10 webinar covered a number of features to help you, whether you’re building new applications on Force.com, or using existing products such as Salesforce CRM.

Part 1 : Custom Cloud – Learn how many new Force.com features, including Multilevel Master-Detail Relationships and Rich Text Areas, can help you build richer applications, faster.

Part 2 : Sales & Service Cloud – Discover how new features in Salesforce CRM, including Salesforce Automation, Salesforce Knowledge and Salesforce Answers, can help transform the way you interact with customers and partners.

View the two recorded webinars at http://wiki.developerforce.com/index.php/Tech_Talk:_Spring10_Release_Preview

Salesforce Spring ’10 – Changes to Custom Object Permissions

What is the change?
In Spring ‘10, when you create a new custom object, the “Read,” “Create,” “Edit,” “Delete,” “View All,” and “Modify All” permissions for that object will be disabled by default. After the Spring ’10 release, you must specify which users should get access to custom objects.

Note: You can only change the object permissions for custom profiles, not standard profiles. As a result, users with standard profiles (except System Administrator) will not be able to access custom objects created after the Spring ’10 release.

How will this change impact me?
If you have users assigned to standard profiles, clone these profiles and reassign your users to the newly created profiles. Then, when you create a new custom object, you will edit the user profiles to enable object permissions. Additionally, you can use enhanced profile management to edit multiple profiles at once.

Note: For custom objects created before the Spring ’10 release, access to these objects will not change. Therefore, standard profiles will continue to have access to custom objects created prior to the Spring ’10 release.

When is this change taking place?
This change will be made with the Spring ‘10 release. Please check http://trust.salesforce.com/trust/status/#maint to understand when your instance will be upgraded.

Salesforce: Eliminate Scrollbars

Source : http://www.interactiveties.com/b_remove_scrolls.php

Many new salesforce.com AJAX developers ask me how I am able to build my sControls into a frame and get the sizing setup in such a manner to prevent scrollbars. Over the years I’ve tried many different JavaScript functions but found that one works better than any I’ve seen.

For those reading this that might be unfamiliar with what I’m referring too I’ve included a screenshot.
In some instances an AJAX developer may want to build a sControl into salesforce.com whereby the sControl is embedded into the page. Basically there are tabs at the top and the navigation bar on the left-hand side with the sControl on the right-hand side.

When the web tab containing a sControl is setup through the Salesforce.com user interface the developer is allowed to dictate the size of the frame in which the sControl gets loaded. In most cases these new developers will simply alter that frame size to account for the largest height that may occur in the sControl. However, the script that I will eventually share with you will allow these developers to now ignore this pixel height setting and resize the frame dynamically.

I started using the script a year or two ago and a few months ago I altered it a bit because I was still getting scrollbars in Firefox. I found that the scrollbars didn’t always occur but I wanted to account for the percentages and try to eliminate them in entirely. Therefore, I decided to add a line where I determine if the browser is Firefox and then add 10 pixels to the adjusted frame height. I found that this truly eliminates the vertical scrollbars in almost 100% of the instances where I’ve used this script.

//resizes the frame holding the sControl to make up for odd dimensions
function resizeFrame()
{
var sframe = parent.document.getElementById("itarget"); //get id of iframe from parent
if (navigator.userAgent.indexOf("Firefox") != -1)
{ //if Firefox
var nHeight = document.body.scrollHeight+10; //add ten pixels to height of sControl frame
}
else
{ //otherwise
var nHeight = document.body.scrollHeight; //use the returned height of sControl frame
}
sframe.style.height = nHeight+"px"; //set the frame height to correspond to the content
}

And it can be called using this line:
resizeFrame(); //calls function from above

I hope you find this useful or can tweak it to meet your needs.,

Salesforce – URL hack to close an opportunity

Requirement

I’d like to create a button on Opportunities that does several things:
1.) Closes the Opportunity (Stage = Closed Lost)
2.) Makes a custom field have a specific value (Opportunity Lost Reason = “Wrong/Bad Number”

Solution:
Here’s the URL behind the button:

/{!Opportunity.Id}/e?retURL={!Opportunity.Id}&opp11=”Closed Lost”&00N80000002eg5T=”Wrong/Bad Number”&save=x

Where

00N80000002eg5T is the ID of the “Opportuntiey Lost Reason” custom field!
opp11 is the SF field name for Stage standard field in the layout.
save=x will automatically save the record after the changes are made.

Google Nexus Launched …

Google’s much anticipated Nexus One was finally unveiled at a press conference in Mountain View, California on January 5. It had already been distributed to Google employees in December, before its launch.

Made by HTC, Google has co-branded the phone. Google is retailing this phone in a way that it knows best, on the web. Available through www.google.com/phone, the phone is available for $529 as an unlocked version and $179 with two year contract with T-mobile (with a $79.99 monthly data plan) in the United States. It is also available for delivery in UK, Singapore and Hong Kong. So, yes, you cannot buy it in India yet, nor get it shipped here.

The looks of the phone are pretty similar to the iPhone but have a few more buttons that then Apple device. The bottom of the screen houses four touch sensitive buttons for Back, Home, Menu and Search unlike the iPhone that has just the one button to go back to the home screen. Below the buttons is a tri-color illuminated trackball. The color of the trackball changes depending on the kind of notification being received on the phone.

Read More @ http://www.google.com/phone/

http://www.google.com/phone/static/nexus-one-specs-shot.png