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
BedrockMission!

Learn More

View all

Sign in to view all badges

Subbu_WCM
Community profile Subbu_WCM Level 1
Job title here
Location here
2 BADGES
Level 1

Level 1

Learn more
Joined the community 12-08-2018 8:12:28 PM
Offline
Top badges earned by Subbu_WCM
Customize the badges you want to showcase on your profile
Re: fetch window URL and verify using data-sly-test
Avatar
Boost 3
Level 1
Subbu_WCM
Level 1

Likes

3 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
Subbu_WCM
- Adobe Experience Manager
you can use wcmmode to determine the whether the page is loading in publish or not . can you try with below code snippet? // include scripts to load on publish // include scripts to load on other than publish

Views

168

Likes

2

Replies

1
Re: Conditionally add tabs to page properties based on te...
Avatar
Boost 3
Level 1
Subbu_WCM
Level 1

Likes

3 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
Subbu_WCM
- Adobe Experience Manager
Hi @akaria you can use the granite render condition. in your project create hide-tab.html (/components/graniteConditions/hide-tab/hide-tab.html) and call sling modal with Sling request adaptable. In the sling modal you check the template of page is listed in the templates property or not.Based that you can set the render condition attribute for the request. You can get the page path from the request query string slingHttpServletRequest.setAttribute(RenderCondition.class.getName(), new Simp...

Views

146

Like

1

Replies

0
Likes from