Joomla Content (JoomReem) icon

Joomla Content (JoomReem)

Manage Joomla CMS content - by Mohamed Abdelaziz (JoomReem)

Custom Field → Get Many

AI-generated

Summary

Retrieve multiple custom fields from Joomla CMS based on a specified content context (articles or categories).

Inputs

  • Context (required) — Selects the content context to retrieve custom fields for, either 'Article' (com_content.article) or 'Category' (com_content.categories).
  • Return All — Boolean to specify whether to return all available custom fields or limit the number of results.
  • Limit — Specifies the maximum number of custom fields to return when 'Return All' is false; minimum value is 1, default is 50.

Output shape

a list of custom field records as returned by the Joomla CMS API for the specified context

If 'Return All' is true, all matching custom fields are retrieved with pagination handled internally. Otherwise, the number of results is limited by the 'Limit' parameter. Each item corresponds to a custom field with details as provided by Joomla's API.

Examples

Example 1: Fetch all custom fields defined for articles

Set Context to 'Article', set Return All to true.

Example 2: Fetch up to 10 custom fields for categories

Set Context to 'Category', set Return All to false, Limit to 10.

Links

Discussion