Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Not applicable

How to close data source dialog box while creating a QVW using VB Script

Hi,

How to close data source dialog box while creating a QVW using VB Script, i Know if we un check "Getting Started Wizard" then it wont show the dialog box but how can i un check that flag using VB script.

Thanks

Tags (2)
11 Replies
MVP
MVP

Re: How to close data source dialog box while creating a QVW using VB Script

Hi

I don't know if that is possible. It is a user preference, not a document setting.

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable

Re: How to close data source dialog box while creating a QVW using VB Script

Hi jonathan,

Thanks for your reply, we can access the user preference from set User = qv.GetUserPreferences right , but i am unable to find the flag name of "Getting Started Wizard" in user preferences.

MVP
MVP

Re: How to close data source dialog box while creating a QVW using VB Script

Me neither. The users settings are saved in a text file in ProgramData or Users. But why you do you need to change this programmatically?

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

Re: How to close data source dialog box while creating a QVW using VB Script

Try this:

set up = ActiveDocument.GetApplication.GetUserPreferences
up.UseFileWizard = true ' false
ActiveDocument.GetApplication.SetUserPreferences up

- Marcus

Not applicable

Re: How to close data source dialog box while creating a QVW using VB Script

When i am creating qlikview dynamically it is asking for getting started wizard dialog box.  i dont want that to be open ..

Not applicable

Re: How to close data source dialog box while creating a QVW using VB Script

Hi Marcus,

         UseFileWizard is for table files in edit script right. when we click on create button it wil open a dialog box right i dont want that dialog box to be opened.  i need to uncheck the getting started wizard in user preferences through script. can you please tell me where can i find this options like UseFileWizard.

Re: How to close data source dialog box while creating a QVW using VB Script

I think there isn't a documented way to access this per vbs - maybe you could access/changed it per easter egg but it would be rather a nasty trial and error:

EasterEgg.jpg

Maybe you could use as alternatively to copy and open an already exists qvw and changed it then (change load/modul script, import layouts, whatever ...).

- Marcus

Not applicable

Re: How to close data source dialog box while creating a QVW using VB Script

ya marcus now i am doing copying existing qvw into new qvw but i wanted to know that there is any approach to do that . thanks for that and how can we know the vb script methods for qlik view.

Re: How to close data source dialog box while creating a QVW using VB Script

You could find many examples and explanations into the APIGuide.qvw in your install-folder (by automation).

- Marcus

Community Browser