To get started with Metadata we have to understand how it works and how to install the prerequisites. Following are the steps that tell us how metadata work:
Metadata is first defined in a source adapter by implementing an adapter method metadata that returns a JSON structure. The JSON structure may contain a hash of hashes and can also have child elements defined as arrays of hashes. The key in each object can be any string; however, there are some reserved labels, which are used by certain elements.
The metadata for an adapter is synchronized to Rhodes along with the rest of the adapter dataset. Metadata is called before the query method in the SyncEngine workflow, so you can tailor your query method based on metadata.
Rhodes uses the synchronized metadata definition to render views at runtime. These views are driven by the metadata definition, so when a new definition is synchronized, the views will automatically reflect the changes.
To use this powerful feature...