Granite UI:Pathfield does not show child nodes under sling:OsgiConfig node | Community
Skip to main content
Level 3
August 9, 2017
Solved

Granite UI:Pathfield does not show child nodes under sling:OsgiConfig node

  • August 9, 2017
  • 2 replies
  • 2516 views

Hi,

We have a requirement to import product data into AEM and pre-populate it on a component dialog. We are importing data in here /etc/commerce/pdh/product-family/test/brand/cooper/series-x/339188223, test is of type sling:Folder and brand node under test is of type sling:OsgiConfig(reason being unable to create node of any other type).

In a component dialog, there is a pathfield so that author can select above path(/etc/commerce/pdh/product-family/test/brand/cooper/series-x/339188223), but the nodes under brand are not visible. Please see the attached screenshots.

Please let me know if there is a way to fix this issue.

Thanks & Regards,

Srikanth Pogula.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by antoniom5495929

Hi,

the behaviour that you are facing is correct.

The elements into slingOsgi config folder need to be related to an OSGi configuration so they cannot be changed from an Author UI.

I suggest you to change location where you are storing your elements.

Thanks,

Antonio

2 replies

Level 2
August 27, 2019

Were you able to get it working? I have the same issue

antoniom5495929
antoniom5495929Accepted solution
Level 7
September 11, 2019

Hi,

the behaviour that you are facing is correct.

The elements into slingOsgi config folder need to be related to an OSGi configuration so they cannot be changed from an Author UI.

I suggest you to change location where you are storing your elements.

Thanks,

Antonio