Service Portal modal widget basics

yundlu316
Kilo Guru

Our team currently has a HTML widget in place that is basically a link that pulls up a knowledge article.   Instead of it taking a user to another page, we would like to use the modal widget and just have it pop up on the same page.   In this example, would we pull the modal widget into the designer page in the same container as the HTML widget?   Or is the idea to embed widgets into the modal widget a la <sp-widget id=""></sp-widget>?   How does the modal widget work exactly?

Thanks!

5 REPLIES 5

Community Alums
Not applicable

Sorry if this is resolved but in the custom widget (KB Article Modal) I used this --

articleGR.addQuery("sys_id", input.sys_id).addOrCondition("number", input.number);

instead of --

articleGR.get(input.sys_id);

and the article popped up in the modal.