# How to use the External URL of a Form ?

**URL:** <https://community.ofelia.com/t/how-to-use-the-external-url-of-a-form/10134>\
**Category:** Q&A\
**Created:** [28 April 2020 11:43 UTC](https://community.ofelia.com/t/how-to-use-the-external-url-of-a-form/10134 "2020-04-28T11:43:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fatma.ghorbel\_142371](https://avatars.discourse-cdn.com/v4/letter/f/779978/32.png) [@fatma.ghorbel\_142371](https://community.ofelia.com/u/fatma.ghorbel_142371)\
**Post date:** [28 April 2020 11:43 UTC](https://community.ofelia.com/t/how-to-use-the-external-url-of-a-form/10134/1 "2020-04-28T11:43:47Z")

</div>

Good afternoon, I just wanna know how to use the External URL of a Form ? It could be another form developed using another technologie like Angular2+ for example or what is exactly used for ?

---

<div class="post-metadata">

**Author:** ![Pablo\_Alonso\_de\_Lina](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/pablo_alonso_de_lina/32/735_2.png) [@Pablo\_Alonso\_de\_Lina](https://community.ofelia.com/u/Pablo_Alonso_de_Lina)\
**Post date:** [28 April 2020 13:40 UTC](https://community.ofelia.com/t/how-to-use-the-external-url-of-a-form/10134/2 "2020-04-28T13:40:31Z")

</div>

Hi Fatma,

&nbsp;

External URL will redirect the portal to this url with the parameter "processInstanceId".

If what you want is to develop a page in any HTML5 framework (such as Angular2+) you can create a custompage, which is what UIDesigner&nbsp;generates as output.

[https://documentation.bonitasoft.com/bonita/7.10/resource-management](https://documentation.bonitasoft.com/bonita/7.10/resource-management)

&nbsp;

You can create pages and&nbsp;forms but to keep it simple at the begining lets create a page, to do that:

Create a folder in your filesystem with following :

A file **page.properties** with this content

```
name=custompage_mycustompage
displayName= Angular2 Custom Page
description=Example of custom page including angular2+
resources=[] 
contentType=page
```

A folder **resources** in which you add an angular page (you can test with a HelloWorld&nbsp;) but name it&nbsp; **index.html** and as many dependencies as required

Once done, zip it and deploy it in the portal using administrator profile, on resources menu.

Your custom page will be ready to be used in a living app.

&nbsp;

To create a custom page of type form, change **contentType=form** on page.properties then you will need to map your form once deployed to the process.&nbsp;

--

&nbsp;

---

<div class="post-metadata">

**Author:** ![fatma.ghorbel\_142371](https://avatars.discourse-cdn.com/v4/letter/f/779978/32.png) [@fatma.ghorbel\_142371](https://community.ofelia.com/u/fatma.ghorbel_142371)\
**Post date:** [28 April 2020 13:48 UTC](https://community.ofelia.com/t/how-to-use-the-external-url-of-a-form/10134/3 "2020-04-28T13:48:02Z")

</div>

what do you mean by custompage? My main purpose is the ability to execute a task using a form not developed using UI designer , so I thought maybe I can use External URL to do that ?&nbsp; do&nbsp;you have any suggestion to do that ?

---

<div class="post-metadata">

**Author:** ![Pablo\_Alonso\_de\_Lina](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/pablo_alonso_de_lina/32/735_2.png) [@Pablo\_Alonso\_de\_Lina](https://community.ofelia.com/u/Pablo_Alonso_de_Lina)\
**Post date:** [28 April 2020 14:11 UTC](https://community.ofelia.com/t/how-to-use-the-external-url-of-a-form/10134/4 "2020-04-28T14:11:18Z")

</div>

Fatma,  
You have 2 options:

- You have an external web application that handles forms and is called by portal to server forms
- You build a SinglePageApplication with any HTML5 framework and you deploy it as a resource/custompage

---

<div class="post-metadata">

**Author:** ![fatma.ghorbel\_142371](https://avatars.discourse-cdn.com/v4/letter/f/779978/32.png) [@fatma.ghorbel\_142371](https://community.ofelia.com/u/fatma.ghorbel_142371)\
**Post date:** [29 April 2020 08:55 UTC](https://community.ofelia.com/t/how-to-use-the-external-url-of-a-form/10134/5 "2020-04-29T08:55:27Z")

</div>

for the first option , can you give more details about the communication between the portal and the web application ?&nbsp;
