> For the complete documentation index, see [llms.txt](https://community-test.logicnets.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://community-test.logicnets.com/release-9/platform-documentation/layout/custom-screen-layout-and-structure.md).

# Custom Screen Layout and Structure

In the case the standard layout with the prefined frame-set does not fit your needs, it is possible to define your own layout for your Portal Application.

Note that creating a custom layout requires advanced knowledge of general website development and how it ties in with the LogicNets frameworks. For minor changes, e.g. displayng an alternative browser tab text, it is easy to edit the default template, but otherwise it is recommend to request for professional services from LogicNets to support you.

Please follow the following steps to add your custom layout to your Portal Application. The screenshots relate to a Starter App example but can be applied to any framework requiring a custom layout. See the Custom Screen Layout article under Starter App Frameworks for more information and an example project.

**Step 1.** Create an HTML layout file and add it to your project. When you created your Starter Application from a template, you will have already have a custom\_layout in your layout folder that you can customize.

![](https://2802811211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdFhfexCjZ5JMhwGzzywq%2Fuploads%2Fgit-blob-035563cc0aadf9c7a46e464d96c73454b81f7532%2F6535f80d-4934-47e8-86da-3dece18e42e9.png?alt=media)

Pay special attention to the token containers, these must formatted as follows:

```
<div id="section1" class="section">
          <script type="text/javascript">
                 ajax.initialize_div('[[$sself]]', 'section1', { _token: 1, verb: 'force_step_nofp' });
          </script>
</div>
```

**Step 2.** In your project settings refer to the custom template layout ![](https://2802811211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdFhfexCjZ5JMhwGzzywq%2Fuploads%2Fgit-blob-4921835bb11d1f6c23972889faf6dfa0c6e896f3%2F95981ece-ca8c-4217-8772-9b317506539f.png?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://community-test.logicnets.com/release-9/platform-documentation/layout/custom-screen-layout-and-structure.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
