So in the property view (side panel when viewing an alfresco object in the repository, I'm trying to write a custom control for viewing the relevant properties of an association.
Basically I have two object types; Code, which is a key value pair, and CodeScheme which contains multiple child associations to codes, it's essentially a mirror of a map structure I have in a different system.
The problem I have is that the codes are automatically generated, so they get the UID names, whereas really I'd like to present them as 'key=value', 'key=value', etc, and ideally I'd like to present it as a table.
I've already created a custom control and added it to share-config-custom, and confirmed that the configuration is working correctly. What I'm not really clear on now is:
a) How to attach a javascript to the control so that I can process the association data. b) How to get hold of the codes in javascript, and read their properties.
I'm just looking for a push in the right direction. Thanks