Unable to add components to page | Community
Skip to main content
pallavis8124480
Level 3
Nov 20, 2018 3:53 AM UTC
Solved

Unable to add components to page

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.
pallavis8124480
pallavis8124480Accepted solution
Level 3
Nov 26, 2018 10:52 AM UTC

Hi ,

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

Thanks !

12 replies

pallavis8124480
pallavis8124480AuthorAccepted solution
Level 3
Nov 26, 2018 10:52 AM UTC

Hi ,

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

Thanks !

Translate
pallavis8124480
Level 3
Nov 21, 2018 3:40 AM UTC

@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.

 

Translate
VeenaVikraman
New Participant
Nov 20, 2018 1:49 PM UTC

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

Translate
pallavis8124480
Level 3
Nov 20, 2018 1:24 PM UTC

@veena_07 :

Yes all bundles are in active state.

Translate
VeenaVikraman
New Participant
Nov 20, 2018 12:29 PM UTC

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.

Translate
pallavis8124480
Level 3
Nov 20, 2018 12:27 PM UTC

Yes it is working fine in local.

Translate
VeenaVikraman
New Participant
Nov 20, 2018 12:26 PM UTC

Is this working in your local ?

Translate
pallavis8124480
Level 3
Nov 20, 2018 5:10 AM UTC

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.

Translate
smacdonald2008
Level 10
Nov 20, 2018 4:33 AM UTC

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?

Translate
New Participant
Mar 25, 2020 2:09 PM UTC

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.

 

 

Translate
pallavis8124480
Level 3
Nov 20, 2018 4:30 AM UTC

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

Translate