To open a link in a new tab, the operation must return the URL in the new_tab field. This is useful, for example, if the operation creates a new document and we want to open it, without refreshing the screen from which the user has executed the operation.
Example of an operation return:
return {
'msg_type': 'success',
'msg': 'The operation has been executed successfully',
'new_tab': '(URL to be opened)',
}
Comments
0 comments
Please sign in to leave a comment.