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

How to change smartedit url to our customurl

0 Likes
2,655



Hi ,


I'm trying to change "smartedit" name to "rapidedit" in URL.
i.e https://localhost:9002/rapidedit

I'm gone through following examples.

https://answers.sap.com/questions/12768987/view.html

I have done below step:
added properties in local.properties
- smartedit.webroot=/rapidedit
- ant deploy
- sh hybrisserver.sh

When i tries to open https://localhost:9002/rapidedit


- the page is not loading properly. its showing blank page
- in Network i found call "https://localhost:9002/smartedit/configuration"

[i dont know from where this URL comming from. it should be "https://localhost:9002/rapidedit/configuration"]


- I searched "/smartedit/configuration" in project. i found some referance in some *.ts file. i have changed referene from "/smartedit/configuration" to "/rapidedit/configuration"
- still no reflection
- Also I got error in console "LoadConfigManager.loadAsObject - loadAsArray failed to load configuration undefined"

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Likes

Update with 2005 version and following major release should be similar

  1. Update SMARTEDIT_ROOT value from‘smartedit’to‘youredit’in hybris/bin/modules/smartedit/smartedit/web/app/common/services/rest/resourceLocations.ts
  2. In resourceLocations.ts, several constants import fromsmarteditconstants.ts, such as SMARTEDIT_RESOURCE_URI_REGEXP,CONFIGURATION_URI,SETTINGS_URI,SSO_OAUTH2_AUTHENTICATION_ENTRY_POINT, replace the value‘/smartedit/’ to‘/youredit/’
  3. Addsmartedit.webroot=/youreditin local.properties
  4. Executeant clean allunder platform folder, then ./hybrissever.sh