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

Delete empty tab nodes of page properties

Avatar

Avatar
Validate 10
Level 3
arturl43391132
Level 3

Likes

18 likes

Total Posts

68 posts

Correct Reply

10 solutions
Top badges earned
Validate 10
Validate 1
Ignite 1
Give Back
Boost 5
View profile

Avatar
Validate 10
Level 3
arturl43391132
Level 3

Likes

18 likes

Total Posts

68 posts

Correct Reply

10 solutions
Top badges earned
Validate 10
Validate 1
Ignite 1
Give Back
Boost 5
View profile
arturl43391132
Level 3

11-05-2020

Hello, Adobe Community,

We have one of custom tab included in page properties with some properties:

arturl43391132_0-1589185191412.png

As we can see, all properties are empty on the screen but nodes in crx still exist:

arturl43391132_1-1589185323472.png

m4w node - all properties which are located under tab "Web feed settings"
ads node - fieldset with properties under under tab "Web feed settings"

Properties have names like "./m4w/something" and "./m4w/ads/something".

Is there any beautiful way to delete nodes if all properties under some tab are empty or node doesn't have properties?
I tried typehints like "@Delete", but they did't help. And the problem is also that then we click "save & close" button on page properties page, it seems that it saves these nodes anyway.

Thanks. 



node page properties

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
Employee
jbrar
Employee

Likes

377 likes

Total Posts

867 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Coach
Employee
jbrar
Employee

Likes

377 likes

Total Posts

867 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile
jbrar
Employee

11-05-2020

You can look into Granite hide conditions[1] to hide properties based on some conditions.

 

[1] https://docs.adobe.com/content/help/en/experience-manager-65/developing/components/hide-conditions.h...

Answers (1)

Answers (1)

Avatar

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

440 likes

Total Posts

1,016 posts

Correct Reply

115 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

440 likes

Total Posts

1,016 posts

Correct Reply

115 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile
Veena_Vikram
MVP

11-05-2020

Do you have any hidden properties in this tabs ? I was wondering why this is getting created in the first place when you have not authored anything yet. This can happen only if you have authored it once , and then it was left empty. So when the first time you authored , the nodes might have got created.