since ‎10-10-2017
‎27-02-2021
Pekket
Level 1
Re: Sly-resource won't place class selectors in preview mode
Avatar

Pekket

Pekket
- Adobe Experience Manager Forms
Veena_07​What code you want me to send? Can't send whole project..

Views

46

Likes

0

Replies

1
Re: Sly-resource won't place class selectors in preview mode
Avatar

Pekket

Pekket
- Adobe Experience Manager Forms
This is the out of the box component.This is one of my components...The class selecters aren't placed on..i'll guess it has something to do with with cq:styleConfig that isn't loading when using data-sly-resource?

Views

652

Likes

0

Replies

0
Re: Sly-resource won't place class selectors in preview mode
Avatar

Pekket

Pekket
- Adobe Experience Manager Forms
No same result as preview mode

Views

652

Likes

0

Replies

0
Re: Sly-resource won't place class selectors in preview mode
Avatar

Pekket

Pekket
- Adobe Experience Manager Forms
This didn't work

Views

652

Likes

0

Replies

1
Re: Sly-resource won't place class selectors in preview mode
Avatar

Pekket

Pekket
- Adobe Experience Manager Forms
The css needs to be placed dynamicaly. The data-sly-resource loads in the whole html component with the css class selectors. This works in edit mode but not in preview mode.

Views

652

Likes

0

Replies

2
Sly-resource won't place class selectors in preview mode
Avatar

Pekket

Pekket
- Adobe Experience Manager Forms
I use data-sly-resource like this.The goal is to create a component where you can pick a begin date and an end date. van: tot: The problem im having is that the class selectors aren't placed on the html tags for the date input component in preview mode. And because of that the css isn't loaded.This is edit mode.This is preview mode.Thanks

Views

1.1K

Likes

0

Replies

12
Hide/show toolbar accordingly to role (admin/author/publisher)
Avatar

Pekket

Pekket
- Adobe Experience Manager Forms
Hi I'm have different roles on my AEM forms platform.I want each role to have their own console accordingly to his role. For example i only want the admin to see the 'hammer' tab in navigation. or so that a author doesn't have a publish button in the forms toolbar.How can i achieve this?Thanks

Views

267

Like

1

Replies

1
Likes given to
Likes from