Want to open widget directly with some parameters in URL

Hi All,

My theia based react application works locally on http://localhost:3000/#/home/project and on server http://nnn.nnn.nnn.nnn:3000/#/home/project,

Now I want to open one perticular widget, when I type certain url in browser e.g. http://nnn.nnn.nnn.nnn:3000/xyz/123456

123456 is actually a id of data which I wants to load in xyz widget.

How to achieve this?

@gauravthorath You can just create a FrontendApplicationContribution class that looks at the current URL and instructs a widget to open with the given information in the onStart method. How you provide this information depends a bit on what kind of widget you have.

Thank you, I will try it. Do you have any idea how can i check current url in
onStart(app: FrontendApplication): MaybePromise {


window.location will return the current URL in a parsed format.