Skip to main content

Using templates as a static service

A template linked to a service can serve static content without any package processing the request. This is useful for simple HTML pages that don't need dynamic data.

Setup

  1. Create a service of type Basic UI form.
  2. Create a template with render mode None and set the HTML field to your static content.
  3. Link the template as the GET template of the service.

Since no package has a trigger linked to the service, the template is served directly when a user accesses the service URL.

Example: Static HTML page

Template (service-desk-info, render mode None):

<h1>IT Service Desk</h1>
<p>Welcome to the IT Service Desk portal.</p>
<ul>
<li>For urgent issues, call extension 1234.</li>
<li>For general inquiries, submit a request.</li>
</ul>

Link this template as the GET template of your service. The page is served as-is when users navigate to the service URL.