You need to sign in to do that
Don't have an account?
jbjb
Custom Components and the Record in Context?
What's the best, or most straightforward, way for a custom component to get details about the record in context in the enclosing VisualForce page? Or at least the record ID? Will the record ID always be found in the "ID" parameter of the enclosing page?
Thanks
for pages with a standard controller , yes the ID is available, or it is a new record.
if you want the component to be used in other controllers, it may not be there. you can specify the ID as a required attribute , then it will always be passed into your component , from whatever page would like to use it.