Setting PrivilegedMode In Client

Understanding basics of 1C:Enterprise platform. To start working with 1C:Enterprise platform visit Getting started page

#1
People who like this:0Yes/0No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

Hi.

I have a code that work OnSarting the system.
In that code Opening some form. In system there are much Roles (so I don't want to specify for each role availibility of that form).

As at server function or prosedür I can use method SetPrivilegedMode, but at client it's not working. I just want to set PrivilegedMode at client for opening the common form.

Code
Procedure SelamlamaMesajİşlemleri() Export 

   CariTarih = CurrentDate();
   
   If BaşlangıçModülü_Sunucu_Hr.SelamlamaMesajKontrolü(CariTarih) Then
      
      Formumuz = OpenForm("CommonForm.ProgramaGirişteKarşılamaFormu", , , 
                           WindowOpenVariant.SingleWindow);
      
      AttachNotificationHandler("glGenelNotificationProsedürü");
      
   EndIf;              
   
EndProcedure

 
#2
People who like this:0Yes/0No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

Is there a way to do that? Or I should specify availibility of form for each role?

 
#3
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Sep 3, 2012
Company:

Yes, you should specify availability for each role, or create separate role for this purpose.

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.