You're viewing help content for version:
- 6.4
- 6.3
- 6.2
- Older Versions
The default installation and settings of AEM Forms allow for only one AEM Forms workspace to be available on the server. However, you may need to host two different instances of AEM Forms workspace on a single AEM Forms server. The two instances are accessbile by different URLs.
AEM Forms administrators customize the workspace to create two different URLs and make two workspaces available on the same server. In this customization article, we assume the two workspaces are accessible at http://[server]:[port]/lc/ws and http://[server]:[port]:/lc/ws2.
Follow these steps to configure AEM Forms workspace.
-
Install the dev package of AEM Forms workspace on your server. See dev package, for instructions to create it.
-
<html lang="en"> <head> <meta charset="utf-8"> <title>Workspace Next</title> <meta http-equiv="refresh" content="0;URL='/lc/libs/ws/index.html'" /><html lang="en"> <head> <meta charset="utf-8"> <title>Workspace Next</title> <meta http-equiv="refresh" content="0;URL='/lc/libs/ws/index.html'" />
<html lang="en"> <head> <meta charset="utf-8"> <title>Workspace Next</title> <meta http-equiv="refresh" content="0;URL='/lc/apps/ws2/index.html'" />
-
In registry.js at /apps/ws2/js, change path of templates to refer to templates at /apps/ws2/js/runtime/templates. Replace the following code
"tasklist" : { "name": "tasklist", "path": "tasklistview", "model": "tasklist", "template": "text!/lc/libs/ws/js/runtime/templates/tasklist.html", "utility": "utility", "view": "taskview", "errorModel": null }
"tasklist" : { "name": "tasklist", "path": "tasklistview", "model": "tasklist", "template": "text!/lc/apps/ws2/js/runtime/templates/tasklist.html", "utility": "utility", "view": "taskview", "errorModel": null }