You need to sign in to do that
Don't have an account?
Reid Maulsby
Prepopulation Help
Hello
I've read various postings on this subject, but this just isn't working for me. I'm replace the New button on a custom object (being created from another custom object). It's is automatically linking the two custom objects, but I'm trying to pull the Account link to the child custom object.
When I run the code, the URL is showing the correct IDs that I'm trying to populate, but the variables are not passing any information, and the page goes into an infinate refresh loop.
Here is the code that I'm running:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<script language="JavaScript">
function redirect ()
{
parent.frames.location.replace('/a0P/e?retURL%2F{!SFDC_Acct_Plan__c.Id}&CF00NT0000000rFro_lkid={!SFDC_Acct_Plan__c.Id}');
}
{
parent.frames.location.replace('/a0P/e?retURL%2F{!SFDC_Acct_Plan__c.Id}&CF00NT0000000rFro_lkid={!SFDC_Acct_Plan__c.Id}');
}
redirect();
</script>
</script>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is setup as an HTML s-control.
Any and all help/insight is greatly appreciated.
Thanks
Reid