liferay-server-cx

star 7

Expert guidance for creating server-side Liferay Client Extensions (Object Actions, Workflow Actions, and Proxy Objects) as microservices and deploying them on Liferay Cloud PaaS.

kristianp335 By kristianp335 schedule Updated 3/12/2026

name: liferay-server-cx description: Expert guidance for creating server-side Liferay Client Extensions (Object Actions, Workflow Actions, and Proxy Objects) as microservices and deploying them on Liferay Cloud PaaS.

Liferay Server-Side Client Extensions Skill

This skill provides expert procedural knowledge and best practices for scaffolding, configuring, and deploying Liferay Server-Side Client Extensions—specifically focusing on Object Actions, Workflow Actions, and Proxy Objects.

Core Workflows

  • Object Actions (objectAction): Defining webhooks in client-extension.yaml to trigger external microservice logic based on Liferay Object events (On After Add, On Before Update, etc.).
  • Workflow Actions (workflowAction): Integrating external microservice logic into Liferay Workflow nodes to automate decisions and transitions (e.g., auto-approvals, AI processing).
  • Proxy Objects: Architecting headless REST APIs that serve as the external storage backend for Liferay Proxy Objects, allowing Liferay to treat external data as native entities without persisting it locally.
  • Liferay Cloud PaaS Deployment: Structuring the workspace to deploy both the client extension definitions (.zip) to the Liferay service and the backend microservices as standalone services using LCP.json.

Architecture Preference: Node.js

For building demo microservices, Node.js (with Express) is the preferred and default framework over Spring Boot.

  • Speed & Simplicity: Scaffolding endpoints requires minimal boilerplate, keeping demo repositories clean and easy to explain.
  • Native JSON: Liferay Client Extensions communicate via JSON payloads, which Node.js processes natively without complex object mapping.
  • Resource Efficiency: Node.js containers have a significantly smaller memory footprint and faster startup times in Liferay Cloud PaaS compared to Java/Spring Boot.

Note: Only use Spring Boot if the demo specifically requires an enterprise Java narrative or integration with heavy Java-based legacy systems.

STRICT EXECUTION PROTOCOL (MANDATORY READS)

You MUST NOT rely on pre-existing knowledge of Liferay server-side extensibility or LCP deployment structures. You MUST use the read_file tool to read the following reference document BEFORE planning or writing code:

  • Server-Side Configuration & Microservices: You MUST read LIFERAY_SERVER_CX_GUIDE.md. This guide contains the exact client-extension.yaml structures required for Server-Side extensions and the correct payload parsing methods for the accompanying microservices.
Install via CLI
npx skills add https://github.com/kristianp335/liferay-ai-demo-build-md-files --skill liferay-server-cx
Repository Details
star Stars 7
call_split Forks 4
navigation Branch main
article Path SKILL.md
More from Creator
kristianp335
kristianp335 Explore all skills →