The 1C:Enterprise developers forum

#1
People who like this: 0 Yes / 0 No
Just came
Rating: 1
Joined: Nov 22, 2013
Company:

Hello,

Can we change the Output property/role setting by code ?

For a Catalog ListForm... Also for a specific role !?

Edited: Veli Bıçakçı - Apr 17, 2014 05:31 AM
 
#2
People who like this: 0 Yes / 0 No
Timofey Bugaevsky
Guest

Joined:
Company:

Just to make sure that I got your question: you need to let some user to output lists as spreadsheets for most objects, but disallow doing this for some particular object, right?

 
#3
People who like this: 0 Yes / 0 No
Just came
Rating: 1
Joined: Nov 22, 2013
Company:

We found it.

Code
If IsInRole("...") Then
     
    Controls.FormActions.Buttons.Actions.Buttons.TableImport.Enabled = False;
       
EndIf;

Thank you for response...

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