Highlighted

How do I get the code of a Custom Tool in Tealium Tools?

Silver Contributor
Silver Contributor

Maybe this question is too stupid to be true, but I just can't get it.

I want to share some Custom Tools from my Tealium Tools with colleagues, but I cannot see the code that I once pasted in there... Can some Browning or another Tealium Tools fan help me?

5 REPLIES 5
Highlighted

How do I get the code of a Custom Tool in Tealium Tools?

Tealium Employee

Hi @loldenburg,

So there is a tool that will let you export to a csv file of Title, Description and then the raw JSON.

https://solutions.tealium.net/hosted/tealiumTools/export_tealium_tools/export_tealium_tools.json

Hope this helps,

Adrian

Ask me anything Tealium related or Javascript, or NodeJS.
Please remember to mark solutions as accepted for future searchers.
Highlighted

How do I get the code of a Custom Tool in Tealium Tools?

Silver Contributor
Silver Contributor
A plugin to export the plugins, now that's Münchhausen style. Thanks! :))
Highlighted

How do I get the code of a Custom Tool in Tealium Tools?

Silver Contributor
Silver Contributor

@adrian_browning Now it seems that the JSON this Plugin produces is invalid, at least according to the importer.

The JSON I get e.g. for the Audience Stream Badge Checker from the Exporter is:

{'id':'as_badge_checker','icon_url':'','title':'AS Badge Checker','description':'','scripts':{'generate_code':{'title':'','auto_inject':true,'description':'','template':'https://solutions.tealium.net/hosted/tealiumTools/badge_checker/template.html','js':'https://solutions.tealium.net/hosted/tealiumTools/badge_checker/template.js','remote_js':true,'remote_template':true}}}

It looks correct at first sight (at least I don't see the errors), but when importing it I get this:

Clipboard01.jpg

This is the same for all the extensions...

 

How do I get the code of a Custom Tool in Tealium Tools?

Tealium Employee

Hi @loldenburg

So looks like the extensions exports the JSONs with single quotes, which is as the tool says, invalid JSON.
Unfortunately, if I change the output, then the CSV will be invalid and not load. If you wanted to fix locally you can replace single quotes with normal double quotes and the JSON will become valid.

Adrian

Ask me anything Tealium related or Javascript, or NodeJS.
Please remember to mark solutions as accepted for future searchers.
Highlighted

How do I get the code of a Custom Tool in Tealium Tools?

Silver Contributor
Silver Contributor
thanks.