DEVCON 2026    |    2-5 November 2026 – QEII Centre – London, UK    |    Register now! 

Blogs

[ Front-end Client Extension ] - How to automate deployments for Remote Apps in On-premises

Roselaine Marques
Roselaine Marques
Egy perces olvasmány

You should be aware of the benefits of using client extension and maybe you already started using it (if don't, you should do it) your project is not an LXC (SaaS) and you would like to avoid the need to configure it from the UI manually for all environments, this blog post is for you!

Who is using remote apps in an On-premise environment, a proposed solution to automate the deployment.

When we think about using remote apps or any other client extension they should be hosted in a different server from your Liferay Portal; deploying in LXC any client extension, this happens totally transparent you don't need to worry about it, but when we bring this scenario to an On-premises installation, the external server with the remote application has different URL agreed on the remote environment like DEV, UAT, PROD … thinking on that I thought it would be helpful write this blog post with a possible solution:

1) Start creating an OSGi config file for each remote application with the following pattern: 

  • com.liferay.client.extension.type.configuration.CETConfiguration_[REMOTE_APP_NAME].config

The content of the config file must follow the pattern sample below, where the most important point out here is the baseURL="$[env:REMOTE_DOMAIN]"
 

Hozzászólások az oldalhoz

Hey, 

thanks for this useful post!

I tried to test it but there is an issue for me: Even if I use the same name for the config file as for the custom element, the config and app are two separate entries in the control panel under remote apps. 

Do you have any idea how to solve that? 

Thanks!

Related Assets...

Nincsenek találatok

More Blog Entries...

David H Nebinger
szeptember 28, 2026
David H Nebinger
szeptember 25, 2026
David H Nebinger
szeptember 23, 2026