Skip to main content
Level 7
Feb 28, 2018 6:38 PM UTC
Solved

Customizing AEM Forms Workspace

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.
kdenso01
kdenso01Accepted solution
Level 2
Mar 20, 2018 3:19 PM UTC

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
Aug 22, 2019 4:07 PM UTC

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!

Translate
kdenso01
Level 2
Mar 24, 2018 12:25 PM UTC

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!

Translate
Level 7
Mar 23, 2018 7:50 PM UTC

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.

Translate
Level 7
Mar 23, 2018 6:33 PM UTC

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.

Translate
smacdonald2008
Level 10
Mar 20, 2018 7:37 PM UTC

Excellent community response!

Translate
Level 7
Mar 20, 2018 5:54 PM UTC

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.

Translate
kdenso01
kdenso01Accepted solution
Level 2
Mar 20, 2018 3:19 PM UTC

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

Translate
Level 7
Mar 20, 2018 2:13 PM UTC

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.

Translate
smacdonald2008
Level 10
Mar 12, 2018 2:21 PM UTC

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

Translate
kdenso01
Level 2
Mar 12, 2018 12:19 PM UTC

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.

Translate