function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mmixmmix 

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):

 

 

apex/Page_BillItem?CF00N70000001gTH4=1018617&CF00N70000001gTH4_lkid=500S0000000nvZx&scontrolCaching=1&retURL=/500S0000000nvZx

 

 

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
scottious888scottious888
I'm having the same problem. Any fix on this one yet?