HOOKS $data['selectedID'] question

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
jeffc
Posts: 1
Joined: 2013-01-17 03:34

HOOKS $data['selectedID'] question

Post by jeffc » 2013-01-17 03:50

I am working on a HOOKS application where i need to pull some of the records data to perform validation with. In this case the $data['field'] function is working fine. I am able to access all the content that i need. I have a problem with collecting the records identity via $data['selectedID']. I am not able to get any results when using the selectedID or in trying to obtain the counter value (counter is the field defined as the Primary Key).

The function i am using is: function user_access_after_update($data, $memberInfo, &$args). ECHO $data['selectedID'] followed by DIE() yields no data but ECHO $data['field'] followed by DIE() echos the correct data.

After chasing this all day i am looking for any suggestions? :shock:

Thanks

User avatar
a.gneady
Site Admin
Posts: 1107
Joined: 2012-09-27 14:46
Contact:

Re: HOOKS $data['selectedID'] question

Post by a.gneady » 2013-01-19 17:43

Umm ... that sounds strange ... could you send me the project file to check this?
:idea: Calendar plugin: Organize your data into beautiful calendars.
:arrow: Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
:arrow: Summary Reports plugin: Build powerful reports and charts for your AppGini apps.
:arrow: Search Page Maker: Compose user-friendly yet powerful search pages for your AppGini apps.

Post Reply