You need to sign in to do that
Don't have an account?
Capricorn
Finding Object type
Hi,
I've this issue where my custom s-control when dropped on a page layout needs to find the type of object it is on.
Such as if the control is on Case page layout, it should be able to get the {Case.Id} and if on the Account page should be able to access {Account.Id}. I can put if else statements as long as i can find out the type of Object the control is called from.
I have an alternative solution, i.e. to create several controls, specific to an object type, but i would like to re-use code as much as possible and have one solution.
Regards
I've this issue where my custom s-control when dropped on a page layout needs to find the type of object it is on.
Such as if the control is on Case page layout, it should be able to get the {Case.Id} and if on the Account page should be able to access {Account.Id}. I can put if else statements as long as i can find out the type of Object the control is called from.
I have an alternative solution, i.e. to create several controls, specific to an object type, but i would like to re-use code as much as possible and have one solution.
Regards
- Ed