This website uses cookies to ensure you get the best experience on our website.

Skip to content
LOGO
  • Company

    About IGNEK

    Learn about our story and our mission.

    Careers

    We're hiring!

    We always looking for talented peoples. Join our team!

    Blogs

    The latest industry news, updates and info.

    Case Studies

    Take a closer look at the projects we've delivered

    Webinar

    Watch our latest organized webinar

    Get in touch with our HR team

    • hr@ignek.com
    • +91 93284 95160
    • Ahmedabad, Gujarat, India – 382470
  • Services

    Enterprise Portal Development

    Custom Enterprise Portal Development for flawless Solutions

    Dedicated Development Team

    Expand Teams, Optimize Development with Our Expertise

    Back-end Development

    Empowering your digital presence with robust backend development expertise

    Front-end Development

    Crafting engaging user experiences through expert frontend development

    Digital Transformation

    Embrace digital transformation by modernizing process

    SaaS Development

    Transform your business with SaaS Innovative Solutions

    Technologies

    Liferay Services

    Development & Customization

    Theme

    Upgradation

    Migration

    Proof of Concept

    Performance Tunning

    Architecture

    Support & Maintenance

    E-commerce

    Expert Advice

    React Services

    Enterprise Development

    Custom Application

    Single Page Application

    Architecture

    API Integration

    Migration

    Consulting

    Maintenance & Support

    Spring Boot Services

    Web Service

    MVC Web Development

    API Integration

    Security

    Migration

    Microservices

    Support & Maintenance

    AEM Services

    Consulting Service

    Site Development

    Migration & Upgradation

    Integration

    Maintenance & Support

    Custom Solutions

    Content Management

    Team Augementation

  • Solution

    Ready for digital excellence

    In our rapidly evolving world, businesses are always on the lookout for fresh ways to improve their operations and connect with their audiences.

    Contact US

    Solutions

    SaaS : Software As A Service

    Transforming industries through cutting edge SaaS solutions.

    Customer Portal : Boost Business Productivity

    Streamline operations and enhance productivity with our Customer Portal solution.

    Liferay Based Intranet Portal

    Internal portal for company communication, collaboration and resources

    Integration

    Matomo Integration with Liferay

    Integrate Matomo to enable user interactions seamlessly.

    Microsoft Teams integration with Liferay

    Integrate to enable seamless collaboration, messaging within your portal.

    Jira Integration With Liferay

    Optimizes business operations by integrating with Jira.

  • Hire Us

    Liferay

    Get expert Liferay developers for seamless portal solutions.

    React JS

    Get expert ReactJS developers for dynamic web solutions.

    Web Developer

    Get custom web solutions from IGNEK's expert developers.

    Spring Boot

    Get top-notch Spring Boot developers for your project success!

    Healthcare

    Get top Healthcare Developers for cutting-edge medical software.

    MERN Stack

    Get expert MERN developers from IGNEK for custom, innovative project solutions.

    Why Hire Developers From IGNEK ?

    • Certified Developer
    • Transparent Communication
    • Flexible Hiring Modals
    • Fully Signed NDA
    • Cost Effective
    • Easy Exit Policy

    Get in touch with our Sales team

    • sales@ignek.com
    • +91 6351576580
    • info@ignek.com
    • Ahmedabad, Gujarat, India – 382470
