I'm investigating how to package a Community Template. I created a test Community template (from the Napili template) in my dev org, exported it, added it to my package, and pulled all the default metadata.
In a different org I enabled Communities, Chatter, made the user a Chatter user, and created a test community based on the Napili template. But when I try deploying the package to this org I get the following errors:
1. flexipages/Advisor_Link_Topic_Detail.flexipage -- Error: Component Access denied to component selfService:topicTrendingArticles (line 121, column 29)
2. flexipages/Advisor_Link_Question_Detail.flexipage -- Error: Component Access denied to component selfService:topicTrendingArticles (line 86, column 29)
3. flexipages/Advisor_Link_Home.flexipage -- Error: Component Access denied to component selfService:topicTrendingArticles (line 127, column 29)
4. flexipages/Advisor_Link_Article_Detail.flexipage -- Error: The object type you specified CaseArticle is invalid.
5. communityTemplateDefinitions/Advisor_Link.communityTemplateDefinition -- Error: In field: Page - no FlexiPage named Advisor_Link_Article_Detail found
The first one says that the Topic Trending Articles component cannot be accessed. But I see it's there if I go to the Community Builder for the test Community I created. And I don't see any setting to enable it. Is there any configuration of any sort that is necessary to make this component available?