can we use g_modal from business rule in workspace

MaharshiC
Tera Contributor

Hi,

 

Can we use g_modal from business rule in workspace or is it just client side?

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@MaharshiC g_modal can't be used in a business rule. It is a client side object.

View solution in original post

2 REPLIES 2

Sandeep Rajput
Tera Patron
Tera Patron

@MaharshiC g_modal can't be used in a business rule. It is a client side object.

Uncle Rob
Kilo Patron

From Docs:  g_modal (client)
Beyond that, the whole purpose of invoking a modal is to force an interaction with the client.
Client stuff can only happen client side.
A business rule (on display notwithstanding) is specifically to perform server side operations on the server.  How could it invoke a modal when the client interaction is, by definition, complete?