Highlighted

AEM Communities Custom Enablement Type Issue...

kevins38507913

15-05-2018

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?

Replies

Highlighted

prestonc9992104

04-06-2019

I'm also adding a custom enablement asset type, but am getting a primaryAssetType of "unknown".  Did you ever find out where this is set or determined?