You need to sign in to do that
Don't have an account?
Dharshni
How to get field-ID dynamically?
I am trying to prepopulate values in a standard page using field-IDs. I have hard-coded the field-ID. I am not sure - if when I move the code to other orgs/package it, will the field-ID work? Is there anyway I can get the field-ID dynamically?
The link which I use currently is :
onclick="window.parent.location.href='/a0U/e?CFxxxxxxxxxxxxxxx={!account.Name}&CFxxxxxxxxxxxxxxx_lkid={!account.Id}&retURL={!account.Id}'"
Any ideas on this would be really helpful.
Thanks.
Hi..
Use custom labels for this.So the custom label with same name will have different values one in Sandbox and other in production.
Regards,
joshisrik@gmail.com