Wednesday, 29 January 2014

Salesforce Code Scanner

Hi

The below URL is used to check your code Quality for your organization.

http://security.force.com/security/tools/forcecom/scanner

Tuesday, 28 January 2014

call Javascript via Apex Class


 Visualforce Page:



escape - This attribute which allows the HTML Tags and Javascripts. if we make escape = true, the character escape sequence displays as written.


Apex Class

Below is the screen shot for classes, where will have the string variable and calling the javascript on that variable.

 


Output:

when you execute the above code, the below alert box will appear.





Sunday, 19 January 2014

Add Visualforce page in Message and Alert Section of the Home Page.

Step 1:
Create a Visualforce Page.


Step 2: In the Home Page Components, click edit on Message and Alert Section

Enter the below code in that section.

Output: