Search Result
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 05:25 AM - edited 03-11-2024 11:32 PM
I'm fairly new to this with limited experience. Really stuck any kind of help is appreciated.
In UI builder Global search is enabled for portal and in my result page see the list but when click on the them cannot open knowledge based articles but works for catalog item
if (ACTION_NAME == 'NAVIGATION') {
var table = event.payload.action.actionPayload.table;
var articleNumber = event.payload.model.number;
if (table == "kb_knowledge") {
route = "artikkeli";
const fields = {
"sysId": event.payload.action.actionPayload.sysId,
"articleid" : articleNumber
};
console.log(event.payload);
console.log(route);
console.log(fields);
api.emit('NAV_ITEM_SELECTED', {
route,
fields
});
} else if (table == "sc_cat_item" && event.payload.action.actionPayload.url == "") {
route = "catalog_item";
const fields = {
"sysId": event.payload.action.actionPayload.sysId
};
api.emit('NAV_ITEM_SELECTED', {
route,
fields
});
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 05:37 AM
What kind of message do you get? Do you have access to the article (user criteria). And you are using UI builder for the portal? Are you sure?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 05:49 AM
Hello Mark,
Thanks for getting in touch and your precious time
Yes, I'm using UI Builder, Search EVAM Data Resource and by searching sys_id or artileNumber find them and have access. No error or warnings
the last one is catalog item and opens but none of the articles open
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 07:01 AM
What opens when you click on the articles? What kind of screen do you get? Are you certain the user criteria are set correctly?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 07:17 AM
Nothing happens at all. How can I make sure criteria is correct?