Expand my Community achievements bar.

SOLVED

AEM Adaptive form rendering issue using publish URL with /jcr:content? at the end adative form

Avatar

Level 5

Hi Team

 

we are able to access the adativeform using below URL but publish url not able to access unless we added end "/jcr:content?" (http://localhost:4503/content/dam/formsanddocuments/myforms/us-en/users-from/jcr:content?) is this expected how to access using html or direct path without added " /jcr:content?"

 

Here is author URL:
http://localhost:4502/aem/formdetails.html/content/dam/formsanddocuments/myforms/us-en/users-from

 

Here is Publish URL

http://localhost:4503/content/dam/formsanddocuments/myforms/us-en/users-from/jcr:content?

 

without adding "jcr:content?"  not able access , Is this expected behavior for AEM Adaptive Forms?

http://localhost:4503/content/dam/formsanddocuments/myforms/us-en/users-from

varaande_0-1695168192728.png

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@varaande 

 

The problem is that you are not using an extension, so AEM does not know what to serve, if you pay attention to your Author URL you are accessing the "formdetails.html" page (http://localhost:4502/aem/formdetails.html/content/dam/formsanddocuments/myforms/us-en/users-from), but in your  Publish URL you are trying to access to an "unknown" resource because the extension is missing (http://localhost:4503/content/dam/formsanddocuments/myforms/us-en/users-from/jcr:content?  ).

 

The "?" at the end will force to invalidate the cache when the page is cached through the dispatcher, so it is not really necessary. 

 

I don't know exactly how your content is organized, but my guess is if you add the extension at the "users-form" it will work fine. Something like this: http://localhost:4503/content/dam/formsanddocuments/myforms/us-en/users-from.html (Please note that I am guessing that "users-from" is a page which exists under the path "/content/dam/formsanddocuments/myforms/us-en/")

 

Hope this helps



Esteban Bustamante

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

@varaande 

 

The problem is that you are not using an extension, so AEM does not know what to serve, if you pay attention to your Author URL you are accessing the "formdetails.html" page (http://localhost:4502/aem/formdetails.html/content/dam/formsanddocuments/myforms/us-en/users-from), but in your  Publish URL you are trying to access to an "unknown" resource because the extension is missing (http://localhost:4503/content/dam/formsanddocuments/myforms/us-en/users-from/jcr:content?  ).

 

The "?" at the end will force to invalidate the cache when the page is cached through the dispatcher, so it is not really necessary. 

 

I don't know exactly how your content is organized, but my guess is if you add the extension at the "users-form" it will work fine. Something like this: http://localhost:4503/content/dam/formsanddocuments/myforms/us-en/users-from.html (Please note that I am guessing that "users-from" is a page which exists under the path "/content/dam/formsanddocuments/myforms/us-en/")

 

Hope this helps



Esteban Bustamante

Avatar

Administrator

@varaande Did you find the suggestion from @EstebanBustamante helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni