You need to sign in to do that
Don't have an account?
gbs10750
SControl Merge Fields in Homepage
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);
{
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.
alert("scontrolid : " + scontrolid);
var scontrolid = "{!$SControl.TF__Thomson_Online_Company_Profile}";
alert("scontrolid : " + scontrolid);
running the same javascripts above in a home page component results to
There is a hack-around that displays an sControl on the home page, and in the sControl, the merge fields and formula functions should resolve. Are you using the hack-around?
Can you let me know how to find the url of an S-Control so that it renders in a Home Page Component. My aim in the end is to be able to retrieve values from merge fields in an HTML Home Page Component. It sounds like including an S-Control which knows these values is the way, but I don't know how to put the S-Control in the component.
Thanks
Sunny