click on expand arrow then kb artical show what are maintain in body on kb artical in wordspace.

kanishka04s
Tera Contributor

Hi Community,

I am working in ServiceNow UI Builder (Service Operations Workspace) and have created a new page variant for Knowledge articles.

Requirement:

  • Display a list of Knowledge articles

  • Initially show only the article heading (short_description) with an expand/collapse arrow

  • When the user clicks on the heading, the article body should expand below the heading

  • The article body should load dynamically using Get Article Details

  • Only the clicked article’s body should be visible (accordion-style behavior)

  • This should work for all articles dynamically, without hard-coding article names or HTML
    --first time show like this 

    kanishka04s_0-1767703586630.png
  • kanishka04s_1-1767703621206.png

    when i click on expand arrow then show  some line . 


    Now i want to make dynamic for every kb knowledge on workspace ui builder in serviceNow.

0 REPLIES 0