I'm working on adding a custom enablement asset type for a client (embedding Vimeo videos) and I have based it on the existing Connect URL asset type. I am able to add the vimeo asset through the console just fine as "enablement:url" with a sub-category of "vimeo" in the JCR.
However I run into an issue on the display, the primaryAssetType is coming back as "url" instead of "vimeo" For Connect the primaryAssetType is "connect". Where is the primaryAssetType value being set? I'm not seeing it anywhere in the code for creating resources or displaying.
Anyone have any ideas?