KB Article Page - Add Custom text/button with link
Hi, I have some problem with custom link in New Article Page and Edit page, eg. https://portal/KnowledgeBase/New
I would like to add link or button with link to KB article. I try button and add in custom page KnowledgeBase.js:
{ DataType: "Button", PropertyDisplayName: "Pomoc", ButtonType: "info", Action:"KBHelpInfo"},
also add in custom.js
app.custom.formTasks.add('knowledgeArticle', null, function(formObj, viewModel){ viewModel.set("KBHelpInfo", function() { var win = window.open("https://portal/KnowledgeBase/View/549", '_blank'); }); });
But button don't work. Mayby someone have an idea how to do it?