Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

RECORD_ID and record_id

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
shuray
Posts: 30
Joined: Sun Apr 23, 2023 3:36 pm
Has thanked: 10 times
Been thanked: 5 times

RECORD_ID and record_id

Unread post by shuray »

Hi!
I found out that in the hash sometimes there are 'RECORD_ID' and 'record_id' variables. What is the differece?

Thx
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: RECORD_ID and record_id

Unread post by kev1n »

Hi,

In general, you should use #RECORD_ID# in PHP BS, AS, BE etc. events as well as in Browse SQL. This Hash Cookie will be replaced with the primary key of the record that is being opened in an edit form,

When running a procedure using nuRunPHPHidden() or nuRunPHP(), use the Hash Cookie #record_id#, which will contain the primary key of the record being edited in the form.
Post Reply