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

Liferay object with the collections

  • Liferay
  • July 2, 2025

Share On :

Introduction

Liferay makes it easier to build things your way, especially with its Objects feature. Instead of relying on developers for every small change, you can create and manage custom data models yourself. One thing that makes Objects even more useful is Collections. With Collections, you can decide how your object data should appear on a page—whether it is a list of employees, services, or anything else. In this blog, I am sharing what I learned while working with Liferay Objects and how Collections helped me show data in a more meaningful way.

Prerequisites
  • Liferay DXP/Community

Environment Requirements
  • Java

  • Liferay

Liferay object with the Collections

Step 1 : Understanding Collections

Before implementing collections, it’s important to understand that where and how can we use collections :

  • Object : If you want to display object entries, there are predefined collections for objects.

  • Web-content : If you want to display web-content, you need to create a collection provider.

  • Blogs : You also needs to create dynamic collection provider to displaying the blog

Each of the Liferay’s assets are capable of displaying using collections.

Step 2 : Implementing Collections with objects to your portal

You can use collections for displaying the object entries and displaying the related object entries.

It is completely low-code/no-code OOTB features of the Liferay which helps you in maintaining the hierarchy, flow, and the relationship between objects.

Let’s take the example of related objects here.

  • Create the objects and maintain relationships between them.

Objects-List
  • As you can see in the image above, I have created the two objects and maintained the relationship between them.
  • I have given a one-to-many relationship to the student object for the result object.
  • Now open the edit mode of any page, where you want to display the object entries in your own design and own way.
  • As you can see in the image below, Open the page editor > type collections in the search bar > Put the collection display to the page > Click on the plus icon in the general menu to select the collection.
collection-display-indicator-page-editor
  • Now whenever you create an object, Liferay by default creates the collection provider for that object.
  • If you want to display the web-content using collections, you need to create a collection provider but for the object, Liferay provides the default functionality.
Collection-provider-selection
  • As you can see in the image above, we have the same name of collection provider as the objects.

  • If you want to see parent object entries on the display page, pick the parent object. You may also show related entries on the main page by selecting the child object.

  • Here I selected the Student object as it is our parent object.

Step 3 : Map the entries to displaying it on the page

Once you select the collection provider, you need one editable field fragment if you want your custom design to display the object entries otherwise you can use the OOTB feature of Liferay.

  • Now we need to map the fields inside the collection display to displaying the object entries.

Map-the-fields
  • As you can see in the image above, here I am using the Basic Component OOTB feature of Liferay named heading to map and displaying the entries.

  • You just need to select or double click on the heading example and map the object entries with it from the right hand side general menu.

  • Just put one button inside the collection display to navigate the display page of the related entries.

  • Now click on the Publish button.

Step 4 : Create a Display page and display the related object entries.

Now you need to create the display page for the student object and put the collection display inside the page as we did in the previous steps.

releated-assests-collection
  • As you can see in the image above, if we use a collection display from the display page then Liferay provides us with related items collection provider functionality to see only related entries on the display page.
  • There is one collection provider with the same name as your object relationship name.
  • You just need to select that collection provider and map the entries as the same as the previous steps.
Student-Data
Result-data
  • I have some entries in both of the objects for the testing as you can see in the images above.
  • Now you need to give a link of our display page to the button which we put on the main page.
Collection-page
  • We have two data of students currently which are dynamically displayed on the page as you can see in the image above.
  • Now when you click on the go somewhere button it is redirecting you on the display page where you only able to see the marks of selected students.
display-page
Conclusion

After working with Liferay Objects and Collections, we understand that they let you control your data and display it without writing long pieces of code. Collections especially make things more flexible—you can choose how to present your entries without starting from scratch each time. If you are using Liferay and want something that saves time and looks good, this is worth exploring. It helped me a lot, and I hope it helps you too.

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

April 24, 2023
REST Builder in Liferay Cover Image
REST Builder in Liferay 7.x
August 30, 2024
What Is Liferay Blueprint and How We Can Use It
What Is Liferay Blueprint and How We Can Use It?
December 30, 2024
API Builder In Liferay
API Builder In Liferay
Loading...

Featured Projects Portfolios

March 21, 2024
EPF Government Enterprise Website _ Multilingual, Access for Member, Employer, Corporate - New
EPF Government Enterprise Website : Multilingual, Access for Member, Employer, Corporate
June 19, 2024
Music License Management Portal _ Onboarding & Data Integrity
Music License Management Portal : Onboarding & Data Integrity
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

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