December 20, 2016
Glossary interaction, how to create XML entries in Excel, upload to Cp and confirm version number
Comments
(5)
December 20, 2016
Glossary interaction, how to create XML entries in Excel, upload to Cp and confirm version number
Newbie 8 posts
Followers: 3 people
(5)

I’m seeing other postings on this, and  I thought it might be a good place to elaborate how to create glossary entries from an Excel file, Upload to a Captivate Glossary Interaction and confirm the version number.

Here is the example file as displayed by the Glossary Interaction (v17) from Captivate 8

Glossary Interaction XML Example

We can build this XML structure within excel by strategically placing the XML Tags on rows with the Label and Definition fields sandwiched between opening and closing tags. As you’ll notice from the example above, the whole set of glossary entries are sandwiched between opening and closing XMLBit tags.

By adding these lines to a blank excel document, we come up with the following in our Excel file:

Modified Excel file for generating Captivate Glossary Entries.

The first row is header information for entering data into Excel, and is excluded from the selection.

 

Copying and pasting as text will produce the following (after tabs are removed):

<XMLBit>

<term><label>Term1</label><def>Definition1</def></term>

<term><label>Term2</label><def>Definition2</def></term>

<term><label>Term3</label><def>Definition3</def></term>

<term><label>Term4</label><def>Definition4</def></term>

<term><label>Term5</label><def>Definition5</def></term>

<term><label>Term6</label><def>Definition6</def></term>

<term><label>Term7</label><def>Definition7</def></term>

<term><label>Term8</label><def>Definition8</def></term>

<term><label>Term9</label><def>Definition9</def></term>

<term><label>Term10</label><def>Definition10</def></term>

<term><label>Term11</label><def>Definition11</def></term>

<term><label>Term12</label><def>Definition12</def></term>

<term><label>Term13</label><def>Definition13</def></term>

<term><label>Term14</label><def>Definition14</def></term>

</XMLBit>

Pasting this into NotePad and saving as UTF-8 with an “XML” extension looks like this:

XML file from Excel - Tabs Removed

This file should be uploaded to the glossary within Captivate.

Glossary file sample import.

 

Finally, on the Properties Panel, click the Info icon and verify that the widget version number is 17 or greater. Glossary updated (v17) Info Dialogue

 

5 Comments
2019-01-24 07:07:14
2019-01-24 07:07:14

It does not work for me.  I pasted the excel to text and deleted the tabs and saved it as xml and then import to glossary.  In glossary it said “your data is successfully uploaded to the glossary, but nothing appear!!

Like
2016-12-22 19:59:58
2016-12-22 19:59:58

Hello! Does the Glossary Widget work when published to HTML5. I am using a trial of Captivate 9.
Thanks! John

Like
2016-12-21 17:42:59
2016-12-21 17:42:59

Don’t leave us in suspense! What happens if the version isn’t 17 or higher? 🙂

I like the Excel technique.

Like
(2)
>
Todd Spargo
's comment
2016-12-21 17:53:31
2016-12-21 17:53:31
>
Todd Spargo
's comment

Sorry Todd, As I was composing this I drafted it as a response to another posting where the display of the glossary was corrupted after upload of an XML file to the glossary.

I’ll try to describe it as best I can: the glossary refreshed with the height about 25% the size it should be, with the width remaining at 100%, this happened in on the stage and was also corrupted in preview and publish.

So, to answer your implied question, if you don’t have version 17 of the Glossary Interaction, it will appear corrupt. You’ll need to contact Adobe support for a download of the updated Glossary Interaction.

And, as I’m finding out in real time, the contents of the Case Study aren’t editable after posting. And we’re not allowed to add an image in a comment on the Case Study either!

Like
>
BDuckWorks
's comment
2016-12-21 18:18:47
2016-12-21 18:18:47
>
BDuckWorks
's comment

Thanks! No worries, it was my attempt at a good natured ribbing. Thank you for your diligence.

Like
Add Comment