1

Trying to Implement Experience GUI extensions for Experience Space using below documentation: https://docs.rws.com/1099765/1068407/tridion-sites-10-main-documentation/gui-extensions-for-experience-space

https://github.com/RWS/tridion-sites-extensions-examples

while running project locally i get below error on browser:

Error occurred while trying to proxy: localhost:3000/ui/

In Terminal logs i see : e> [webpack-dev-server] [HPM] Error occurred while proxying request localhost:3000/ui/ to https://development.tridion.sdlproducts.com/ [ECONNRESET] (https://nodejs.org/api/errors.html#errors_common_system_errors)

Using rws sites as saas and using SDLCXC credentials for logins.

NOTE: if i try to proxy other sites like facebook or google instead of cme, they work!

I tried multiple things by tweaking devServer.js if saas need more changes but was not able to run it locally.

4
  • Rahul , We will review and update you , also i would suggest you create a support ticket and may be will be able to share some more details on how to make it work
    – Anand N S
    Oct 25, 2023 at 8:00
  • Rahul, I assume you are using access management please confirm
    – Anand N S
    Oct 25, 2023 at 15:32
  • @AnandNS yes! we are using access management Oct 26, 2023 at 7:10
  • I get this error message on access management screen : An error occurred. Invalid redirect_uri Check the logs for more information. Oct 26, 2023 at 21:36

1 Answer 1

3

Can you please try the following from your local and let me know if its working

Step 1) access the access management URL , go to Applications -> double click Tridion Sites Experience Space

Step 2) Click on Edit and Add the following URL

  • http://localhost:3000/ui/signin-oidc
  • http://domainname:3000/ui/signin-oidc ( domainname of the CMS )

Step 3) Restart the Access Management Apppool

Step 4) install visual studio code on the CMS server go to the extension example : \simple-action-addon\hello-action open the package.json add http://domainname to the target ( CMS domain URL)

Step 6) run ( npm i ) and run npm run dev , it will load the http://localhost:3000/ui/ with the extensions displayed successfully.

Hope it works for you !!

2
  • it works like a charm. Thanks Oct 27, 2023 at 11:27
  • Thanks Rahul for the confirmation , please reach out to tridion stackexchange if you have any further questions related to extensions and anything else we are happy to address your questions
    – Anand N S
    Oct 27, 2023 at 11:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.