> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Anchor line (link row)

> Anchor line (link row)

This element will display a horizontal line of clickable URLs.

## Configuration

| Setting          | Description                                                                                             |
| :--------------- | :------------------------------------------------------------------------------------------------------ |
| table            | Set to get a default set of URLs (v.4.0)<br />ticket, customer, person, company, cust\_company, contact |
| items            | Array of items to display                                                                               |
| items.length     | Number of items                                                                                         |
| items.n.label    | The label of item n                                                                                     |
| items.n.url      | The URL of item n                                                                                       |
| items.n.appendId | Whether to append the active ID to the URL (Bool)                                                       |
| items.n.iconUrl  | Custom icon to use (v. 4.0)                                                                             |
| items.n.target   | Target of the URL (optional)                                                                            |
| items.n.alt      | Alternative text (optional)                                                                             |
| items.n.special  | Whether to check for special links (Bool)                                                               |

## Example

```crmscript theme={null}
table = customer
items.length = 2
items.0.label = New ticket
items.0.url = /bin/ticket?action=newTicket
items.1.label = New customer
items.1.url = /bin/ticket?action=newCustomer
items.0.iconUrl = /doc/icons/clickme.gif
```

## Functions

### getFieldValue(String field)

| Field                  | Description                                         |
| :--------------------- | :-------------------------------------------------- |
| numEntries             | The number of anchors in the line                   |
| entry.n.icon           | The icon of entry n                                 |
| entry.n.label          | The label of entry n                                |
| entry.n.url            | The URL of entry n                                  |
| entry.n.target         | The target of entry n                               |
| entry.n.warningMessage | The warning message of entry n                      |
| entry.n.disabled       | Whether the entry n is deactivated<br />1=yes, 0=no |

### setFieldValue(String action, Map values)

| Action   | Map keys                                                                                                | Description                |
| :------- | :------------------------------------------------------------------------------------------------------ | :------------------------- |
| addEntry | label<br />url<br />target<br />alt<br />icon<br />index<br />warningMessage<br />disabled<br />onClick | Adds an entry              |
| delEntry | index<br />group                                                                                        | Deletes the entry or group |


## Related topics

- [How to use links in docs](/contribute/markdown-guide/links-in-docs.md)
- [Add or update release notes](/contribute/how-to-add-release-notes.md)
- [SuperOffice.WebApi.Data.SuggestedAppointment](/en/api/reference/webapi/SuperOffice.WebApi.Data.SuggestedAppointment.md)
- [NSSuggestedAppointment](/en/automation/crmscript/reference/CRMScript.NetServer.NSSuggestedAppointment.md)
- [SaleTypeStageLink table](/en/database/tables/saletypestagelink.md)
- [ProjectTypeStatusLink table](/en/database/tables/projecttypestatuslink.md)
- [Links](/en/api/archive-providers/reference/links.md)
