Be Good & Do Good!

Year: 2010 (Page 3 of 8)

VMForce thoughts …

Jesper Joergensen has a good blog post that answers many important questions around VMForce.  To add, Mike @embracingthecloud lists following really good thoughts about VMForce.

The VMForce value proposition:

  • Download Eclipse and SpringSource
  • Signup for a Salesforce Development account and define your data model
  • Write your Java app using objects that serialize to Salesforce
  • Drag and drop your app onto a VMWare hosted service to Force.com to deploy

The partnership breaks down as:

  1. VMWare hosts your app
  2. Salesforce hosts your database

The 2 are seamlessly integrated so that Java Developers can effectively manage the persistence layer as a black box in the cloud without worrying about setting up an Oracle or MySql database, writing stored procedures, or managing database performance and I/O. For larger organizations already using Salesforce but developing their custom Java apps, this opens up some new and attractive options.

CIO’s are being bombarded with virtualization as a viable cloud computing solution, so I think Salesforce has wisely taken a step back and taken a position that says

“We do declarative, hosted databases better than anyone else. Go ahead and pursue the virtualization path for your apps and leverage our strength in data management as the back end”

The post ends with two really good questions …

The connection between VMWare and Salesforce is presumably via webservices and not natively hosted in the same datacenter. Does this imply some performance and latency tradeoffs when using VMForce?No. Per the comment from David Schach, the app VM is running in the same datacenter as the Force.com DB.

It strikes me as quite simple to develop Customer/Partner portals or eCommerce solutions in Java that skirt the limitations of some Salesforce license models when supporting large named-user/low authentication audiences. Will Salesforce limit the types and numbers of native objects that can be serialized through VMForce

Steve thoughts on flash and Adobe’s love on Apple

Few weeks back Steve Jobs quoted thoughts on Flash.

Steve quotes ….

Flash was created during the PC era – for PCs and mice. Flash is a successful business for Adobe, and we can understand why they want to push it beyond PCs. But the mobile era is about low power devices, touch interfaces and open web standards – all areas where Flash falls short.

The avalanche of media outlets offering their content for Apple’s mobile devices demonstrates that Flash is no longer necessary to watch video or consume any kind of web content. And the 200,000 apps on Apple’s App Store proves that Flash isn’t necessary for tens of thousands of developers to create graphically rich applications, including games.

New open standards created in the mobile era, such as HTML5, will win on mobile devices (and PCs too). Perhaps Adobe should focus more on creating great HTML5 tools for the future, and less on criticizing Apple for leaving the past behind

Now Adobe replies saying “We Love Apple
We love Apple

AppExchange 2 – More Apps, More Success : Recorded Webinar

On Tuesday, Salesforce hosted Welcome to AppExchange 2 webinar. The webinar showcased few exciting new features ..

Aloha Apps

The new “All-You-Can-App” category. These apps do not count against the apps, tabs and objects limits provisioned with your edition.

Chatter Exchange

There are now over 30+ solutions that integrate with Salesforce Chatter. See what the buzz is all about!

Updated Search and Reviews

Get to the app you need in clicks and learn exactly what users have to say about it. Just like Amazon, you now can find the feedback you are looking for with ease.

Service Listings

It’s not just about apps anymore. Find services from our large community of systems integration, custom app development and training partners.

For reference, view full webinar recording: http://www.youtube.com/watch?v=rBtX17LK-Ac

Salesforce Launches a WordPress-to-Lead Plugin

Salesforce is providing users of the popular blogging platform with a time-saving plugin: WordPress-to-lead for Salesforce CRM.

WordPress-to-Lead provides small businesses that use WordPress as their primary web platform a way to add contacts and customers automatically to their Salesforce CRM.

In the past, WordPress users had to copy and paste leads into Salesforce — a messy process to be sure. The new Salesforce WordPress plugin solves that issue by creating contact forms that send information directly to Salesforce.

Many businesses are built on the pillars of WordPress, so we bet that there will be a lot Salesforce customers jumping for joy once they hear the news.

If you want to learn how to get started with the plugin, Salesforce has also created a YouTube video showing the steps:



Is Aamir a Marketing Genius …

Aamir can give lessons in film marketing at top B-schools globally.

Some cases in point:

  • Ghulam (Aamir promoted the train stunt),
  • Ghajini (got down to giving kids the buzz cut in Delhi),
  • Fanaa (landed up to support Narmada Bachao Andolan),
  • Taare… (activities with Darsheel Safary),
  • Lagaan (Oscar buzz), and
  • 3 Idiots (vanished only to emerge in disguise on an all-India road tour).

He sticks to the brands which he endorses
He is a perfectionist ..
He delivers what he promises
He has an intellectual image

At end, he is classy ……

How to format a date in VisualForce?

Problem Statement
In Salesforce, if I’m binding a date into a VisualForce page, how do I apply custom formatting to it?

Example:

<apex :page standardController=”Contact”>
</apex><apex :pageBlock title=”Test”>
<p>{!contact.Birthdate}</p>
</apex>
<apex :detail relatedList=”false” />

This will output a date in the default format:

Thu Jul 01 09:10:23 GMT 2009

How do I get it (for example) into dd/mm/yyyy format, like this:

01/07/2009

Solution

<apex :outputText value=”{0,date,MM’/’dd’/’yyyy}”>
<apex :param value=”{!contact.Birthdate}” />
</apex>

Solution

Source : StackOverflow.com

Salesforce – Restrict emails on new case, task, password reset …

The Salesforce.com user interface allows you to specify whether or not to send an email when the following events occur:

Creation of a new case or task
Creation of a case comment
Conversion of a case email to a contact
New user email notification
Password reset

