since ‎12-02-2018
‎15-12-2020
Sravan_Kumar_Si
Level 1
Re: Question to HTL or Sightly experts - What is wrong wi...
Avatar

Sravan_Kumar_Si

Sravan_Kumar_Si
- Adobe Experience Manager
Hi Anurag, I had a solution as you mentioned. In my case, title comes from a different model only to fetch from dictionary. I was trailing for a short and simple HTL expression that does the job instead of writing a model for one line functionality.

Views

170

Likes

0

Replies

0
Re: Question to HTL or Sightly experts - What is wrong wi...
Avatar

Sravan_Kumar_Si

Sravan_Kumar_Si
- Adobe Experience Manager
Thanks for your suggestion. But I wanted to know why the way I tried did not work?

Views

221

Likes

0

Replies

0
Re: Question to HTL or Sightly experts - What is wrong with the HTL expression "${'{0}' in title ? title @ format=currentPage.parent.title : title}"?
Avatar

Sravan_Kumar_Si

Sravan_Kumar_Si
- Adobe Experience Manager
model.title contains one of the two values - "Back to {0}" or "Back" My objective is if the place holder {0} is there in the value of title then replace it otherwise simple use the value of title.

Views

297

Likes

0

Replies

0
Re: Question to HTL or Sightly experts - What is wrong with the HTL expression "${'{0}' in title ? title @ format=currentPage.parent.title : title}"?
Avatar

Sravan_Kumar_Si

Sravan_Kumar_Si
- Adobe Experience Manager
Hi @KiranVedantam1992 and @Manjunath_K , Thanks for getting back but this did not solve my issue. My objective is if the place holder {0} is there in the value of title then replace it otherwise simple use the value of title. '{0}' in title - this is to check for the existence of substring '{0}' in value of title variable. If I enclose every thing inside '' then "in" is not considered as an operator and "title" is not taken as value of the variable.

Views

322

Likes

0

Replies

0
Re: Question to HTL or Sightly experts - What is wrong wi...
Avatar

Sravan_Kumar_Si

Sravan_Kumar_Si
- Adobe Experience Manager
Hi Kiran, Thanks for getting back but this did not solve my issue. '{0}' in title - here, I want to check for the existence of substring '{0}' in value of title variable. If I enclose every thing inside '' then "in" is not considered as an operator and "title" is not taken as value of the variable.

Views

229

Likes

0

Replies

0
Question to HTL or Sightly experts - What is wrong with the HTL expression "${'{0}' in title ? title @ format=currentPage.parent.title : title}"?
Avatar

Sravan_Kumar_Si

Sravan_Kumar_Si
- Adobe Experience Manager
model.title contains one of the two values - "Back to {0}" or "Back" ${'{0}' in title ? title @ format=currentPage.parent.title : title} Neither${'{0}' in title ? title @ format=currentPage.parent.title : title}nor${'{0}' in title ? (title @ format=currentPage.parent.title) : title}gives the expected result. What is the correct way?

Views

368

Likes

0

Replies

12
Issues with Dynamic Media Hybrid Mode Video only AEM 6.5.1.0 Failed to generate image for pyramid.tif
Avatar

Sravan_Kumar_Si

Sravan_Kumar_Si
- Adobe Experience Manager
Is misconfiguration causing the below exception? 26.09.2019 09:22:45.970 *ERROR* [JobHandler: /var/workflow/instances/server0/2019-09-26/update_asset_2:/content/dam/ascom/ws/draft/Tile_man.jpg/jcr:content/renditions/original] com.adobe.cq.gfx.impl.GfxImpl Renderer com.adobe.cq.dam.s7imaging.impl.gfx.S7ImageServerRenderer threw exception while rendering: wid=140&hei=100&fit=constrain,0&fmt=png-alpha&rszfast=1&layer=comp&layer=0&src=/content/dam/ascom/ws/draft/Tile_man.jpg/jcr:content/renditions/o...

Views

1.1K

Likes

0

Replies

1
Re: Scaffolding Mode in AEM 6.5.1
Avatar

Sravan_Kumar_Si

Sravan_Kumar_Si
- Adobe Experience Manager
As mentioned about scaffolding in the link (https://helpx.adobe.com/de/experience-manager/6-4/sites/deploying/using/repository-restructuring-in-aem64.html) the scaffolding functionality does not work if we create scaffolds under / apps / settings / wcm / template-types / scaffolding / scaffoldingIs this a bug?

Views

969

Likes

0

Replies

0
Re: Scaffolding Mode in AEM 6.5.1
Avatar

Sravan_Kumar_Si

Sravan_Kumar_Si
- Adobe Experience Manager
The page does have a property "cq:scaffolding" pointing to the scaffolding page, but still now shown.

Views

860

Likes

0

Replies

0
Scaffolding Mode in AEM 6.5.1
Avatar

Sravan_Kumar_Si

Sravan_Kumar_Si
- Adobe Experience Manager
In AEM 6.5.1, Scaffolding Mode is not available in the dropdown. In the documentation, it is mentioned that Depending on the characteristics of the page, some modes may not be available.Access to some modes require the appropriate permissions/privileges.What is required to see the Scaffolding option among "Edit", "Layout", "Developer", "Timewarp", "Targeting"

Views

1.4K

Like

1

Replies

4
Re: Response: 401 Unauthorized - multiple brand portal JWT applications
Avatar

Sravan_Kumar_Si

Sravan_Kumar_Si
- Adobe Experience Manager
Delete existing Cloud Configuration for Brand PortalDelete existing Replication Agents for Brand Portaland one of the below two or both steps solves the issue1. Delete the configuration entry responsible for "Adobe Granite Access Token provider" (factory).2. Create and Delete configuration for Adobe Granite Replication Http Transport Handler (com.day.cq.replication.impl.transport.Http)Finally reconfiguring the brand portal should work.

Views

445

Likes

0

Replies

0
Likes from