Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > send user notification from server code

Forum

Search UsersRules
send user notification from server code
#1
Active user
Points:: 0
Joined:: Feb 9, 2016

Hi,

Is there a way to send a user notification to one of the users from the server side.
So, I want to create or send user notification from a common module server code. For example, lets say I know I know I have user1 and I know user1 is currently working with live session on the application and I want to send user1 a notification from the common module or I want to open a specific document on his interface.
is there a way to do it? Iam using 8.3.15

Profile
#2
Active user
Points:: 0
Joined:: Oct 4, 2018

Hello!
CollaborationSystem will help you. But collaboration system server is required.

Profile
#3
Active user
Points:: 0
Joined:: Mar 29, 2016

Hi,

You can add notification on InformationRegister and check, then show notification form.

Example:

- In Managed Application Module

Code
Procedure OnStart()
   AttachIdleHandler("CheckAndShow",60);
EndProcedure


Procedure CheckAndShow() Export
   If Not  SessionControl.GetNotificationFormActive() Then
      OpenForm("CommonForm.NotiForm",Parameters);
      #If ThinClient Then
         Beep();
      #EndIf         
   Endif;
EndProcedure

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.