Legacy Knowledge Base
Published Jun. 30, 2025

After importing the object to the portal, it's not visible on the 'Fragments and Widgets' option

Written By

Kartik Singh

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Import the object on the portal, the import was successful but after navigating to the 'Fragments and Widgets' option and searching for the imported object, it's now visible.

Steps:

  1. Create a 'Demo' object with 2 text fields and publish it.
  2. Navigate to the 'Fragments and Widgets', add the 'Demo' object on the page and it is visible with the 2 text fields.
  3. Export the 'Demo' object after clicking on "Export as JSON".
  4. Edited the existing 'Demo' object, delete the 1 one field, and save it, now, on the page it shows on one field.
  5. Import the 'Demo' Object which is exported in the 3rd step.
  6. Now, tried to add the imported object to the page again, and the imported 'Demo' object is not visible in the 'Fragments and Widgets' options.

Environment

  • Liferay 7.4 [all updates]

Resolution

  • After importing the object to the portal,  the object needs to be activated first before accessing it on the page.
  • Please follow the below steps:
    • Navigate to the Control Panel > Objects > edit the 'Demo' object > Details > OBJECT DATA > Enable/Active the object.
    • After following the above step, again navigate to the 'Fragments and Widgets' and search the imported 'Demo' object and it is visible and accessible now.
Did this article resolve your issue ?

Legacy Knowledge Base