cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SmartEdit Powertools not accessible

DennisFoerster
Explorer
0 Kudos
1,568

Hey guys,

I'm running SAP Commerce CX reciple 2105 on my windows machine.

Everything is working properly, but I get an error in SmartEdit while trying to open any page of the powertools site.

  1. I login as an admin to smartedit
  2. choose the powertools page
  3. click on "homepage" to open it

Error message:

Powertools.local has refused a connection.

In the console I get the following error:

What I did so far:

  • changed the hosts file to get access to powertools storefront (127.0.0.1 apparel-uk.local apparel-de.local electronics.local powertools.local)
  • whitelisted all storefronts to smartedit: ["*"]

Accepted Solutions (0)

Answers (3)

Answers (3)

saurabhbhagwat
Discoverer

One follow up question on this, I got the same problem and as you mentioned the flag change did work but it also made the b2b site as accessible to anonymous user. How to keep b2b site locked for anonymous user and still use smartedit, is there a way?

serdar_dere_cs
Explorer
0 Kudos

How did you exactly solve this problem?
Right now I can access the homepage, but all other pages redirect to login page, which means, that I am only be able to access login page and homepage

What exactly is the solution here?

saurabhbhagwat
Discoverer
0 Kudos

seder001 See the issue is that powertools is a secure portal by default in new 2211 version. So, you cannot access the portal/website without login. Same behavior is happening in smartedit as well. To bypass it changing the flag of website "authentication required" to false will allow you to browse the site like an anonymous user and use it in smartedit as well, but, this will basically make the powertools site unprotected and behave like a B2C site. So, anyone can see the content without performing login.

Another workaround I found was that to use the powertools in smartedit, go to the login page first and perform a login with a storefront user. Now that the session is established with a logged-in user, you can easily move around to all the pages in smartedit. Please try this workaround and let me know if you still face issue.

serdar_dere_cs
Explorer
0 Kudos

Thank you for your answer saurabh.bhagwat,

The reason, why I disabled authentication and tried this approach was, that the no site was accessible in Smartedit.

I saw the loading circle and it disallowed me to click or do anything. Which drove me crazy but disabling authentication solved the issue, but now I have other problems as you mentioned.

Cheers,

Serdar

philipp_mueller
Newcomer
0 Kudos

I've found a workaround on stackoverflow: https://stackoverflow.com/a/60078133

You have to login with a B2BCustomer in the "real" storefront and then it works in smartedit.

DennisFoerster
Explorer
0 Kudos

I found a solution:

just go to Backoffice WCMS/Websites, choose the powertools store and change the "authentification required" to false. It disables the login page which appears automatically after opening the storefront, which leads to the error message in smartedit.