Another Salesforce blog!!!

Salesforce, Apex

calling visualforce page from weblink


if("{!myobject__c.OwnerId}" == "{!$User.Id}"){ 
window.parent.location.href='/apex/mypage?id={!myobject__c.Id}';
}else{ 
alert("{!$Label.labelalertmessage}"); 
}

Leave a Reply

Your email address will not be published.

*