Unable to add components to page | Community
Skip to main content
pallavis8124480
Level 3
November 20, 2018
Solved

Unable to add components to page

  • November 20, 2018
  • 11 replies
  • 8557 views

Hi ,

I am unable to add component to page even the components are allowed in design mode. The add component symbol(+ symbol) itself is not appearing . I can see only experience fragment symbol.

Also please see the screenshot  ,it is generating some error in the console log.

NOTE : I am trying to add the components using proper privileges but still no luck.

Please let me know if any idea on this issue.

Thanks,

Pallavi

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 pallavis8124480

Hi ,

The repository was corrupted.
So we restored using a backup.
It started to work !!

Thanks !

11 replies

smacdonald2008
Level 10
November 20, 2018

WHat AEM version are you using. You mentioned Design mode - which seems to be an older AEM version. 

pallavis8124480
Level 3
November 20, 2018

I am using AEM 6.4 version.
Recently we got migrated from AEM 6.2 to AEM 6.4 version.

smacdonald2008
Level 10
November 20, 2018

Design mode works with projects that use static templates. Projects built wiht Editable Templates use policies - not Design mode to specify what components can be used on a page. If you are not familar with Editabel Templates - see:

Scott's Digital Community: Guided Journey for Experience Manager on Editable Templates

Now for your problem - are you seeing error messages in the log? Can you add components to the We Retail site?

March 25, 2020

Hi,

I am also facing the same issue in Editable templates. I have set the policy to allow the components. But I am not able to add the component in the page.

 

 

 

Drag and Drop functionality or "+" icon is not there in the toolbar. This is also happening in the we-retail site.

The same page is working in different environment as well as on my local instance.

 

 

pallavis8124480
Level 3
November 20, 2018

smacdonald2008​ :

Thanks for the link . Yes we are using static templates.

We are seeing the following error :

error in indexed-db adapter !


This issue is observed in one of environment where we dont have the sample content.

VeenaVikraman
Community Advisor
Community Advisor
November 20, 2018

Is this working in your local ?

pallavis8124480
Level 3
November 20, 2018

Yes it is working fine in local.

VeenaVikraman
Community Advisor
Community Advisor
November 20, 2018

There should be some issue with the env then . Is all the bundles in system console active ? Not your project alone, but almost all bundles should be in active state.

pallavis8124480
Level 3
November 20, 2018

@veena_07 :

Yes all bundles are in active state.

VeenaVikraman
Community Advisor
Community Advisor
November 20, 2018

Cannot really say what the issue with limited information. Somebody should check what is happening with your server I believe

pallavis8124480
Level 3
November 21, 2018

@13541247_07 & smacdonald2008​ :

 

I was able to get some logs .Please find the below logs :

 

js uses the deprecated asynchronous API provided by the 'granite' namespace. Please refactor the script to use the synchronous API provided by the org.apache.sling.scripting.javascript bundle.

 

 

20.11.2018 00:37:02.863 *WARN* [10.80.184.201 [1542692222347] GET /content/test/abc.html HTTP/1.1] org.apache.sling.scripting.sightly.js.impl.jsapi.ProxyAsyncScriptableFactory Script /libs/wcm/foundation/components/page/headlibs.js uses the deprecated asynchronous API provided by the 'granite' namespace. Please refactor the script to use the synchronous API provided by the org.apache.sling.scripting.javascript bundle.

 

 

 

org.apache.sling.scripting.sightly.js.impl.jsapi.ProxyAsyncScriptableFactory Script /libs/wcm/foundation/components/page/body.js uses the deprecated asynchronous API provided by the 'granite' namespace. Please refactor the script to use the synchronous API provided by the org.apache.sling.scripting.javascript bundle.