Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Automatic export of QVF

Hi to the community!

We would like to know if it's possible to export automatically a qvf. We would like to do a versionning and a back up everytime there is a modification we're doing.

I found an interesting answer on a conversation, but I would like to know is it something we need to developp, or is it already integrated for Qlik ?

Re: Auto / Batch Export apps to qvf from Qlik Sense Server

We do a copy of the app before doing a single modification, and the suppress it when it is validated.

We know how export from the qmc manually, but is there a possible trigger (like for the daily, hourly load) for the app export automatic?

Thanks a lot!

Elise

2 Replies
agigliotti
Partner - Champion
Partner - Champion

if you are interested in versioning of Qlik Sense App take a look at this extension Qlik Branch

it could be a good starting point.

m_s
Partner - Creator II
Partner - Creator II

Hello Elise,

maybe not what you are looking for but you could just use a powershell script to automatically copy apps to a different folder when they are modified:

$appPath = "D:\SenseRoot\Apps\"

$watcher = New-Object IO.FileSystemWatcher

$watcher.Path = $appPath

$watcher.EnableRaisingEvents = $true

$watcher.IncludeSubdirectories = $false

$watcher.NotifyFilter = [IO.NotifyFilters]'FileName, LastWrite'

Register-ObjectEvent $watcher "Changed" -SourceIdentifier SenseAppChanged -Action {

$ext = [System.IO.Path]::GetExtension($eventArgs.FullPath)

if ($ext -eq ".lock") { return }

Copy-Item -Path $eventArgs.FullPath -Destination C:\tmp\backup\ -Force

write-host "Created backup for: $($eventArgs.FullPath)"

}

Regards,

Mathias