# Route to external website from Camunda 8 form

**URL:** <https://forum.camunda.io/t/route-to-external-website-from-camunda-8-form/49606>\
**Category:** Discussion & Questions\
**Tags:** process-engine\
**Created:** [December 28, 2023, 9:12am UTC](https://forum.camunda.io/t/route-to-external-website-from-camunda-8-form/49606 "2023-12-28T09:12:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![yasmeenhesham](https://forum.camunda.io/letter_avatar_proxy/v4/letter/y/d07c76/32.png) [@yasmeenhesham](https://forum.camunda.io/u/yasmeenhesham)\
**Post date:** [December 28, 2023, 9:12am UTC](https://forum.camunda.io/t/route-to-external-website-from-camunda-8-form/49606/1 "2023-12-28T09:12:25Z")

</div>

Is there a way to route to an external website on pressing on a button in Camunda 8 form?

I want to upload and download attachments but it seems that this is not available in Camunda 8 forms, so I try to make the upload and download in external forms that we route to from Camunda forms.

---

<div class="post-metadata">

**Author:** ![christian-konrad](https://forum.camunda.io/user_avatar/forum.camunda.io/christian-konrad/32/21609_2.png) [@christian-konrad](https://forum.camunda.io/u/christian-konrad)\
**Post date:** [December 28, 2023, 1:10pm UTC](https://forum.camunda.io/t/route-to-external-website-from-camunda-8-form/49606/2 "2023-12-28T13:10:56Z")

</div>

Hi @yasmeenhesham!

Thank you for your question. When you are using the Tasklist UI of Camunda, the simplest way is to render the link to the website via markdown in a text view, like this:

 ![Bildschirmfoto 2023-12-28 um 14.08.48](https://forum.camunda.io/uploads/default/original/3X/d/f/df0b2deb2f68fc8d7f739cc18e3eded09c8a02fc.png)

You can even make the URL dynamic using templating and variables:

 ![Bildschirmfoto 2023-12-28 um 14.10.47](https://forum.camunda.io/uploads/default/original/3X/d/1/d1922c6d86874c0af2c94d6abccb5a7315ee2e9c.png)

At the moment, we don’t support buttons for this.

---

<div class="post-metadata">

**Author:** ![yasmeenhesham](https://forum.camunda.io/letter_avatar_proxy/v4/letter/y/d07c76/32.png) [@yasmeenhesham](https://forum.camunda.io/u/yasmeenhesham)\
**Post date:** [January 2, 2024, 7:14am UTC](https://forum.camunda.io/t/route-to-external-website-from-camunda-8-form/49606/3 "2024-01-02T07:14:34Z")

</div>

Hi @christian-konrad,

Many thanks for your answer.

Also, I need to know if this is the best solution to use Camunda forms with upload/download attachments or there are other solutions better than this?

---

<div class="post-metadata">

**Author:** ![christian-konrad](https://forum.camunda.io/user_avatar/forum.camunda.io/christian-konrad/32/21609_2.png) [@christian-konrad](https://forum.camunda.io/u/christian-konrad)\
**Post date:** [January 2, 2024, 9:49am UTC](https://forum.camunda.io/t/route-to-external-website-from-camunda-8-form/49606/4 "2024-01-02T09:49:54Z")

</div>

Hi @yasmeenhesham , as of today, this seems to be the best solution, but we are also working on a native file upload, where you will be able to specify the upload target.

As an alternative, we shipped an iFrame component, and we will add security flags to it, so you will be able to upload files to an embedded page (currently, this is disabled).

You can help us by telling us where you expect or favor to upload the document to. Our current intention is to reuse our existing file connectors (such as S3) and connect them to forms.

Best,  
Christian

---

<div class="post-metadata">

**Author:** ![yasmeenhesham](https://forum.camunda.io/letter_avatar_proxy/v4/letter/y/d07c76/32.png) [@yasmeenhesham](https://forum.camunda.io/u/yasmeenhesham)\
**Post date:** [January 8, 2024, 9:19am UTC](https://forum.camunda.io/t/route-to-external-website-from-camunda-8-form/49606/5 "2024-01-08T09:19:22Z")

</div>

Hi @christian-konrad,

Thanks for your reply.

When will the iFrame component be ready to be used?

Till now, We don’t know what ECM We will use.

I want to know if there is a way to make server side validations inside the forms. For ex.: in our case we want to check if the attachments are uploaded or not. Another example, if we want to check the ID entered is valid and exists in DB or not so we will need to make this validations in the server side using Java for ex.

Thanks,  
Yasmeen

---

<div class="post-metadata">

**Author:** ![christian-konrad](https://forum.camunda.io/user_avatar/forum.camunda.io/christian-konrad/32/21609_2.png) [@christian-konrad](https://forum.camunda.io/u/christian-konrad)\
**Post date:** [January 8, 2024, 9:39am UTC](https://forum.camunda.io/t/route-to-external-website-from-camunda-8-form/49606/6 "2024-01-08T09:39:37Z")

</div>

Hi @yasmeenhesham , the iFrame component is available in 8.4 (will be released this week 🙂 )

Your case for server side validation makes a lot of sense. We are planning to add native API query capabilities in Q2 to forms. Currently, you would have to add a REST connector task in your process after the form to query the state to be validated, and then a gateway that would route back to the form if not valid. I know that’s not very elegant and efficient, that’s why we plan to add these capabilities to Camunda Forms.

It could look like this:

 ![Bildschirmfoto 2024-01-08 um 10.45.31](https://forum.camunda.io/uploads/default/original/3X/a/b/ab87a126e1b1bd511e32c7aa6d099ea9c4f64a39.png)

Best,  
Christian

---

<div class="post-metadata">

**Author:** ![yasmeenhesham](https://forum.camunda.io/letter_avatar_proxy/v4/letter/y/d07c76/32.png) [@yasmeenhesham](https://forum.camunda.io/u/yasmeenhesham)\
**Post date:** [January 8, 2024, 10:23am UTC](https://forum.camunda.io/t/route-to-external-website-from-camunda-8-form/49606/7 "2024-01-08T10:23:31Z")

</div>

Hi @christian-konrad,

Thanks for your reply.

I wonder if there is a way to override the complete task method so that we can validate the fields on pressing on Complete Task button, or a listener that we can implement to make our validations on completing the task.

Another question, is there a way to take an output either from the iFrame, or the Text View?

Thanks,  
Yasmeen

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [January 15, 2024, 10:23am UTC](https://forum.camunda.io/t/route-to-external-website-from-camunda-8-form/49606/8 "2024-01-15T10:23:56Z")

</div>

Closed on January 15, 2024, 10:23am UTC

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