Contents MDDB Report Viewer Methods Previous Next

_OUTPUT_ADDTOFAV_FUNCTION_ Method

Outputs the addtofav JavaScript function on the toolbar page

When a user selects the Bookmark button, the addtofav function saves the URL in the browser's bookmark list.

Syntax

 CALL SEND(OBJID,'_OUTPUT_ADDTOFAV_FUNCTION_');

Example

The following output is produced:

function addtofav(varName){
  LinkName=window.document.title;
  with (window.parent.table_window) {
    linkUrl=eval(varName);
  }
  window.external.AddFavorite(linkUrl,LinkName);
}

Contents MDDB Report Viewer Methods Previous Next