Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Why can not I transfer the variable in the method RecallDocBookmark() from PowerShell

    $QvDoc.RecallDocBookmark("Rep_042_1");


OK 


But
    $n="Rep_042_3"

    $QvDoc.RecallDocBookmark($n); 

Error

Сбой вызова метода из-за отсутствия в [System.__ComObject] метода с именем "RecallDocBookmark".строка:21 знак:5

+     $QvDoc.RecallDocBookmark($n);

+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : MethodNotFound

1 Solution

Accepted Solutions
Not applicable
Author

  $QvDoc.RecallDocBookmark("$n"); 

View solution in original post

1 Reply
Not applicable
Author

  $QvDoc.RecallDocBookmark("$n");