Found the issue. Found that if written straight into Genesys script markdown component - it won't work
But same format/shorthand written in notepad and copied over to markdown component works
Bottom example is the same as the top example but written directly in to the Genesys script markdown component.
Original Message:
Sent: 11-27-2024 06:18
From: Ru Ratnasuriya
Subject: Script: How to show data in tabular format? (side by side instead of list)
Hi All,
I've been trying to get this to work on my script with no luck. At the moment, all I'm trying to do is display approx 7 column headers in a table before moving to the rows but after following the Resource Centre markdown script and reading the github pages and these forums, I am unable to get any other example markdown script for tables to work - even your script above, David, for Datos cliente etc doesn't work for me.
I have been able to amend text to be bold using the associated shorthand **xyz**
but the shorthand for Tables is not displaying the text in table and just showing it as the text as : | Column1 | Column2 | Column3 |
I've tried
|Ticket | Summary | Status |
| - - - - | - - - - - - - - | - - - - - - |
| {{ticketNumber}}
But it displays like
If I copy and paste David's example above, the script preview is:
I have tested other markdown shorthand and they are working: emojis, strikethrough, coloured text.
I am after a dynamic table where the column headings stay the name and the rows populate depending on the number of records returned from a Get Data Action
| Heading A| Heading B | Heading C |
| – – – | – – – | – – – |
| content 1a | content 1b | content 1c |
| content 2a | content 2b | content 2c |
.
.
.
| content na | content nb | content nc |
I'm either missing something obvious or it's a fault. I've tried mixing up the pipeline and text/hyphens with and without spaces. Having all the pipelines all in a row or split on each row as required with no luck. No table is seen just the column headings surrounded by pipelines
Appreciate any feedback
------------------------------
Ru Ratnasuriya
Original Message:
Sent: 04-09-2024 09:35
From: David Fradejas Tomás
Subject: Script: How to show data in tabular format? (side by side instead of list)
agree, glad it helps
------------------------------
David Fradejas Tomás
Sabio Ibérica, S.A.
Original Message:
Sent: 04-09-2024 09:30
From: Khurshid Ali
Subject: Script: How to show data in tabular format? (side by side instead of list)
Thanks for the response. It solved my issue.
Though, Genesys should think of adding more flexibility to it by adding tables format as well.
Regards
------------------------------
Khurshid Ali,
Consultant / Developer / Tech Lead,
NCR Voyix,
khurshid.ali@ncrvoyix.com,
New Delhi,
India
Original Message:
Sent: 04-09-2024 03:14
From: Ramu P
Subject: Script: How to show data in tabular format? (side by side instead of list)
Hi Khurshid Ali,
On the main Vertical stack container, you can please a horizontal stack container and then with in Horizontal one place two vertical stack containers to achieve what you are showing on your image.
It looks some thing like this :
Hope this helps.
Thanks,
------------------------------
Ramu P
Global Technology Solutions, LLC
Original Message:
Sent: 04-08-2024 10:38
From: Khurshid Ali
Subject: Script: How to show data in tabular format? (side by side instead of list)
Hello Folks,
I am looking for a way, wherein I can design script to show data in a tabular format, instead of showing as a default list. Something like below (I have designed this in MS Paint to describe my requirement):
Any idea on this will be greatly appreciated.
#ArchitectureandDesign
------------------------------
Khurshid Ali,
Consultant / Developer / Tech Lead,
NCR Voyix,
khurshid.ali@ncrvoyix.com,
New Delhi,
India
------------------------------