URLs for AccuRev® Elementshttp://<server:port>/accurev/webgui/browse(optional) The path to an AccuRev element within a stream.(required if there are parameters) The question mark (?) character is used to separate the parameters from the rest of the URL.Parameters identify what element versions will be acted on and how. They are shown as name=value pairs. Multiple parameters are separated by the ampersand (&) character.
•
• content: Opens the element in the Web UI. If no view parameter is specified, the view defaults to content.
• render: Renders the contents of the given element in the browser window if possible; otherwise calls the appropriate program to display the element based on operating system file type associations.
• eid: The element ID.
• v: The element’s virtual version, which must be specified in the proper AccuRev format (<stream#>\<version#>, for example, 148\2). If it is not present, the URL retrieves most recent version of the element in the given stream.The view=render parameter suffices for many types of content that require external programs to display. Web pages, which contain references to images, stylesheets, and other embedded content, require a different approach. For best results when rendering web pages with embedded content referenced using relative links, remove the view=render parameter and construct the URL starting with http://<server:port>/accurev/webgui/browse/*render*/.(renders the contents of the most recent version of DevPlan20.html in a Web browser, including images in the Web page that are stored in the plans\images subdirectory)Some absolute URLs that reference an AccuRev element or element comparison are constructed so that they always display the same content. These permanent URLs, which contain references to both the element ID and version, will always return the same element version regardless of any further work done on the element. To construct a permanent URL, both the depot and stream must be specified with numerical IDs (not names), and the URL must include both element ID (eid) and version parameters. The sole exception to this is in the case of an URL referencing a snapshot stream. Since snapshots are immutable, all URLs that specify a snapshot are permanent.
Micro Focus |