How to open Now Assist Side panel via script?

Ryada
Kilo Contributor

I want to open Now Assist panel on button click(declarative form action). 

3 REPLIES 3

Dr Atul - LNG
Tera Patron

Hi @Ryada 

I doubt it’s possible; I couldn’t find any documentation related to it.

Siva
Tera Expert

Hello Ryada, 

 

Not sure if you have got an answer to this yet, if so please let me know, but till patch 3 Australia this was working and after patch 5 it doesnot seem to work. 

 

There is an OOB Client script on Incident table , you can have a look at the same, 

Name : AIA notif - incident

viewPlanBtn = `<now-button label="${viewPlanMsg}" bare=true onClick="(function(e){e.target.dispatch('OPEN_UTILITY_MENU', { id: 'nowAssist', pin: false, additionalData: { conversationId: '${convId}' } }); })(event);">${viewPlanMsg}</now-button>`;