# Creating Custom Pages

{% hint style="success" %}
You must be in an on-prem system to add files to your install directory.  For Clients using SaaS, contact your Account Manager when your file is ready.
{% endhint %}

{% hint style="info" %}

### Before you start

You must have access to the system directory, and the files contained within it.
{% endhint %}

1. Identify the page which is closest in features and functionality to the one you want to create.
2. Navigate to the system files within your Install directory.
3. Make a copy of the file, using, Notepad++ or another similar program. Save the file, ensuring that the extension is HTM rather than HTML.
4. Make the necessary changes to the new file and save the changes.
5. In the **Self Service My Options** window in ASM Core, select the My Options menu you want to contain the new page.
6. Select **Custom Option** in the **Available Options** table, and add the new page as a custom option. See Creating and Updating Options for more details.
7. Go into the Self Service Portal to ensure that the new option is visible and working as expected.

You can also browse directly to the custom options, using the URL syntax&#x20;

{% code overflow="wrap" %}

```
http://<server_name>/<virtual_directory>/Core.aspx?lite&Form=Dashboard&HomePage=<filename>.
```

{% endcode %}

To create a custom page to take users to the online help, you could copy one of the LiteDashboard pages and rename the file.&#x20;

```
LiteDashboard_OnlineHelp
```

In **Self Service My Options** you enter:

```
&Form=Dashboard&HomePage=LiteDashboard_OnlineHelp
```

Users could also browse directly to the link, using:

{% code overflow="wrap" %}

```
http://localhost/<test>/Core.aspx?Lite&Form=Dashboard&HomePage=LiteDashboard_OnlineHelp
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.alemba.com/asm-hermes/setup-and-configure-asm/configuring-your-system/system-administration-settings/self-service-portal/creating-custom-pages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
