Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Dashboard
TIM Professional
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<p>The built-in web server has an integral reporting extension that allows you to produce a full report in HTML format and deliver it direct to a web browser. This reporting script is accessed using the standard CGI (Common Gateway Interface) protocol.</p><h4>How it works</h4><p>The parameters of the required report are being passed to the web server, including the ID number, the period (date and time), and any other required parameters, the report is being generated and then sent back to the web browser window.</p><p>The reporting script, is invoked by sending CGI variables to the <img class="editor-inline-macro" src="/plugins/servlet/confluence/placeholder/macro?definition=e2tleXdvcmRtYWNybzpMYWJlbD1odHRwOi8vdGltLnlvdXJjb21wYW55LmNvbS9yaGRsLmV4ZX0&locale=en_GB&version=2" data-macro-name="keywordmacro" data-macro-parameters="Label=http://tim.yourcompany.com/rhdl.exe"> object, where <span class="keyword">tim.yourcompany.com</span> is the host name of the machine running the TIM web server.</p><p>The report parameters can be passed by the standard <span class="keyword">GET</span> and <span class="keyword">POST</span> methods. Using the <span class="keyword">GET</span> method, the parameters can simply be passed to the <span class="keyword">RHDL.EXE</span> object on the URL, as a hypertext link, or typed directly into the web browser's address bar. For example, <img class="editor-inline-macro" src="/plugins/servlet/confluence/placeholder/macro?definition=e2tleXdvcmRtYWNybzpMYWJlbD1odHRwOi8vdGltLnlvdXJjb21wYW55LmNvbS9yaGRsLmV4ZT9yZXBvcnRpZD01JnBlcmlvZD1sYXN0bW9udGh9&locale=en_GB&version=2" data-macro-name="keywordmacro" data-macro-parameters="Label=http://tim.yourcompany.com/rhdl.exe?reportid\=5&period\=lastmonth"> would return a full Call Geography report based on the calls made in your organisation over the last month.</p><p>Using the <span class="keyword">POST</span> method requires an HTML form to be produced. An example of the same Call Geography report is described below:</p><table class="wysiwyg-macro" data-macro-name="code" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2NvZGV9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre><html> <body> <form method="POST" action="http://tim.yourcompany.com/rhdl.exe"> <p>ID <input type="text" name="reportid" size="20" value="5"><br> Period <input type="text" name="period" size="20" value="lastmonth"></p> <p><input type="submit" value="Submit"></p> </form> </body> </html></pre></td></tr></table><p>In this example, the user is allowed to enter manually the ID and period of the report, for maximum flexibility.</p><p>An array of SSI variables can be used in your HTML code to automatically insert a drop-down list of valid report periods. The variables are described in the <a class="confluence-link" href="/display/professional/Server-side+includes" data-linked-resource-id="7242141" data-linked-resource-type="page" data-linked-resource-default-alias="Server-side includes" data-base-url="http://localhost:8090">Server-side includes</a> section.</p><p>Further, there may be times when a drop-down list is needed in your HTML page that holds a list of all the extension groups that have been set up. Clearly, a static HTML page would not suffice here because the list of extension groups may change. In this case, you must use the server-side variable named <span class="keyword">#SSI_EXTNGROUP</span> to do this for you.</p><p>The difference between actioning a report using the <span class="keyword">POST</span> method instead of the <span class="keyword">GET</span> method is that the parameters you send to the <span class="keyword">RHDL.EXE</span> object are hidden from your web browser's address bar. This can sometimes be desirable from a security point of view.</p><p> </p>
Attachments
Labels
Location
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced