Configuring accounts as people fields (MDP)
This feature allows you to configure accounts as dynamic selection values for people fields. With this feature enabled, catalog teams can effortlessly tailor metadata fields on resource pages, allowing for a targeted selection from a list of active data.world accounts. This facilitates the configuration of organizational accounts, empowering end-users to easily search and attribute users, enhancing both resource management and user interaction.
Key features:
Dynamic selection: Configure user accounts to appear as dropdown values for people fields, simplifying the process of associating users with resources.
Filter resources by accounts: Users can utilize these people fields to filter resource lists based on specific accounts, improving data discoverability and management.
Creating account fields
Use the following syntax to add the account as people field to the file:
@prefix democorpprofile: <https://democorp.linked.data.world/d/ddw-catalogs/> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix dwec: <https://dwec.data.world/v0/> . democorpprofile:MetadataPresentation-Stewards rdf:type dwec:DwAccountMetadataPresentation ; rdf:type dwec:Facetable; rdf:type dwec:Multivalued ; rdfs:label "Stewards" ; dwec:forType dwec:Analysis ; dwec:forType dwec:DatabaseTable ; dwec:forType dwec:DatabaseColumn ; dwec:inMetadataSection democorpprofile:MetadataSectionPeople ; dwec:inMetadataSection <https://dwec.data.world/v0/default-profile/MetadataSectionSearchCard> ; dwec:presentationSortOrder 1 ; dwec:viaProperty democorpprofile:Follower .
Property | Required | Description | Example or Possible values |
---|---|---|---|
:MetadataPresentation-Custom | Yes | This is the unique identifier for the custom field. Replace custom with the name of your custom field. | :MetadataPresentation-Stewards |
rdf:type dwec:DwAccountMetadataPresentation | Yes | Specify to make this field display organization members as dropdown list for selection | - |
rdfs:label "Custom"; | Yes | The name as it should appear on the UI. Replace Custom with the label of the field you want to display on the UI. | rdfs:label "Stewards" ; |
dwec:forType | Yes | Specify the objects for which you want to add the custom field. You can define multiple objects here. | Possible values: _ dwec:forType dwec:DwDataset ; _ dwec:forType dwec:Analysis ; _ dwec:forType dwec:BusinessTerm ;(subtypes of business terms) _ dwec:forType dwec:Catalog ; _ dwec:forType dwec:DatabaseTable ; _ dwec:forType dwec:DatabaseColumn ; _ dwec:forType dwec:_Custom* ; |
dwec:inMetadataSection | Yes | Specify the section where you want to show the custom field. | Possible values: MetadataSectionInformational MetadataSectionTechnical MetadataSectionPeople MetadataSectionCustom https://dwec.data.world/v0/default-profile/MetadataSectionSearchCard |
dwec:viaProperty | Yes | A unique internal name for the field. This is the field in which the values are stored internally in the system. | democorpprofile:Stewards |
rdf:typedwec:Facetable | No | Specify if the field should show in the search filter options so that users can use it for filtering search results. | - |
rdf:type dwec:Multivalued | No | Specify if the field should allow selecting multiple values. | - |
View the results 🥳
You can now attribute members of your catalog to your data resources.