cancel
Showing results for 
Search instead for 
Did you mean: 

smartedit enabling for custom storeFront

0 Kudos

Hi Team, I want to enable smartedit to my storefront. Are there any refrences or steps to do that? I am already refering : https://help.hybris.com/6.2.0/hcd/6d55d5fba206425b9acecda9f2311483.html But steps are not clear enough achieve the process.

Accepted Solutions (0)

Answers (8)

Answers (8)

former_member662344
Discoverer
0 Kudos

Hi, Iam not able to login as an admin user [stating as bad credentials] and getting below error in backend :

de.hybris.platform.servicelayer.exceptions.UnknownIdentifierException: Could not find configuration with key [defaultToolingLanguage].

I get that too. Did you manage to solve your issue? I'm on 6.6 right now and creating a fresh new extension of ysmarteditmodule

0 Kudos

also same issue on 1811.. bad client credentials. Someone knows why? just updated from 1808 to 1811

0 Kudos

just change the WCMS Cockpit Preview URL on the website from backoffice

Former Member
0 Kudos

I guess there is an issue with the path configured somewhere. There should be a '/' after the 9002.

The $config-b2bStorefrontContextRoot makes me think there is an impex or impex resolving problem. This looks like a placeholder that never got replaced.

0 Kudos

Any idea about resolving this problem. if the value of $config-b2bStorefrontContextRoot passes as /login it would be sufficient to load the application. Any help in this regard would be helpful.

Former Member
0 Kudos

I don't think $config-b2bStorefrontContextRoot is coming from the platform is it? Is this a custom param in your setup somewhere?

jseidl
Explorer
0 Kudos

$config points to your property files (local, project), separated with a dash from the key which is looked up ("b2bStorefrontContextRoot"). So there should be a b2bStorefrontContextRoot=value entry in one of your property files. Resolving only works if you have the following line in your impex:

 # Import config properties into impex macros
 UPDATE GenericItem[processor = de.hybris.platform.commerceservices.impex.impl.ConfigPropertyImportProcessor]; pk[unique = true]
 
0 Kudos

I am using custom storefront. I am also facing below issue : java.net.MalformedURLException: For input string: "9002$config-b2bStorefrontContextRoot" at java.net.URL.(URL.java:627) at java.net.URL.(URL.java:490) at java.net.URL.(URL.java:439) at de.hybris.platform.previewwebservices.populators.PreviewTicketReversePopulator.populate(PreviewTicketReversePopulator.java:64) ... 108 more Caused by: java.lang.NumberFormatException: For input string: "9002$config-b2bStorefrontContextRoot" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)

We have following properties : In local.properties : storefrontContextRoot=

In project.properties of mystorefront : storefrontContextRoot=/mystorefront

The resourcePath url is malformed as below : "https://localhost:9002$config-b2bStorefrontContextRoot/?site=storeUS"

Please advise on this.

Former Member
0 Kudos

Did you use one of the installer recipes? Are you using a custom storefront?

Former Member
0 Kudos

Hi, Are you able to open https://domainame:port/smartedit ? Just share screen shot. For which storefront your are installing smart edit, I mean b2b or b2c ?

Pramod

0 Kudos

I am able to get it for https://localhost:9002/smartedit.

I am installing it for B2B. I modified smarteditaddon-spring.xml value to B2B as well.

0 Kudos

Thanks for the info Brian. I am getting 403 bad request error on clicking any of the catalog . The request is https://localhost:9002/previewwebservices/v1/preview. Please let me know what edit configuration we need to add to enable our custom storefront previewed.

former_member698810
Discoverer
0 Kudos

Any user account that you like to configure with access to smartedit should have previewmanagergroup/admingroup in group permissions for enabling access to preview.

Former Member
0 Kudos

Hi!

This is probably the one you want. https://help.hybris.com/6.2.0/hcd/622cebcb444b42e18de2147775430b9d.html#loio622cebcb444b42e18de21477... There are a few links from there to other docs, but if you have any further detailed questions, just ask!

Brian