multifieldpanel slightly exception | Community
Skip to main content
AEMLearner-1989
Level 4
March 16, 2018
Solved

multifieldpanel slightly exception

  • March 16, 2018
  • 6 replies
  • 3001 views

Hi Team ,

I am using multifieldpanel dialog

<?xml version="1.0" encoding="UTF-8"?>

<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"

    jcr:primaryType="cq:Dialog"

    title="dialog"

    xtype="dialog">

    <items

        jcr:primaryType="cq:Widget"

        xtype="tabpanel">

        <items jcr:primaryType="cq:WidgetCollection">

            <links

                jcr:primaryType="cq:Widget"

                fieldLabel="Find your rep"

                name="./parent"

                xtype="multifield">

                <fieldConfig

                    jcr:primaryType="cq:Widget"

                    xtype="multifieldpanel">

                    <items jcr:primaryType="cq:WidgetCollection">

                        <country

                            jcr:primaryType="cq:Widget"

                            fieldLabel="Country"

                            key="id"

                            options=""

                            type="select"

                            width="250"

                            xtype="selection"/>

                        <officeAddress

                            jcr:primaryType="cq:Widget"

                            fieldLabel="Office Address"

                            key="officeAddress"

                            xtype="richtext"/>

                    </items>

                </fieldConfig>

            </links>

        </items>

    </items>

</jcr:root>

I am getting the below error when i try to fetch the values in slightly.

acs-aem-commons/MultiFieldPanelWCMUse.java at master · Adobe-Consulting-Services/acs-aem-commons · GitHub

Caused by: io.sightly.java.api.SightlyUseException: No use provider could resolve identifier: com.adobe.acs.commons.widgets.MultiFieldPanelWCMUse

at io.sightly.java.engine.extension.use.UseExtension$1.call(UseExtension.java:87)

at io.sightly.java.runtime.common.SightlyRuntimeImpl.call(SightlyRuntimeImpl.java:51)

Version : AEM 6.0

Regards,

Sathya

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 VeenaVikraman

This error comes when the use-class cannot be instantiated. This can happen mainly because when the bundles are not available. I did a search for similar issues and found few helpful answers. Just see if any of the below solves your problem as there is no much information available in your question to solve your issues .

In a nutshell below forum answers suggest artifact id should be in all lowercase and package should be in all lowercase. I dont exactly know if this is the cause of your issue. But do give it a try

No use provider could resolve identifier

Getting error msg 'No use provider could resolve identifier' when using sling model in HTL

6 replies

smacdonald2008
Level 10
March 16, 2018

Is your bundle active - looks like it cannot find the USE API:

No use provider could resolve identifier:

AEMLearner-1989
Level 4
March 16, 2018

Yes..my bundle is in active state..

Exported Packagescom.adobe.acs.commons.widgets,version=1.0.0
smacdonald2008
Level 10
March 16, 2018

Looking at the Notes in the Git Repo - it says its for AEM 6.2.

GitHub - Adobe-Consulting-Services/acs-aem-commons

Rima_Mittal
Level 4
March 16, 2018

How are you fetching the values in sightly? Can you share the code snippet?

smacdonald2008
Level 10
March 16, 2018

WHen you install ACS-Commons - which ACS-Commons component are you using? Can you show a screen shot of the component you are trying to use?

VeenaVikraman
Community Advisor
VeenaVikramanCommunity AdvisorAccepted solution
Community Advisor
March 16, 2018

This error comes when the use-class cannot be instantiated. This can happen mainly because when the bundles are not available. I did a search for similar issues and found few helpful answers. Just see if any of the below solves your problem as there is no much information available in your question to solve your issues .

In a nutshell below forum answers suggest artifact id should be in all lowercase and package should be in all lowercase. I dont exactly know if this is the cause of your issue. But do give it a try

No use provider could resolve identifier

Getting error msg 'No use provider could resolve identifier' when using sling model in HTL