Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

bkhatr
bkhatr
Online

Badges

Badges
3

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
2

Posts

Posts
3

Discussions

Discussions
0

Questions

Questions
3

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by bkhatr
Customize the badges you want to showcase on your profile
Re: How to identify if URL contains editor.html in Sightly - Adobe Experience Manager 03-03-2021
What are you trying to achieve by locating "editor.html" in URL?.

Views

1.3K

Likes

0

Replies

0
Re: How to identify if URL contains editor.html in Sightly - Adobe Experience Manager 03-03-2021
Are you trying to differentiate between preview and authoring mode?.

Views

1.3K

Likes

0

Replies

0
Re: fetch window URL and verify using data-sly-test - Adobe Experience Manager 03-03-2021
Hi, It will not be appropriate to rely on URL to differentiate between Author and Publish environment. You can use run modes to differentiate between Author and Publish environment. Now we need to locate current run modes in our Sightly/HTL . To achieve this, we can use Sightly/HTL JavaScript Use-API. Below is the sample code to find out current run modes : 1. Creating JavaScript file containing use-class under same path where our Sightly/HTL resides : runmodes.jsvar SlingSettingsService = Packa...

Views

533

Likes

2

Replies

0
Likes from