I don't understand how to use the owner id field with a variable.
I want to let only the user that created a record, edit it.
In the edit event / Permission owner id field I tried to put a function or a var that should retrieve the user_id from the table. But how can I put "something" that returns a value in that field if there's no function that can do that in CC6 (to my knowledge).
I created a php function that retrieves the user_id of a record and returns the value but:
{fn:get_user_id} doesn't work
{var:get_user_id} doesn't work
{fn:get_user_id}{var:get_user_id}
The function works in other contexts (if I put {fn:get_user_id}{var:get_user_id} in the content field of the event I get the user_id).
What is the right way to accomplish that?
Thank you
maxx
I want to let only the user that created a record, edit it.
In the edit event / Permission owner id field I tried to put a function or a var that should retrieve the user_id from the table. But how can I put "something" that returns a value in that field if there's no function that can do that in CC6 (to my knowledge).
I created a php function that retrieves the user_id of a record and returns the value but:
{fn:get_user_id} doesn't work
{var:get_user_id} doesn't work
{fn:get_user_id}{var:get_user_id}
The function works in other contexts (if I put {fn:get_user_id}{var:get_user_id} in the content field of the event I get the user_id).
What is the right way to accomplish that?
Thank you
maxx