How to trigger client.interface.trigger() in iparam.js

Hi Team,

I have to trigger client.interface.trigger() function in my iparam.js. i’m getting TypeError: Cannot read properties of undefined (reading ‘trigger’)

I added my script file in my iparams.html

<script src="{{{appclient}}}"></script>

i created my client object in my iparam.js like this

this is my code in iparam.js to show Notification



anyone can help me to sort this issue ?

Hello @Kithiyon ,
Thank you for your patience. I checked the issue that you are facing and found this in the documentation

Note: In the custom installation page, only Request method and SMI are supported by the platform and can be used by initializing the client.

Refer this

I also verified this locally and found that we do not support interface methods in the Custom Installation Page. Refer Image Attached for Reference

Hope this helps :slight_smile:

Thank you @Kunal_Singh

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.