Form URL

1 view
Skip to first unread message

Tshegofatso Manakana

unread,
Oct 26, 2009, 10:24:15 AM10/26/09
to temp...@googlegroups.com
Hi,

When you are working with the external UI-FW you can simply call the geAvailableTasks method of the TMS and then get a form URL of that task from the task meta data. What if I deploy a process with forms that are not associated with a task? How will I then get the form URL so that i can render it in an iframe? In other words, how do I get the form URL for the form that is not asociated with a task?


Tshegofatso Manakana

Nicolas Modrzyk

unread,
Oct 26, 2009, 11:03:50 PM10/26/09
to temp...@googlegroups.com
If the form is stored in the default storage component, WDS, then you
can have REST-like access to the form through:
http://<hostname>:<port>/wds/<project>/<formname>
Tempo being modular, if the form is stored somewhere else, you may not
be able to remote access it though. It all depends on the storage
policy.

Regards,

Nico

Tshegofatso Manakana

unread,
Oct 28, 2009, 4:24:13 PM10/28/09
to temp...@googlegroups.com
Hi Nico,

A little help here please. I have created a project with forms in it and tried accessing this forms in an iframe. I get the error 404 (Item not found)

From what you are saying from the email below does this mean if I paste the URL http://<hostname>:<port>/wds/<project>/<formname> I should get a form in my browser or should I call the xforms manager with that URL as a parameter? I am a bit confused. Please help.


Regards,
Tshegofatso
--
Tshegofatso Manakana
Cell: 082 874 6774
Fax: 086 520 1046

Nicolas Modrzyk

unread,
Oct 28, 2009, 10:25:01 PM10/28/09
to temp...@googlegroups.com
Hi Tshegofatso,

Not sure what you are trying to do.
For example, the URL for the AbsenceRequestApproval form itself is:
http://localhost:8080/wds/AbsenceRequest/AbsenceApproval.xform

But it will be unusable since this is the raw xml for the form.

To access the form manager, and display a form you can act upon,
please read the technical FAQ on the website:
http://www.intalio.org/confluence/display/TEMPO/FAQ

Regards,

Nicolas,

Tshegofatso Manakana

unread,
Nov 2, 2009, 7:56:50 AM11/2/09
to temp...@googlegroups.com
Hi Nicolas,

You right. This is what I want to do but the difference is that the forms that I want to access and display are not related to any task (PIPA, PA, nor Notification). They are just lying there as part of the project. All they do is make db calls and display information.

Is this still possible?

Nicolas Modrzyk

unread,
Nov 2, 2009, 7:28:44 PM11/2/09
to temp...@googlegroups.com
Not related to any task ? Meaning it is a static generic page ?
How do you access the page ? The task list is generating links that
you would need to change a bit.

It is all very possible, but I think I am still missing the big picture.

Thanks,

Nico

On Mon, Nov 2, 2009 at 9:56 PM, Tshegofatso Manakana

Tshegofatso Manakana

unread,
Nov 3, 2009, 2:03:28 AM11/3/09
to temp...@googlegroups.com
Yes, A static generic page that I will display in an iframe from another web application.

I did think about the links generated by the task list but if that static form(page) is not related to any task, how will I then display it since the information wont be there on the task list? This is my problem. My idea was using the form manager service, but since there are other parameters needed such as the task type this will not be possible. Remember if a form is not related to any task then the url of that form will not be any where on the task list.

The bigger picture:
1. We have created the service support process (like service request app like deskpro)
2. Our internal support staff uses the ui-fw.
3. I want to create a different web app that will be used by clients (those who create requests). This app will create a service request i.e initialise a process, and the rest of the functionality will be viewing and editing service requests. Just like deskpro looks like.

So in order to save time, I wanted to use intalio to create forms(pages) that contains the information then just display them in an iframe.

I hope I am clear on this one.

Regards,
Tshegofatso

Nicolas Modrzyk

unread,
Nov 3, 2009, 3:35:23 AM11/3/09
to temp...@googlegroups.com
If the url is an absolute URL, all what the UI-FW will do is append
some more parameters.

But if the tasks are not tasks, I suppose you are modifying the ui-fw
to retrieve elements from somewhere else. (right ?)

This is also possible. I am looking forward to your contribution. :)

Let us know if you need something else,

Best Regards,

Nico

On Tue, Nov 3, 2009 at 4:03 PM, Tshegofatso Manakana
Reply all
Reply to author
Forward
0 new messages