since ‎01-07-2016
‎10-12-2019
James_R_Green
Level 5
Re: Dispatcher only cache when authenticated
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager
Browser level.In the end we disabled html caching at the browser level

Views

1.1K

Likes

0

Replies

0
Re: Dispatcher only cache when authenticated
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager
A modified version of the code below seems to do the trick. Set the headers to not cache in the requestCredentials method (the original 302) I will mark this as closed once fully tested.acs-aem-samples/SampleLoginHookAuthenticationHandler.java at master · Adobe-Consulting-Services/acs-aem-samples · GitHub

Views

1.1K

Likes

0

Replies

0
Re: Dispatcher only cache when authenticated
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager
Tried to use this:https://helpx.adobe.com/experience-manager/kb/PSCachingDelivery.htmlHowever, it appears to be hitting the Sling Authentication Handler before the dispatcher/auth_checker (?) meaning that I cannot handle redirects differently for restricted pages. I get a 302 redirect for the restricted page and the first page that hits the auth_checker is the login page.All I want to do is avoid being stuck in a loop when I:* Request a restricted page* Get redirected to login page* Login succes...

Views

1.1K

Likes

0

Replies

0
Include New Namespace in CRX package
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager
Has anyone got an example of including a new namespace in a CRX package.I have tried adding a cnd to:ui.apps/src/main/content/META-INF/vault/abc.cndbut this doesn't work.The only way to get the new namespace to register seems to be to import a node that includes the name space e.g.

Views

1.0K

Likes

0

Replies

0
Dispatcher only cache when authenticated
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager
Hi, I am using j_security_check to authenticate users which works fine. When the user is not logged in and tries to access a protected page they are redirected to the login page as expected. When the login suceedes the resource query string parameter is used to forward them to the original protected page. This works without issue on the publish instance. The problem I have is our dispatcher has several rewrites e.g for removing html extension and replacing with / These redirects (301s) are cache...

Views

2.1K

Like

1

Replies

4
Re: Adding custom metadata properties to assets - 6.3
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager
Whoops, missed that bit! Thanks for your quick response. Thanks, James

Views

1.0K

Likes

0

Replies

0
Adding custom metadata properties to assets - 6.3
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager
Hi,I would like to add a custom metadata property to my assets.I have seen the following documentation around metadata profiles:https://helpx.adobe.com/experience-manager/6-3/assets/using/metadata-profiles.htmlThis seemed promising but doesn't seem to add the properties to UI when viewing the properties of an asset.Is there a way to add custom field to an asset so that is viewable/amendable by authors?Thanks,Jim

Views

1.1K

Likes

0

Replies

2
Re: Form Drop Down's Copied, but Need Different Selections Per Field
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
Hi,Do they have the same name?If so change the name of one of them, should fix your problemThanks,James

Views

1.0K

Likes

2

Replies

0
Re: how could I add a message that appear when you open the form
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
Have you tried inserting \nIt may insert a new line character.E.g."Abc def" "Abc\n def"

Views

1.3K

Likes

0

Replies

0
Re: Form submission dataXml Schema
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
Hi Mayank,No that is fine.I will accept the answer above - thanks for your help!Thanks, Jim

Views

1.1K

Likes

0

Replies

0
Granite.author.ui.assetFinder - Customization
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager
Hi,I have created a custom assetFinder based on OOTB functionality. Which works just fine.However, I would like to remove one or two of the OOTB assetFinder options (as my custom assetFinder is an enhancement to one of the OOTB assetFinders)For reference the asset finder options i am referring too are shown here:Is this possible?I have managed to doing this in my custom asset finder code, by first deleting the OOTB assetFinders from the registry:delete author.ui.assetFinder.registry["Content Fra...

Views

716

Likes

0

Replies

1
Form submission dataXml Schema
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
Hi,Is there a schema (XSD) for the dataXml received from an AEM Form submission? I would like to validate the data coming through against a schema before using it. I could create a schema myself, but if one already exists it would save me the effort.Thanks,Jim

Views

1.3K

Likes

0

Replies

3
Re: AEM Forms 6.3 - Serverside validation failure
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
Hi,FYI I have re-implemented the revalidation of the JS in my own service instead so that we can debug it. I think that the documentation would be useful for others looking to use the server side validation feature, it is too much of a black box at the moment.Thanks,Jim

Views

6.0K

Likes

0

Replies

0
Re: AEM Forms 6.3 - Serverside validation failure
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
smacdonald2008 Guidebridge documentation is actually really good and works just fine on the front end. The documentation for the server side re-validation on the other hand is something I haven't been able to find

Views

6.0K

Likes

0

Replies

1
Re: AEM Forms 6.3 - Serverside validation failure
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
Hi,I will start with my questions as there is a lot of information below. Questions:1) Is it possible to re-validate on the server when the validation routine uses the guideBridge?If so:2) Is af.customwidgets included in the JS scripts used for server side validation?3) Is guideRuntime included in the JS scripts used for server side validation?4) Please can some documentation for the backend validation be made public (or preferably the code)? I might have to re-implement this otherwise which wil...

Views

6.0K

Likes

0

Replies

2
Re: AEM Forms 6.3 - Serverside validation failure
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
Just found this which might help, I will try it out tomorrow:Debugging Server Side JavaScript

