The attributes are additional information you would like to add to a metadata. For example, if I want to make it mandatory in the system that every User has a required field called “Retired?” then I’d add this as an attribute and select ‘User’.
In a Program Indicators, we use the values of Data Elements, TEA, Variables, and Constants. It doesn’t seem there’s a way in the PI expression where we can access the attribute of the metadata.; however, do we really need a metadata attribute for this use case?
For example, ‘PepfarId’ we are going to use the value of metadata (not an attribute of the metadata).
In other words, the metadata attributes are useful when dealing directly with the metadata. For example, I want to retrieve list of Users using the API but I want those who are ‘Retired?’ then I’d use the new metadata attribute attached to the User’s metadata.