| Products | Versions |
|---|---|
| Spotfire Analyst | 7.5 and above |
from Spotfire.Dxp.Application.AnalyticItems import BookmarkManager bookmarkManager = Application.GetService(BookmarkManager) for b in bookmarkManager.GetBookmarks(): if b.IsPublic==True and b.Author=="abc": #Author is the user name/user id of bookmark creator. It is not display name of user. c=bookmarkManager.SavePrivateCopy(b) bookmarkManager.SetPublicVisibility(c,"true") #If you intend to change the visibility of the private bookmark copy to public
You can even modify the above script to pass specific bookmark names to change visibility or make private copies. See BookmarkManager Class Spotfire API for other methods as well
Delete Bookmarks:Disclaimer: The content of this article is for informational purposes only. The subject material may change in any new versions with no notice and there is no responsibility by TIBCO to maintain or support future access to this internal application content. Modification of any internal application content is not recommended and can lead to an unsupported configuration. It is not intended to be used "As Is" in a Production environment. Always test in a Development environment.