Hide UI Action button from being visible on records not yet created

ronro2
Tera Contributor

Hello guys! 

I have trouble hiding a UI action button from being visible while a record is being created. 

I have tried with the following condition to hide it, but it's not working: current.state == 'open' && !current.isNewRecord()

 
Here is the UI action: 

ronro2_0-1742832441849.png


Here is where button "Scrolla till botten" should be hidden: 

ronro2_3-1742832677517.png


And here is where it should be visible only: 

ronro2_2-1742832615872.png


Any advice? What am I missing? 

Thanks in advance!

 

1 ACCEPTED SOLUTION
2 REPLIES 2

ronro2
Tera Contributor

Thank you mr @Dr Atul - LNG  🙂 It really worked!