Expand my Community achievements bar.

AEM Communities Custom Enablement Type Issue...

Avatar

Level 2

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?

2 Replies

Avatar

Administrator

Checking this with the AEM communities team!!



Kautuk Sahni

Avatar

Level 2

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?