Customizing AEM Forms Workspace | Community
Skip to main content
New Participant
February 28, 2018
Solved

Customizing AEM Forms Workspace

  • February 28, 2018
  • 14 replies
  • 5567 views

I'm trying to follow the instructions at the following page:

Adobe Experience Manager Help | Generic steps for AEM Forms workspace customization

I executed all the steps, but when I try to navigate to http://[server]:[port]/lc/ws, instead of seeing a login page, I get this:

Not a valid identifier 'index,index.html'

Cannot serve request to /lc/apps/ws/ in org.apache.sling.servlets.get.DefaultGetServlet

Exception:

java.lang.IllegalArgumentException: Not a valid identifier 'index,index.html' at com.google.common.base.Preconditions.checkArgument(Preconditions.java:93) at org.apache.jackrabbit.oak.plugins.identifier.IdentifierManager.getTree(IdentifierManager.java:131) at org.apache.jackrabbit.oak.plugins.identifier.IdentifierManager.getPath(IdentifierManager.java:153) at org.apache.jackrabbit.oak.namepath.NamePathMapperImpl.getOakPath(NamePathMapperImpl.java:97)

I tried tacking on /GET.jsp to the URL, but it tries to download my GET.jsp file instead of compiling/rendering the JSP in the browser.  Why is that?


Any suggestions?

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kdenso01

in CRXDe, right click on apps folder, then click on Create Node.  This will open another box.  Enter the name of the node, then enter the type.  you can use the dropdown to look for sling:Folder.

Step one

Step two

14 replies

davidr81101000
New Participant
August 22, 2019

Actually...Adobe has been less than helpful in many ways. I'm still trying to get the example index.html file that is based on the Adobe example page of a workspace. I have had zero luck getting this an now it makes me feel like all they are presenting is a mock-up of a workspace page.

This is what I'm trying to get from them and no responses other than how to program for AEM. I know how to do this...I just need the file that produces this...

Thank for your help!

kdenso01
New Participant
March 24, 2018

Hi Jared,

Unfortunately IE dosen't seem to work very well with AEM.  I'm not sure why as for many entities, its their sole desktop browser.    I work with one such entity so yes its painful.  I had asked if there was a reason why this was the case and got dead air.  At any rate  Its nearly a must to have Chrome and Firefox (I use chrome when working on AEM)

Great info and would be nice if they updated the instructions for this!

New Participant
March 23, 2018

I figured out my problem with Package Manager.  When I would create a package nothing happened.  I was using IE.  I simply went over to Firefox and everything worked properly.  This article explains what to do:  How to Work With Packages .  If it's not working for you, try another browser.  When you add the filter, add /apps/ws.

New Participant
March 23, 2018

Updating this thread with some things that I've learned on my journey.  I learned today that the whole business about using Maven to package and deploy as described in Adobe Experience Manager Help | Introduction to Customizing AEM form workspace  isn't really necessary if all you're doing is some minor CSS changes or swapping out images.  You can just follow the "generic" instructions and then make your changes in CRXDE (using WebDAV to upload any additional files like images).  After that you can package your changes using Package Manager (or so they say.  That isn't working for me at the moment, but that's another matter.  If I figure it out I'll post it here.)

Here's another nugget.  To get WebDAV to work, don't believe what it says here:

WebDAV Access

In actual fact, you need to add /lc to the end of your path or you will be unable to connect.  in my case the path for WebDAV is http://localhost:8080/lc.

smacdonald2008
New Participant
March 20, 2018

Excellent community response!

New Participant
March 20, 2018

kdenso01, you have been enormously helpful.  I will now punish your helpfulness by abusing it with more questions. 

Okay, with your help, I have successfully completed the "generic" steps.  I can even add some CSS customizations in my handy newStyle.css and they work.  Awesome.  Now what though?  I'd like to save up my precious customizations and deploy them to another environment.  I presume that has something to do with the package manager.  I package up my newly created apps/ws somehow and deploy it elsewhere, right?  If so, please point me to the instructions for doing so.

If that's not how it's done, then I'm guessing the answer has something to do with the subject of this article:

Adobe Experience Manager Help | Introduction to Customizing AEM form workspace

After referencing the "generic" article, this "introduction" article goes on to describe the "ship" package and so on.  Huh?  I don't see how the instructions in the "generic" page connect to this.  The "ship" package contains all the CSS and other bits used in the workspace application.  So why did I do that other stuff to create the application under apps/ws?  It seems like there's some missing instructions that connect the steps listed in the "generic" article with the instructions in the "introduction" article.

kdenso01
kdenso01Accepted solution
New Participant
March 20, 2018

in CRXDe, right click on apps folder, then click on Create Node.  This will open another box.  Enter the name of the node, then enter the type.  you can use the dropdown to look for sling:Folder.

Step one

Step two

New Participant
March 20, 2018

Thank you so much for posting this workaround.  I'm having trouble with the following step:

If you create the apps/ws folder as nt folder, you can't copy that file over.  So When I redid this I made the folder a sling folder which mimics the /libs/ws folder.

How do I make it a sling folder?  I assume that I need to change the jcr:primaryType property, but I don't see how to do that.  Thanks.

smacdonald2008
New Participant
March 12, 2018

We will log a bug on this doc based on your comments.

kdenso01
New Participant
March 12, 2018

Ok I sort of answered my own question.

Adobe Experience Manager Help | Generic steps for AEM Forms workspace customization

Here's what I had to do differently:

I noticed in the error page it kept wanting the index file.

In  Step 10, you're asked to point to an index file.

<meta http-equiv="refresh" content="0;URL='/lc/apps/ws/index.html'" />

But it never asks you to actually copy the index file from libs/ws and you're never asked to create one.     If you create the apps/ws folder as nt folder, you can't copy that file over.  So When I redid this I made the folder a sling folder which mimics the /libs/ws folder.

As an extra precaution I logged out then restarted JBoss.

Once I did that, I was able to  get to the page. 

The steps should be straight forward but I just feel like they miss some nuanced steps to make it work as expected.  In all, 10 tries to get this to work.