FormKey from a remote location

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2011 02:34 AM
hi,
WHile using build-in rendering of a form, i can specify the form as
<startEvent id="request"
activiti:formKey="org/activiti/examples/taskforms/request.form" />
Is there any way, i can specify a import location from which the request.form can be accessed remotely ? something like <startEvent id="request"
activiti:formKey="request.form" import="http:xyz:8080/params/>
Thanks
WHile using build-in rendering of a form, i can specify the form as
<startEvent id="request"
activiti:formKey="org/activiti/examples/taskforms/request.form" />
Is there any way, i can specify a import location from which the request.form can be accessed remotely ? something like <startEvent id="request"
activiti:formKey="request.form" import="http:xyz:8080/params/>
Thanks
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2011 04:27 AM
No. What are you trying to accomplish?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2011 01:26 PM
The user guide states that "the activiti:formKey to be a reference to a resource in the same business archive (= deployment). The resource is identified by it's full path within the deployment."
My requirement is to keep all the forms in one location/repository and whoever wants to use them from this remote repository shall be able to use it in their business archive or local deployment. by just mentioning the location of the repository/path_to_form as formKey. currently it is required that the form should sit in the same deployment/machine as the activiti engine. How can i materialise my requirement ? From your above answer i think it is a 'no' ?
My requirement is to keep all the forms in one location/repository and whoever wants to use them from this remote repository shall be able to use it in their business archive or local deployment. by just mentioning the location of the repository/path_to_form as formKey. currently it is required that the form should sit in the same deployment/machine as the activiti engine. How can i materialise my requirement ? From your above answer i think it is a 'no' ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2011 03:26 AM
What you want is possible, using a custom FormHandler class.
take a look at http://activiti.org/userguide/index.html#externalFormRendering, that should get you going.
take a look at http://activiti.org/userguide/index.html#externalFormRendering, that should get you going.