Views

6.0K

Likes

0

Replies

4
Re: AEM Forms 6.3 - Serverside validation failure
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
Also note that there appears to be no guideError or guideErrorList passed back on the request.

Views

6.0K

Likes

0

Replies

5
AEM Forms 6.3 - Serverside validation failure
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
Hi,I am using the revalidate on server functionality on my form.The JS I am using on the frontend passes validation and submits, but the serverside revalidation fails. This is happening on my publish instance running locally.I can see from the log below that the error is in GuideSubmitServlet, but I cannot get any more information about what is failing, I assume there is something that the GuideSubmitServlet doesn't like in my JS (?).* Is there anyway to debug this further/ get extra information...

Views

6.4K

Likes

0

Replies

9
Re: Feature Request: Customizable Form Fragments
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
Thanks Mayank Gandhi

Views

1.1K

Likes

0

Replies

0
Feature Request: Customizable Form Fragments
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
Hi, Form fragments are great, but I think a good addition would be to be able to tailor those fragments where they are referenced. For example a reusable fragment for surname. The title/label of this on one form might be "Last name" or "Surname" or "Family name". Likewise a surname may be mandatory in one instance and optional in a other. Fragments are so limited if simple changes like this can't be introduced, you end up not reusing anything but creating multiple variants of the same thing...co...

Views

1.2K

Likes

0

Replies

2
Re: AEM 6.3.0.2 - Forms Installation
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
Closing this issue as it appears to be due to other packages on our instance of aem.We will continue to investigate this via the day care ticket.

Views

1.3K

Likes

0

Replies

0
Validation of field to always call JS function
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
Hi,I want to store as much of the JS associated with my forms as possible in clientlibraries so that I can re-use and version control the code.I can do this for the majority of tasks on the form using the guidebridge, but I don't have a satisfactory solution to the following.Currently my validation works like this:Each field I create has a call to "myvalidation.validateField(this);" added via the rules editor on the validate eventmyvalidation.validate checks the this.name and applies the validat...

Views

907

Likes

0

Replies

0
RTE Text Component - plaintext
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager
Hi,Is there a way to make an text/RTE component store plain text as opposed to HTML?I realise that this is a strange question given it would make the rich text features such as bold and italic completely useless!I want the author experience of the RTE editor and want to be able to add custom plugins but the result should be plaintext.Alternatively is there an example of a customizable text editor in a dialog that allows for plugins/custom functionality that can store in plain text?Thanks,Jim

Views

1.0K

Likes

0

Replies

1
Re: AEM 6.3.0.2 - Forms Installation
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
Great - thanks Wasil.We can share the details on here once we know the answer in case others encounter this problem

Views

1.2K

Likes

0

Replies

0
Re: AEM 6.3.0.2 - Forms Installation
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
HiWASIL​​That would have been great, but unfortunately that didn't work. (recompiled JSPs and clientlibs)As we are working on the same project (I guess you are the same Wasil ) can I ask you to look into this one for me? It is the highest priority item at the moment.Do you need a day care ticket?Thanks,Jim

Views

1.2K

Like

1

Replies

0
Re: AEM Forms 6.3 - guidetheme2 css being included
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
Nice.If this does what it says then this also fixes another issue that I have:When my form is embedded on a site page the css from the rest of the site is clashing with my form styles.Applying this reset on my form would potentially solve that issue too.Thanks for sharing lesutton1​ I will test it out and update the answer if it works as expected.

Views

1.1K

Likes

0

Replies

0
Re: AEM 6.3.0.2 - Forms Installation
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
Hi Mayank, I may be missing something. But isn't that what I tried and got an error from the ui in my original post? Here:So, I tried installing the following on our 6.3.0.2 system:AEM-6.3.3.0-6.3.3AEM-CFP-6.3.3.1-1.0AEM-FORMS-6.3.3.1--4.1.90This appears to be ok , until I look at the menu under sites in the touchui (example.com/sites.html) it shows an error half way down the menu:Refer to screenshot in original post The error makes the touch ui unusable. Can you try this yourself to see if you ...

Views

1.2K

Likes

0

Replies

0
Re: AEM 6.3.0.2 - Forms Installation
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
Hi Mayank,Thabks for the reply. The instances of AEM in question already have aem-6.3.0-cfp-2.0.zip (not a fresh install as described in option 1 and 2 in your reply). What should I do in that case to install forms?Thanks, James

Views

1.2K

Likes

0

Replies

0
AEM 6.3.0.2 - Forms Installation
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager Forms
Hi,Our systems currently have aem-6.3.0-cfp-2.0.zip installed.Making the system version 6.3.0.2We need to roll forms out to this system.To do this, I would normally install AEM-FORMS-6.3.2.2--4.1.74The pre-requisites for this package are:aem-service-pkg-6.3.2.zipandaem-6.3.2-cfp-2.0.zipThis works on my local system. Now that I am looking to roll this out to production I have checked the release notes for 6.3 SP2 it suggests installing 6.3.3 instead:AEM 6.3.2.0 Release NotesAdobe Experience Manag...

Views

3.8K

Like

1

Replies

9
Re: AEM Packageshare
Avatar

James_R_Green

James_R_Green
- Adobe Experience Manager
smacdonald2008 Thanks Scott!

Views

703

Likes

0

Replies

0