function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SurenderSurender 

Calling VisualForce page from Home Components of type HTML - Urgent!!!!

Hi,

 


While creating Home page Components i choose component of Type HTML Area to display it in wide region.

 

From this i want to call Visual Force page for that i wrote like below

 

<HTML>

<a href=URL.getSalesforceBaseUrl().toExternalForm()+'/apex/UsePolicyTest'>Click Here</a>

</HTML>


But it is showing as is in the Home Page and it is not calling VisualForce Page.


Can anyone please share ideas on how to call Visual Force Page from here..

ajmerakavitaajmerakavita

While developing component make sure to check 'Show HTML' checkbox.

Also following code should work -

<html>
<A href='/apex/UsePolicyTest'>Click Here</A>
</html>

This will give u link and on click of it will call your VF Page.