UI Action Condition - show only for existing record

pawel_staszewsk
Giga Guru

Hi.

I need a button (UI Action) to show only when record is already saved (exists in DB).

There is function like event("update") that returns   true : false that fits perfectly to my condition requirements, but

i forgot that function name

Please remind me and also if you know the docs URL that documents these and similar, that would be helpful.

Thank you,

Pawel.

1 ACCEPTED SOLUTION

Arindam Ghosh
Mega Guru

Here you go:



Put Condition: !current.isNewRecord()



find_real_file.png



Thnks,


Arindam


View solution in original post

4 REPLIES 4

snehabinani26
Tera Guru

Hi Pawel,



There is a checkbox "Insert" on UI action. Please make sure it is unchecked.


Depending on the release in case you don't see that option then you can control it via UI action condition i.e


!current.isNewRecord()


Arindam Ghosh
Mega Guru

Here you go:



Put Condition: !current.isNewRecord()



find_real_file.png



Thnks,


Arindam


Arindam Ghosh
Mega Guru

If I answer your question please mark the answer correct to remove it from unanswered list.



Thanks,


Arindam


pawel_staszewsk
Giga Guru

for sake of properness



!(current.isNewRecord())



thank you all.



Pawel.