Recent searches
No recent searches
new-request-form doesn't work with v4
Posted Jul 08, 2024
Hello. I tried to upgrade my custom template from v3 to v4, but it doesn't want to show the New request form, giving this error:
TypeError: Failed to resolve module specifier "new-request-form". Relative references must start with either "/", "./", or "../".
I think I have copied the code from github, but I must have missed something. Anyone has a clue?
I have these pages 100% copenhagen default:
- templates/new_request_page.hbs
- script.js
https://developer.zendesk.com/api-reference/help_center/help-center-templates/v3/
https://github.com/zendesk/copenhagen_theme/blob/master/
1
6
6 comments
Hellen Fiallos
Having the same issue, did you find a solution?
0
Hellen Fiallos
Having the same issue, did you found a solution?
0
Niclas gmail
No, I didn't. I am not a web pro, so no ideas…
0
Niclas gmail
Did the https://github.com/zendesk/copenhagen_theme/releases/tag/v4.0.1 make a difference for this?
There are afaik no changes in this https://github.com/zendesk/copenhagen_theme/blob/master/templates/new_request_page.hbs
0
Abhinav Pandey
For me when I added the required scripts on document_head page then it was resolved.
So just copy the import scripts from default copenhagen theme and add that to your theme on document head page.
0
Niclas gmail
Needed to download the /assets too, now it works!
0