- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
02-01-2018 10:24 PM
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?
Solved! Go to Solution.
02-02-2018 02:28 AM
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
02-02-2018 04:50 AM
02-28-2018 07:51 AM - edited 02-28-2018 07:52 AM
@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:
This is the same for all the extensions...
03-06-2018 03:56 PM
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
03-07-2018 01:38 AM
Copyright All Rights Reserved © 2008-2023