Monday, 15 July 2013

Difference between rendered, renderAs and reRender in Visualforce page

Difference between rendered, renderAs and reRender in Visualforce page

render - Boolean value (if it is true, it displays the block else it will be hidden)

reRender - ID. Particular block will be refreshed.

renderAs - Display the page as pdf, excel, etc...

Wednesday, 3 July 2013

Convertible Amount field

Today while working on one of the task just got to know about this feature so thought to share with you.

While writing any formula field if you make that field's return type as a currency then for reporting you will get one more field which always shows you values in USD format.

For Example:

If you have created a field called 'Sales Amount' and its formula field. If I make the return type as a Currency then I will get one more field in reporting called 'Sales Amount (Convertible)' where we always get Amount values in USD format.

Friday, 12 April 2013

How to capture XML sent from one system to other system for debug

http://requestb.in/1m1k9oy1?inspect

This website is really useful for debugging of Data.

When Salesforce Sends data from Wrapper classes (Integration) to any system and if that system is not able to show the logs properly then we can replace the URL in Wrapper class(URL of target system) with http://requestb.in/1m1k9oy1?inspect. So now SFDC will send data to this url and we will get perfect extract.

Why to use Database.Stateful()?

Database Stateful is interface. It is used in batch classes to maintain the state of the class across transactions i.e. if you want to use ...