Hi,
the title is wrong, but I can not change it. It should be:
'After Safe Custom Script' is needed
I wrote a small script which updates some custom fileds in an entity from a linked account when it is saved.
In general this works, if I use 'Edit' and 'Save' in the entity.
The problem is, that the fields are not updated when I change the linked account after pressing update.
If I use something like
it works, but not if I try to replace a custom field with an entry from the new selected account.
Maybe the actual link is still the old one.
The following example replaces description with the value from the old account.description, but not with the description from the new selected account.
It looks that I need an 'After Save Custom Script'
How can I solve this?
the title is wrong, but I can not change it. It should be:
'After Safe Custom Script' is needed
I wrote a small script which updates some custom fileds in an entity from a linked account when it is saved.
In general this works, if I use 'Edit' and 'Save' in the entity.
The problem is, that the fields are not updated when I change the linked account after pressing update.
If I use something like
Code:
description = datetime\now();
Maybe the actual link is still the old one.
The following example replaces description with the value from the old account.description, but not with the description from the new selected account.
Code:
description = account.description;
How can I solve this?
Comment