In Apex scripts saved against API version 15.0 or later, the Database.DMLOptions emailHeader method enables you to specify additional information regarding the email that gets sent when one of the events occurs because of the script’s execution.

The following are the options that can be set with the emailHeader method:

  1. triggerAutoResponseEmail : Indicates whether to trigger auto-response rules (true) or not (false), for leads and cases. In the Salesforce.com user interface, this email can be automatically triggered by a number of events, for example creating a case or resetting a user password. If this value is set to true, when a case is created, if there is an email address for the contact specified in ContactID, the email is sent to that address. If not, the email is sent to the address specified in SuppliedEmail.
  2. triggerOtherEmail : Indicates whether to trigger email outside the organization (true) or not (false). In the Salesforce.com user interface, this email can be automatically triggered by creating, editing,or deleting a contact for a case.
  3. triggerUserEmail : Indicates whether to trigger email that is sent to users in the organization (true) or not (false). In the Salesforce.com user interface, this email can be automatically triggered by a number of events; resetting a password, creating a new user, adding comments to a case, or creating or modifying a task.

In the following example, the triggerAutoResponseEmail option is specified:

Account a = new Account(name=’Acme Plumbing’);
insert a;
Contact c = new Contact(email=’jplumber@salesforce.com’, firstname=’Joe’,lastname=’Plumber’,accountid=a.id);
insert c;
Database.DMLOptions dlo = new Database.DMLOptions();
dlo.EmailHeader.triggerAutoResponseEmail = true;
Case ca = new Case(subject=’Plumbing Problems’, contactid=c.id);
database.insert(ca, dlo);

Visualforce – Adding History related list to Tabbed Account

Problem Statement
Has anyone been able to generate the “account history” tab in visualforce page? If i try using “Histories” in <apex:relatedList>, I get error msg saying it is not valid child relation name..

Solution1
This works for me to add a link to the account field history:

<apex:tab label=”Field History” name=”Field History” id=”fieldhistory”>
<apex:outputLink value=”https://na1.salesforce.com/_ui/common/history/ui/EntityHistoryFilterPage?id={!account.id}”>
click to view field history
</apex:outputLink>
</apex:tab>

Not optimum as user has to click the link but you dont need to do a lot of work.

Solution2
I also figured out how to access the Account History data. It is NOT a related list. Instead, use the code <apex:dataTable> to pull from the account.histories table. Below is rough code that will pull the Account History into a separate tab. The HTML formating is not very clean, but the data query works!:

<apex:tab label=”Field History” name=”Account History” id=”fieldhistory” >
<apex:dataTable value=”{!account.histories}” var=”accounthistory” id=”HistTable” rowClasses=”odd,even”
styleClass=”tableClass” cellspacing=”15″ width=”80%”>
<apex:facet name=”caption”></apex:facet>
<apex:facet name=”header”>Field History</apex:facet>
<apex:facet name=”footer”></apex:facet>
<apex:column>
<apex:facet name=”header”>Edit Date</apex:facet>
<apex:facet name=”footer”></apex:facet>
<apex:outputText value=”{0,date,MM/dd/yyyy HH:mm }”>
<apex:param value=”{!accounthistory.createddate}” />
</apex:outputText>
</apex:column>
<apex:column>
<apex:facet name=”header”>Field</apex:facet>
<apex:facet name=”footer”></apex:facet>
<b> <apex:outputText value=”{!accounthistory.field}”/></b>
</apex:column>
<apex:column>
<apex:facet name=”header”>Edited By</apex:facet>
<apex:facet name=”footer”></apex:facet>
<apex:outputText value=”{!accounthistory.createdby.name}”/>
</apex:column>
<apex:column>
<apex:facet name=”header”>Old Value</apex:facet>
<apex:facet name=”footer”></apex:facet>
<apex:outputText value=”{!accounthistory.oldvalue}”/>
</apex:column>
<apex:column>
<apex:facet name=”header”>New Value</apex:facet>
<apex:facet name=”footer”></apex:facet>
<apex:outputText value=”{!accounthistory.newvalue}”/>
</apex:column>
</apex:dataTable>
</apex:tab>

Source : Salesforce Community

URL to export(download) Salesforce Report

Problem Statement
It may be possible that sometime you need to code or provide a link to directly download a report.

Solution
In order to directly export a report, navigate to following URL. This URL request will prompt you with open/save dialog to export the report.

ExportReport

Here,

https://na1.salesforce.com is Salesforce hostname on which the org is hosted
00O30000001Y9ll is report Salesforce ID
export=1 is the parameter required to request system for direct download of report

Also note that,

Salesforce out of box feature does allow exporting of report, but its 3 step process
Navigate to report
Click Export Details
Click Export

Salesforce – VMware to announce “VMForce”

What’s the story behind “Salesforce – VMware to announce VMForce”. Salesforce is advertising loudly something as follows …

Join industry leaders Marc Benioff, chairman & CEO of salesforce.com, and Paul Maritz, president & CEO of VMware, for a live Webcast where they will make an exciting joint product announcement on the future of cloudcomputing.

VMforce is ComingMarc - Paul

Date: April 27, 2010
Time: 10:30 a.m. PDT
Location: www.vmforce.com

We got only thing to do is to wait and watch ..
What is VMforce all about and to what level will it transform the CLOUD world …

About Salesforce & VMware
Logos
Salesforce.com is the world’s biggest provider of software that is delivered via the Web.
VMware is the top maker of virtualization programs that allow companies to boost the efficiency of computer hardware by running multiple virtual machines on a single piece of equipment.

« Older posts Newer posts »