- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2025 01:41 AM
I am creating a custom application that allows a user to automatically create a Catalog Item directly from a spreadsheet. Therefore, I want to store those spreadsheets in a Knowledge Base, so that anybody can go and ask which was the spreadsheet used to build a Catalog Item. However, I have tried to build a Knowledge Base and associate it to my custom application but I cannot find any option in Application Studio that allows me to create a Knowledge Base. How can I do it?
PD: I have already tried to create it from Background Script using the following code:
var gr = new GlideRecord('kb_knowledge_base');
gr.initialize();
gr.application = '8785fc4683c75a103719db226daad3c7';
gr.insert();
Once created, I tried to install the app into a PDI, but it hadn't recorded well the Knowledge Base, so I suppose this is not a good solution.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2025 02:01 AM
A knowledge base is not an application file, so it's not captured in your application. It's simply data (just like an article, or another record on your tables). You will need to either create an application file from it (select in list and use 'create application file') or create a fix script that runs on install of your application to create it from there.
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
‎01-22-2025 02:01 AM
A knowledge base is not an application file, so it's not captured in your application. It's simply data (just like an article, or another record on your tables). You will need to either create an application file from it (select in list and use 'create application file') or create a fix script that runs on install of your application to create it from there.
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
‎01-22-2025 02:16 AM
Thank you for your fast answer!