Reputation: 154
We define new Governance Registry artifact type, and we want define the field that can upload the attachment, how we can do that? Any example? Thank you
Upvotes: 1
Views: 311
Reputation: 17328
There are 2 types of artifacts in GReg
I assume that you have created a metadata type rxt which we can not upload the attachment as a field. However you can achieve this by registry associations. Create one metadata type rxt and create a content type rxt to upload the attachment. Then create association between both of them manually. using this link you will have direct link between these two artifact types.
Link to the attachment:
Dependancy graph: this is additional feature that you can visualise your associations.
You can automate this whole process by using registry mediaType handlers. You can find already created handlers from here
Hope this helps.
Upvotes: 2