# URL in error/warning messages

**URL:** https://discuss.tryton.org/t/url-in-error-warning-messages/8332
**Category:** Developer
**Created:** [February 21, 2025, 10:43am UTC](https://discuss.tryton.org/t/url-in-error-warning-messages/8332 "2025-02-21T10:43:59Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Xavi](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/x/8e8cbc/32.png) [@Xavi](https://discuss.tryton.org/u/Xavi)
#### Post date: [February 21, 2025, 10:44am UTC](https://discuss.tryton.org/t/url-in-error-warning-messages/8332/1 "2025-02-21T10:44:00Z")

</div>

Hi, is it possible to add an URL to the message of an error/warning in the web client?

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [February 21, 2025, 2:06pm UTC](https://discuss.tryton.org/t/url-in-error-warning-messages/8332/2 "2025-02-21T14:06:15Z")

</div>

You can use the ` __href__ ` attribute of the record to get its URL using web client schema. You can also use ` __url__ ` to get the URL for the desktop client.

From the you can include such values in the error/warrning message by using a substituion.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [February 21, 2025, 3:42pm UTC](https://discuss.tryton.org/t/url-in-error-warning-messages/8332/3 "2025-02-21T15:42:41Z")

</div>

The client display only plain text so you can put an URL but it will not be “clickable”.

---

<div class="post-metadata">

### Author: ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)
#### Post date: [February 24, 2025, 6:19am UTC](https://discuss.tryton.org/t/url-in-error-warning-messages/8332/4 "2025-02-24T06:19:14Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
