+ Start a Discussion

Invocation of standard controller pages from related lists

Me again with my GP_Bill_Item. I now have a VF page and an extension class and new/edit has been replaced for the SOBject and it all works great.


Now, there is a related list of bill items on the case page layout (for all the bill items for that case) and there is a "factory" New button which when clicked calls my page by default (since New has been overriden with my page). I see that case's ID is embedded in the URL of the page call (bold italic):






but as far as I can see it does not set the GP_Bill_Item.Case__c field automatically. Is there a way to reach this value from somewhere? I would rather not guess at the querystring name as it does not seem very "friendly" (italic) or for that matter stable. I need all this so I can lockdown the account/case field if invoked from a specific case.

Message Edited by mmix on 02-02-2009 06:04 AM
I'm having the same problem. Any fix on this one yet?