I was working on a project with Oracle UCM (Web Center) and noticed there was no easy way to identify documents on a page being served from the content management system. After a couple weeks of hacking together some JavaScript I came up with a bookmarklet which toggles the visibility of tooltips on documents. The bookmarklet also supports double-clicking which opens the document information page.
Below is a screenshot of the tooltips in action. Click once to show the document ID. Click again on the bookmarklet to hide the tooltips. To use this feature create a bookmark and then paste the bookmarklet code into the URL. Give it a name and save. Move the bookmark to the bookmark toolbar for quick access. You will also need to add JQuery to your page fragment. Finally add a JS variable on your page called siteURL which is set using a substitution string to your site’s URL.
var siteURL = "[!--$URL_MY_WICKED_SITE--]";
Download Tooltips for UCM
This entry was posted in
ucm. Bookmark the
permalink. Follow any comments here with the
RSS feed for this post.
Comments are closed, but you can leave a trackback:
Trackback URL.