cancel
Showing results for 
Search instead for 
Did you mean: 

smart edit add new component is not visible

Former Member
0 Kudos
2,855

Hi All,

When I open smart edit and click on basic edit I cannot find add component button on menu bar any idea , Please?

Former Member

Hi Jameel, I am facing the same issue than you. Finally you could solved it out?

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

This problem also occurs If you have a staged --> online setup, but have staged as active catalog.

0 Kudos

This happens when smart edit is not properly configured. Can you verify that following extensions are added by you

  <extension name='smartedit' />
  <extension name='cmssmartedit' />
  <extension name='cmssmarteditwebservices'/>
  <extension name='cmswebservices' />
  <extension name='permissionswebservices'/>
  <extension name='previewwebservices' />
  <extension name='smarteditaddon'/>
  <extension name='smarteditwebservices' />
  <extension name="cmsbackoffice"/>
  <extension name="personalizationservicesbackoffice"/>
  <extension name="personalizationservices"/>
  <extension name="personalizationcmsbackoffice"/>
  <extension name="previewpersonalizationweb"/>
  <extension name="personalizationcmsweb"/>
  <extension name="personalizationsmartedit"/>
 

After that have done smarteditaddon install . and then added following entries in your project.properties file of storefront

[storefrontName].additionalWebSpringConfigs.smarteditaddon=classpath:/smarteditaddon/web/spring/smarteditaddon-w smarteditaddon.application-context=smarteditaddon-spring.xml smarteditaddon.javascript.paths.responsive=/shared/common/js/webApplicationInjector.js;/shared/common/js/reprocessPage.js;/shared/common/js/adjustComponentRenderingToSE.js;/responsive/common/js/smarteditaddon.js smarteditaddon.css.paths.responsive=/responsive/common/css/smarteditaddon.css

and then run ant npminstall from platform

0 Kudos

This happens when smart edit is not properly configured. Can you verify that following extensions are added by you

  <extension name='smartedit' />
  <extension name='cmssmartedit' />
  <extension name='cmssmarteditwebservices'/>
  <extension name='cmswebservices' />
  <extension name='permissionswebservices'/>
  <extension name='previewwebservices' />
  <extension name='smarteditaddon'/>
  <extension name='smarteditwebservices' />
  <extension name="cmsbackoffice"/>
  <extension name="personalizationservicesbackoffice"/>
  <extension name="personalizationservices"/>
  <extension name="personalizationcmsbackoffice"/>
  <extension name="previewpersonalizationweb"/>
  <extension name="personalizationcmsweb"/>
  <extension name="personalizationsmartedit"/>
 

After that have done smarteditaddon install . and then added following entries in your project.properties file of storefront

[storefrontName].additionalWebSpringConfigs.smarteditaddon=classpath:/smarteditaddon/web/spring/smarteditaddon-w smarteditaddon.application-context=smarteditaddon-spring.xml smarteditaddon.javascript.paths.responsive=/shared/common/js/webApplicationInjector.js;/shared/common/js/reprocessPage.js;/shared/common/js/adjustComponentRenderingToSE.js;/responsive/common/js/smarteditaddon.js smarteditaddon.css.paths.responsive=/responsive/common/css/smarteditaddon.css

and then run ant npminstall from platform

chhunry_pheng
Explorer
0 Kudos

you also need to run ant build after running ant npminstall

To ensure that all SmartEdit extensions are set up to detect the third-party libraries stored in npmancillary, you must run the ant build command to create a symlink from the SmartEdit extensions to the nodes_module directory and the package.json file in the npmancillary extension.

ref: https://help.hybris.com/1808/hcd/8ba63c5a78a8464ca05cb3513af0d39e.html
Former Member
0 Kudos

Hi Chhunry, I'm using super admin admin nimda

Former Member
0 Kudos

Hi Jameel, I am facing the same issue than you. Finally you could solved it out?

chhunry_pheng
Explorer
0 Kudos

Then this rules out permissions issues.

chhunry_pheng
Explorer
0 Kudos

Hi Jameel,

Most features in SmartEdit are enabled based on user's permissions to read or write to a content catalog. Did you try giving your user or user group write permissions to your Staged Bookstore Content Catalog?

Former Member
0 Kudos

Hi Hysing, Thank you very much for your reply My Hybris version is 6.7 . Still I don't have any customization. I have just created an add-on added it to wide from backoffice then tried to open it from smart edit to add new component from the left button bar but it is not shown. Please is my add install comand ant addoninstall -Daddonnames="trendingaddon" -DaddonStorefront.yacceleratorstorefront="bookstorestorefront"

0 Kudos

I noticed from the picture that there is no highlighting on the components. (there should be a grey "lock" on the shared slots).

This could be caused by lacking permissions as suggest, a faulty installed addon or a javascript error on the storefront.

I suggest opening the web console in your browser and viewing the error messages. Here is a quick mapping between error message and error (use intuition):

"Site id is missing" - Faulty installed addon

"Permissions" - Missing permissions

"combined.js" - Storefront javascript error

0 Kudos

Hi,

This is not nearly enough information to answer your question.

What version are you on? (Smartedit has a lot of changes each version).

Do you have any customizations?

Is the addon installed properly? (the configuration of which will most likely not be included in version controll if you used ant addoninstall)

Is there any errors showing in console?