Using hotspots to create weblinks

Attribute(s)

  • Hotspot

    Description

    When using links on the web, you should use hotspots in order to create the link.

    Motivation

    Hotspots can be used in different kind of ways. For example you can create hotspots on text or images. When you're using frames, you should also specificy the frame where the document/form/view should be opened.

    Example / Details

    This code assumes that the URL you wish to open is in the same database as the
    production environment which the user is accessing.

    Db:=@ReplaceSubstring(@Subset(@DbName; -1); '\\'; '/');
    @URLOpen('/' + Db + '/NameOfTheForm?OpenForm\'target =\'NameOfTheFrame')

    Or:
    @URLOpen('/' + Db + '/NameOfTheView/NameOfTheDocument?OpenDocument\'target
    =\'NameOfTheFrame')

    Or:
    @URLOpen('/' + Db + '/NameOfTheView?OpenView\'target =\'NameOfTheFrame')