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:
Cannot serve request to /lc/apps/ws/ in org.apache.sling.servlets.get.DefaultGetServlet
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.
Solved! Go to Solution.
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
Similar Question:- AEM Adaptive Forms-Unable to redirect user to thankyou page [linking two questions]
Checking internally!
Views
Replies
Total Likes
Thanks for pointing out that other post. The error messages are the same, but the use case is different.
Views
Replies
Total Likes
We are checking with the team about this topic.
Views
Replies
Total Likes
Any info on this? I've tried this twice and got errors. have to say that I wonder if there's something going on with those instructions.
Views
Replies
Total Likes
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.
We will log a bug on this doc based on your comments.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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
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.
Views
Replies
Total Likes
Excellent community response!
Views
Replies
Total Likes
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:
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.
Views
Replies
Total Likes
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.
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!
Views
Replies
Total Likes
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!
Views
Replies
Total Likes
Views
Like
Replies