Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

353
Views
How to import json/js file to handlebarjs templates in Zendesk Copenhagen theme from it's assets folder?

I'm trying to customize the Zendesk support page Copenhagen theme. There it uses HandlebarsJS for templating the pages and components. What I need is to import a JSON/JS file containing an array to show a list of items.

{{#each assets 'arrayfile.list'}}
 <div>{{title}}</div>
{{/each}}

I have tried as above but it showed an error saying

..ch assets 'arrayfile.list' }} .. is not permitted in this context

How do I import and use the asset text file for the above mentioned code block?

arrayfile is the file name and the list is the array inside the file.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!