?embedded=false in Workshop

I want to add ?embedded=false to the URL when loading a workshop so that the user does not have to see the black sidebar with all the components:
image

I tried using routing, and this is added to the URL, but it only applies after you select the URL and press enter.

Any idea how to solve this?

If you’re looking to give your app users a link and an experience that is limited to just your application - or potentially a few related applications - I’d recommend configuring a Carbon workspace.

This will create a permalink that will open this workspace and, as part of the configuration, you can control if and how users can “discover” the rest of Foundry.

The embedded=true flag to hide the sidebar is, as the query parameter implies, intended for use when including a portion of Foundry embedded within some other UI, either within or external to Foundry.

Thanks for your reply!
The problem is that Carbon givs you a header instead of a sidebar. I want to give the user a clean app-experience.

Will try to solve it with a redirect instead:
www.company.com/appname

redirects to:
www.company.com/workspace/module/view/latest/ri.workshop.main.module.201f3fb1-c152-4bb9-a155-fc8f97831f63/home?embedded=false

1 Like