Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Leverage your QlikView investment to modernize BI – see how! Join Group
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Creator II
Creator II

Security Without Section Application

Hi guys,

What will happen if  i use Section Access; but comment the Section Application; line ?

Is Section Application; line must be there ?

Thanks in advance

3 Replies
Highlighted
Creator III
Creator III

Re: Security Without Section Application

It will not work, section application needs to be there in order for it to be applied,

Be sure to make a backup copy of your QVW before playing around with any section access related changes.

Highlighted
Specialist
Specialist

Re: Security Without Section Application

Yes, Section Application line should be there. If you are adding section access then there should be some thing on which you are going to apply that security.

Highlighted

Re: Security Without Section Application

It's a bit more nuanced than that.

The Section Application; statement doesn't have to be present if...

  • you're not using the Section Access; statement. Section Application; is the default at the start of your script, even in the hidden script.
  • the Section Access; statement appears near to the end of your script, and there are are no more regular statements after Section Access; In that case all statements appearing before the Seciton Access; statement are parked in an "implicit" Section Application; area because that's the default area at the start of your Load scirpt.

Section Application - being the default at script start - is usually omitted altogether from scripts without security.

Scripts that have only Section Access; won't do many useful things (if any at all) because your document will end up without a data model... But I can imagine that a document with just a series of buttons that pass control to other documents (document chaning) won't need a data model and will do just fine with only a Section Access; statement