Wednesday, November 30, 2011

SalesForce Online Training and Certification

Hello All,

If anyone is interested in SalesForce Training and Certification Guidance, Contact me freely.

SalesForce Online Trainings:

SalesForce Administrator
SalesForce Developer
SalesForce Advance Developer
SalesForce Consultant

Combo Course for SalesForce Admin + Developer
Combo Course for SalesForce Admin + Advance Developer

All IT Trainings available online with experienced trainers at flexible timings on week-days and on week-ends[24*7].

For more guidance, reach me at:

http://www.amitgoyal09.blogspot.com
http://www.salesoncloud.blogspot.com
nicsplacement@gmail.com
linkedIn, Twitter, IM by name amitgoyal09


Thanks,
Amit Goyal
Online Trainer and SalesForce Developer
(SalesForce, MCA, BCA,RHCE)

Monday, November 28, 2011

Exception : Can't use Setup and Non-Setup DML Operation in same Context

Topic In Detail: We face this situation sometime when we want to use DML opertaion in SetUp Object(like user) and Contact (like Contact or any custom Object) as well. but that we got this error.

Solution:

Use Future class to resolve this Exception.

What is Future Class:

This is a class with added syntax(@future) like we do in testclass (@isTest), and in this future class u can use DML exception on any one of them.

So it will add the DML in your batch process / process heap and will execute this DML after some time.

so this way u can change the context of both of them and resolve this issue.

For more guidance, reach me at:
http://www.amitgoyal09.blogspot.com
http://www.salesoncloud.blogspot.com
nicsplacement@gmail.com
linkedIn, Twitter, IM by name amitgoyal09

Thanks,
Amit Goyal
Online Trainer and SalesForce Developer
(SalesForce, MCA, BCA,RHCE)

Thursday, November 24, 2011

Ineternet Explorer Rendering issues

Topic In Detail: When we render different-diffrent sections or some particular area on click of some event or some event. all functionality is working fine on all browser but not on IE 6 or upper version.

Solution:

Try to avoid the static content and dynamic content in the same container like table or block or outputpanel.

Don't refresh the complete page in some event.

Put the content in some section which you want to render and if you are using two outputpanel to render based on some flag, then place all of them to render on a parent outpanel to reRender.

This way, you can solve the rendering issues in IE.

For more guidance, reach me at:

http://www.amitgoyal09.blogspot.com
http://www.salesoncloud.blogspot.com
nicsplacement@gmail.com
linkedIn, Twitter, IM by name amitgoyal09


Thanks,
Amit Goyal
Online Trainer and SalesForce Developer
(SalesForce, MCA, BCA,RHCE)

Monday, November 21, 2011

SalesForce: OutputPanel Rendering Issues

Query In Detail:
It you are trying to use rendered and reRender property of some container like outputpanel, pageblock or pageblocksection and you are finding some issues.

Solution:
Keep one thing in your mind while developing some application and at time of developing some

VisualForce Page, that you cant use reRender property of some container if you rendering that

section based on some flag or condition.

So what u should do to resolve that issue, just place that container on some parent container and

reRender that parent container so that the particular parent container will get refreshed on that

particular event and you child container will set with the updated values.


For more guidance, reach me at:

http://www.amitgoyal09.blogspot.com
http://www.salesoncloud.blogspot.com
nicsplacement@gmail.com
linkedIn, Twitter, IM by name amitgoyal09


Thanks,
Amit Goyal
Online Trainer and SalesForce Developer
(SalesForce, MCA, BCA,RHCE)