Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How to activate bookmark in macro.
hi,
first create a bookmark
and then use apply bookmark macro and use bookmark id as 'document\BM01'
thanks
Try this:
ActiveDocument.RecallUserBookmark "MyBookmark"
More help you can find on API Guide in ..Program Files\QlikView\Documentation
Take care,
Justinas
Its works..Thanks for immediate reply..
hi,
first create a bookmark
and then use apply bookmark macro and use bookmark id as Document\BM01
where BM01 is the objectid of bookmark created.
thanks
thanks for the post. It answered my question as well.
First create your bookmark named 'default' and then try to apply bookmark in POWERSHELL SCRIPT as example
$sModelName = "qvp://00337/Анализ котировок .qvw"
$ChartID = "CH29" # ='Статистика Расчет/Договор'
$qv = New-Object -comobject QlikTech.QlikView -strict
$Doc = $qv.OpenDoc($sModelName)
$Doc.ClearAll($True)
$Doc.RecallDocBookmark("default")
$Doc.Fields("%Измерение3").select("ЦФО")
$chart = $Doc.GetSheetObject($ChartID)
$vDestination = $Doc.Variables("vDashBoardDir").GetContent().String
$fileName = $vDestination + "\Экспорт для DB из Анализ котировок КАСКО по ЦФО.qvd"
$chart.ExportEx($fileName,4)
$Doc.CloseDoc()
$qv.Quit()
If possible, can you please convert the above in English?