Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Issue with @ extension='html'

Avatar

Level 2

I am facing issue with sightly href="${url @ extension='html'}" . html extension was removing all the empty query parameter (query param which dont have any value) from the url and keeping only those which has value.

e.g. original url -  endpoint.html?param1=&param2=val2

       corrected url after @ extension = endpoint.html?param2=val2

All of a sudden it has stopped removing those empty params. Any suggestions?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

I checked in AEM 6.3, its working for me.

can you try with context='uri'



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

I checked in AEM 6.3, its working for me.

can you try with context='uri'



Arun Patidar