Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > How to disable Output right from the Script

Forum

Search UsersRules
How to disable Output right from the Script
#1
Just came
Points:: 0
Joined:: Nov 22, 2013

Hello,

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

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

Profile
#2
Guest
Points::
Joined::

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?

Profile
#3
Just came
Points:: 0
Joined:: Nov 22, 2013

We found it.

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

Thank you for response...

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.