SCHEDULE CALL
  • COMPANY
    • About
    • Case Studies
    • Blogs
    • Career
    • Webinar
  • SERVICES
    • Enterprise Portal Development
    • Dedicated Development Team
    • Back-end Development
    • Front-end Development
    • Digital Transformation
    • SaaS Development
  • SOLUTION
    • Customer Portal:  Boost Business Productivity
    • SaaS : Software as a Service
    • Liferay Based Employee Intranet Portal
  • TECHNOLOGY
    • Liferay Services
      • Liferay Development and Customization
      • Liferay Theme Development Service
      • Liferay DXP 7.4 Upgrade
      • Liferay Migration
      • Liferay Proof Of Concept
      • Liferay Performance Tuning
      • Liferay Architecture Design Service
      • Liferay Support And Maintenance Service
      • Liferay Ecommerce Development
      • Liferay Expert Advice
    • ReactJS Services
      • ReactJS Enterprise Application Development
      • ReactJS Custom Application Development
      • ReactJS Single Page Application Development (SPA)
      • ReactJS Applications Architecture
      • ReactJS API Integration
      • ReactJS Migration
      • ReactJS Consulting
      • ReactJS Maintenance and Support
    • Spring Boot Services
      • Spring Boot Web Development Service
      • Spring MVC Web Development
      • Spring Boot API Integration Service
      • Spring Boot Security
      • Spring Boot Migration Service
      • Spring Boot Microservices
      • Spring Boot Support & Maintenance Service
    • AEM Development Services
      • AEM Consulting Services
      • AEM Site Development
      • AEM Migration & Upgradation
      • AEM Integration Services
      • AEM Maintenance & Support
      • AEM Content Management
      • Custom AEM Solutions
      • AEM Team Augmentation
  • INTEGRATION
  • HIRE US
    • Hire Liferay Developer
    • Hire ReactJS Developer
    • Hire Spring Boot Developer
    • Hire Healthcare Developer
    • Hire Web Developer
    • Hire MERN Stack Developer
  • CONTACT US
  • Company

    About IGNEK

    Careers

    We're hiring!

    Blogs

    Case Studies

    Webinar

    Get in touch with our HR team

    • hr@ignek.com
    • +91 93284 95160
    • Ahmedabad, Gujarat, India – 382470
  • Services

    Enterprise Portal Development

    Dedicated Development Team

    Back-end Development

    Front-end Development

    Digital Transformation

    SaaS Development

    Technologies

    Liferay Liferay Services
    • Development & Customization
    • Theme
    • Upgradation
    • Migration
    • Proof of Concept
    • Performance Tuning
    • Architecture
    • Support & Maintenance
    • E-commerce
    • Expert Advice
    React React Services
    • Enterprise Development
    • Custom Application
    • Single Page Application
    • Architecture
    • API Integration
    • Migration
    • Consulting
    • Maintenance & Support
    Spring Boot Spring Boot Services
    • Web Service
    • MVC Web Development
    • API Integration
    • Security
    • Migration
    • Microservices
    • Support & Maintenance
    AEM AEM Services
    • Consulting Service
    • Site Development
    • Migration & Upgradation
    • Integration
    • Maintenance & Support
    • Custom Solutions
    • Content Management
    • Team Augmentation
  • Solution

    Ready for digital excellence

    In our rapidly evolving world, businesses are always on the lookout for fresh ways to improve their operations and connect with their audiences.

    Contact US

    Solutions

    SaaS : Software As A Service

    Customer Portal : Boost Business Productivity

    Liferay Based Intranet Portal

    Integration

    Matomo Integration with Liferay

    Microsoft Teams integration with Liferay

    Jira Integration With Liferay

  • Hire Us

    Liferay

    React JS

    Web Developer

    Spring Boot

    Healthcare

    MERN Stack

    Why Hire Developers From IGNEK ?

    • Certified Developer
    • Transparent Communication
    • Flexible Hiring Modals
    • Fully Signed NDA
    • Cost Effective
    • Easy Exit Policy

    Get in touch with our Sales team

    • sales@ignek.com
    • +91 6351576580
    • IGNEK
    • Ahmedabad, Gujarat, India – 382470
  • SCHEDULE CALL

Trigger External Microservices from Object Actions with Client Extensions

  • Liferay
  • September 30, 2025

Share On :

Introduction

In today’s enterprise systems, microservices help applications stay modular, independent, and scalable. Liferay Objects enable us to manage business entities along with custom fields and custom actions. The integration of Object Actions with Client Extensions enables Liferay to be easily integrated with external microservices.

This blog post will guide you on how to set up a Liferay Object to initiate an external microservice client extension. This facilitates the continuous synchronization of data, real-time triggering of external APIs, and the ability to perform additional business logic outside of the Liferay environment.

Prerequisites
  • Liferay DXP/Portal 7.4+

  • Basic knowledge of Liferay Objects and Client Extensions

  • Configured microservice client extension in workspace

Environment Requirements
  • Java

  • Liferay

Calling External Microservices from Object Actions

Step 1: Create the .yaml file

Let’s assume you already have a microservice client extension configured in your Liferay Workspace. Now, to call this microservice on any object action, we need to define the object action in yaml file.

  • Create the client-extension.yaml file:

				
					assemble:
    - fromTask: bootJar
    
liferay-object-entry-spring-boot-application:
  .serviceAddress: localhost:58081
  .serviceScheme: http
  name: liferay-object-entry-spring-boot-application
  scopes:
    - Liferay.Headless.Delivery.everything
    - Liferay.Headless.Admin.Workflow.everything
  type: oAuthApplicationUserAgent
liferay-object-entry-spring-boot-object-action:
    name: Liferay Object Entry Spring Boot Object Action
    oAuth2ApplicationExternalReferenceCode: liferay-object-entry-spring-boot-application
    resourcePath: /object/action
    type: objectAction

				
			
  • By defining liferay-object-entry-spring-boot-object-action with type: objectAction, Liferay allows calling this microservice from the object action.

