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

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

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.
antoniom5495929
antoniom5495929Accepted solution
Level 7
Sep 11, 2019 12:32 PM UTC

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

antoniom5495929
antoniom5495929Accepted solution
Level 7
Sep 11, 2019 12:32 PM UTC

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

Translate
Level 2
Aug 27, 2019 7:31 PM UTC

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

Translate