I have created an article type named knowledge and would like to be able to create them from an app layout using force:createRecord, however, the modal box does not render any fields, nor do I get any error message. Is this functionality supported for knowledge article types?
my component markup is as follows:
<div class="slds-form-element">
<ui:button label="Article" press="{!c.createKnowledge}"
class="slds-button slds-button--brand" />
</div>
my controller is as follows:
({
createKnowledge : function (component, event, helper) {
var createRecordEvent = $A.get("e.force:createRecord");
createRecordEvent.setParams({
"entityApiName": "knowledge__kav"
});
createRecordEvent.fire();
}
})