• SunnyCarter
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi,
 
I'm trying to retrieve the url of an s-control from a homepage component using the s-control merge field
Below is the javascript:
 
function showQuoteWindow()
{
        var scontrolid = "{!$SControl.TF__Online_Company_Profile}";
       alert("scontrolid : " + scontrolid);
}
It doesn't seem to resolve the s-control merge field.
 
I'm able to retrieve the url when the merge field is included in a s-control called from the accounts detail page.
 
Thanks in advance.