Hi I have portal on my project and I want to add new portal row with the script (no allow creation with relation)
please tell me how can I
Set Variable [ $id ; parent::primarykey ]
go to layout [ child ]
set field [ child::foreignkey ; $id ]
go to layout [ original layout ]
heres my favorite way to do it
Well that is easier! I assume you're using 'magic key' with timestamp field?
Learned it from Ray Cologons demos a long while back.
It relies on the fact that you can set values in fields that do not conform to the specified data types to form temporary relationships.
The benefit is that you don't need to change context to create children records.
Never have to worry about triggers on other layouts.
The main detraction is that it requires extra TO's and calc fields.
Just Plain Simply Magical !!
Retrieving data ...