Pop up
Asked by christopher_denzer:

I am creating customer service documentation and need to create a pop-up like window to display in one page an entry that is on another page. In this case, I have a list of scripted responses (usually fewer than 100 charaters) that customer service agents are meant to use when responding to customers on one page. Those scripted responses are referred to in other pages throughout our knowledge base. Rather than linking to the list and having the reader jump to that page, I want them to be able to see the scripted response without having to leave the page. I also do not want them to open the link in a new tab. Any ideas?


Answers:
author: Natalie Paramonova [Stiltsoft]
body: Hi [@christopher_denzer](/t5/user/viewprofilepage/user-id/3679439) ,

You may also be interested in a combination of the [Table Excerpt/Table Excerpt Include](https://docs.stiltsoft.com/display/TFAC/How+to+use+Table+Excerpt+and+Table+Excerpt+Include+macros) and [Handy Tip](https://docs.stiltsoft.com/display/HMFC/How+to+use+Handy+Tip+macro) macros.

How it works:

You insert each answer in the Table Excerpt macro (the macros work with any content, not only tables) and set a name to this excerpt.

Then you add the Handy Tip macro to your documentation page and place the Table Excerpt Include macro displaying a particular answer inside the tip (please follow the [instructions](https://docs.stiltsoft.com/display/HMFC/How+to+use+Handy+Tip+macro) to add a tip). The advantage is that you can search for excerpts on child pages, pages by label, or particular pages.

A page with answers:

![2020-05-07_17h35_03.png](https://community.atlassian.com/t5/image/serverpage/image-id/93871i2441D54601526121/image-dimensions/537x133?v=v2 "2020-05-07_17h35_03.png")

A page with documentation:

![2020-05-07_17h34_45.png](https://community.atlassian.com/t5/image/serverpage/image-id/93872i9B06845E8D650CFB/image-dimensions/529x161?v=v2 "2020-05-07_17h34_45.png")

When a user hovers over the answer indicator in the page view mode, he sees the answer:

![2020-05-07_17h53_01.png](https://community.atlassian.com/t5/image/serverpage/image-id/93875iFA6150FA339E30FB/image-dimensions/390x151?v=v2 "2020-05-07_17h53_01.png")

The mentioned macros are available in the [Table Filter and Charts](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=server&tab=overview) and [Handy Macros](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence?hosting=server&tab=overview) apps.


author: Anshuman Dash _K15t_
body: Hi Christopher,

Not exactly a pop-up, but maybe, a combination of excerpt macro and include excerpt macro might help?

<https://confluence.atlassian.com/doc/excerpt-macro-148062.html>

<https://confluence.atlassian.com/doc/excerpt-include-macro-148067.html>

In your case, the scripted responses can be put inside except macros and can be referred on the pages that the customer service agents need to refer.

Cheers!

Dash.

comments: author: christopher_denzer
body: This was a great solution but unfortunately wouldn't work for me. There can only be one excerpt macro per page and one page contains over a hundred scripted responses, so there would be no way to display the different responses. The only way for it to work is to create a page for each response, which might prove unwieldy and time-consuming. Thanks, though.


author: Anshuman Dash _K15t_
body: Hey Christopher,

Yes, you are right. The Confluence excerpt macro is limited in functionality that way.

But if you are open to using 3rd party apps, I guess there a re a few 'multi-excerpt' apps available in the atlassian marketplace.

E.g. <https://marketplace.atlassian.com/apps/169/multiexcerpt>

Cheers!

Dash.


author: christopher_denzer
body: Thanks for the suggestion. Unfortunately, Infosec at our co doesn't allow 3rd party apps. Good advice, though!


Tags: confluence-server

server