Hi,


How can i do a message dialog in a server action? Is it possible?


Thanks 

Pedro



Hello Pedro.

Like the name says, server actions work only on the server. If you want to do things on the screen, you must use screen actions.


Screen actions can call server actions because the server is always there.

Server actions can't call screen actions because they don't know if there is a screen at all. They may have been called by a trigger, or a timer or an expired session.


The only option I see is if the server action returns an output to what called it and if that caller is a screen action, then the screen action deals with sharing it with the user.


What is your goal for this?

Pedro Neves wrote:

Hi,


How can i do a message dialog in a server action? Is it possible?


Thanks 

Pedro



Hi Pedro,


Could you please share more details What you exactly want to acheive?


Thanks,

Salman Ansari



Pedro Neves wrote:

Hi,


How can i do a message dialog in a server action? Is it possible?


Thanks 

Pedro



Hi Pedro can you give us more information about what are you trying to achieve? upload some pic or the oml. thanks


Pedro Neves wrote:

Hi,


How can i do a message dialog in a server action? Is it possible?


Thanks 

Pedro




Hi,

If I understand correctly, you want to achieve Dialog box-like javascript.

If yes, you have to create a new PoP screen and design/call it accordingly.

JitendraYadav wrote:

Pedro Neves wrote:

Hi,


How can i do a message dialog in a server action? Is it possible?


Thanks 

Pedro




Hi,

If I understand correctly, you want to achieve Dialog box-like javascript.

If yes, you have to create a new PoP screen and design/call it accordingly.

Hi,

Thanks very much for all the answers. 

That's right. I intended to implement a confirmation message (something automatic like the feedback message) instead of create a new pop up.

Thanks

Pedro