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/

https://developer.zendesk.com/api-reference/help_center/help-center-templates/objects/#new-request-form-object

 


1

6

6 comments

Having the same issue, did you find a solution? 

0


Having the same issue, did you found a solution? 

0


No, I didn't. I am not a web pro, so no ideas…

0


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


Needed to download the /assets too, now it works!

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post