Step 2: Get the object data in the rest controller

To get object entry data, update your rest controller as follows:

				
					@RequestMapping("/object/action")
@RestController
public class ObjectEntryRestController extends BaseRestController {
	private static final Log _log = LogFactory.getLog(ObjectEntryRestController.class);

	@PostMapping
	public ResponseEntity<String> create(@AuthenticationPrincipal Jwt jwt, @RequestBody String json) {

		log(jwt, _log, json);

		//write your business logic

		return new ResponseEntity<>(json, HttpStatus.OK);
	}
}

				
			

Note: Make sure the controller’s endpoint matches the resourcePath you defined in the YAML file (e.g., resourcePath: /object/action).

Step 3: Deploy the client extension

  • Open a terminal window.
  • Navigate to your client extension project directory.
  • Run the following command to deploy the extension to your Liferay instance:

../../gradlew deploy

Step 4: Start the Microservice Application

After deploying the client extension, you need to start the microservice.

  • Open a terminal and navigate to the microservice client extension directory.
  • Run the following command to start the application:

../../gradlew bootRun

Step 5: Create an Object Action to call the Microservice

Now you can call the microservice by creating an object action.

  • Create an object action by creating a new object or an existing object.
  • Navigate to the Control Panel > Objects.
  • Open your object.
  • Click on the Actions tab.
object-action
  • Click on the + icon to create an object action.
create-action
  • Add the name of the action.
action-name
  • Navigate to the Action Builder tab.
  • Select the trigger action.
  • As the Action select object-action-executor[function#liferay-object-entry-spring-boot-object-action]

This tells Liferay which client extension function to execute when the object action is triggered.

  • Click on the save button.

Step 6: Add new object entry

Now add a new entry in your object.

object-entry

Now, check the terminal where your microservice is running. You should see the incoming object entry data in JSON format. This confirms the integration is working.

object-data
  • Now, when a new object entry will added, then the object will call the microservice and send that entry data.

  • You can apply any business logic based on that entry, like perform any action using Liferay’s headless API’s, calling external APIs.

Conclusion

Integrating Liferay Objects with external microservices is quite straightforward with client extensions. Such integration can automate business workflows, enable real-time data synchronization across systems, and extend workflows beyond Liferay with minimal custom code.

Such extensions help maintain a flexible architecture and improve system modularity, maintainability, and ease of modification.

Explore Our Services

Discover how we can help your business thrive, whether you’re running a small startup, an SME, or a large enterprise. We’re here to understand your unique needs and goals, offering the expertise and resources to support your journey to success.
Stay informed about our Liferay services and updates by subscribing to our newsletter—just fill in the details below to subscribe.

Loading
Loading...

Related Blogs

August 1, 2022
Object in liferay Cover Image
Objects in Liferay 7.4
July 19, 2024
What Is Client Extension & How We Can Use
What Is Client Extension & How We Can Use?
August 19, 2025
Microservice Client Extension
Microservice Client Extension
Loading...

Featured Projects Portfolios

October 3, 2023
Migration to Liferay DXP Portal for Enhanced Capabilities
Migration to Liferay DXP Portal for Enhanced Capabilities
November 25, 2024
Liferay DXP Based Intranet Portal Migration from 7.0 to 7.4
Liferay DXP Based Intranet Portal Migration from 7.0 to 7.4
November 29, 2024
Employee Intranet Portal for Government Entity
Employee Intranet Portal for Government Entity

Digital Solutions for Your Business with IGNEK

4.9

5.0

5.0

5.0

LOGO

Making the world a better place through constructing elegant hierarchies

COMPANY

  • About
  • Career
  • Case Study
  • Blogs

SERVICES

  • Enterprise Portal Development
  • Dedicated Development Team
  • Back-end Development
  • Front-end Development
  • Digital Transformation
  • SaaS Development

HIRE US

  • Liferay
  • Spring Boot
  • ReactJS
  • Healthcare
  • MERN Stack
  • AEM

CONTACT

  • info@ignek.com
  • info@ignek.com
SALES
  • sales@ignek.com
  • (+91) 635 157 6580
CAREER
  • hr@ignek.com
  • (+91) 932 849 5160
  • E 910-912, Ganesh Glory 11, Jagatpur Road, SG Highway, Ahmedabad, Gujarat - 382470

© 2018-2025 IGNEK, Inc. All rights reserved

Linkedin Facebook X-twitter Instagram