Hi,
I am trying to use process_record logic hook for detail view but nothing is happening in detail view
But its working for list view.
Does it work for detail view also ?
Please any body suggest me !
Thanks
Hi,
I am trying to use process_record logic hook for detail view but nothing is happening in detail view
But its working for list view.
Does it work for detail view also ?
Please any body suggest me !
Thanks
For detail view try to use before_retrieve, it should works.
Rafael Queiroz Gonçalves
Advanced OMG UML Certified Professional
Sun Certified Enterprise Architect for the Java Platform
Sun Certified Programmer for the Java 2 Platform
IBM Certified Advanced Application Developer - Lotus Notes and Domino
IBM Certified Application Developer - IBM WebSphere Portlet Factory
Computer Science Mastering / UFSC - PPGCC
Thanks !
Its working for detail view.
Control is coming in logic hook before page is redirected to detail view.
But inside logic hook function i put following code , which is not working........
$bean->description="Custom description";
The assigned value is not displaying in detail view..
And another thing is its working for both edit and detail view.
so how to distinguish b/w edit and detail view.
Its $bean is empty also.
Thanks
You have to apply after_retrieve logic hook to achieve the above mentioned functionality .
HI
Process_record hook will only execute in listview and subpanel of detailview.
Please try after_retrieve hook instead of process_record hook for detail view.
In this when detailview record is retrieved your hook will fire and what ever you want to code it will execute.
And then whatever you want to update you can set it to $bean-> object so you can view its reflection in detailview.
Regards
Hiren Prajapati
for details view you can use before_retrieve or after_retrieve
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks