Recent searches


No recent searches

Upload a file to domain.zendesk.com



Posted Jan 18, 2024

Hello community,

we need to upload a json file to the root of the our zendesk site. Using the CMS manager we can upload public assets but always under the path /assets/file.json, so it doesn't fit our needs. We need to upload a json file like this:

domain.zendesk.com/.well-known/assetlinks.json

How can we achieve this?

thanks in advance for your support


0

3

3 comments

image avatar

Tipene Hughes

Zendesk Developer Advocacy

Hey Robert,
 
You will generally need to follow the guidelines outlined in this article when uploading assets, including json files, to your help center theme. Can you share more about your use case so I can see if there are any suitable alternatives for you?

0


Hello Tipene,

thanks for your response. This is a configuration file needed for validating deeplinks in Android systems, it is a standard that this json file needs to be placed in the following path `url.com/.well-known/assetlinks.json`. In our case url.com is our domain.zendesk.com, so the assetlinks.json must be placed in domain.zendesk.com/.well-known/assetlinks.json

The article you shared, allows you to upload files under assets/ folder, but nowhere else. So it's not suitable for what we need.

Thank you!

0


image avatar

Tipene Hughes

Zendesk Developer Advocacy

Thanks for the extra context, Robert.

As far as I am aware, this would not be possible within the confines of the help center theme. The directories must follow a rigid folder structure in order to be uploaded correctly. Folders or files that fall outside this defined structure will be stripped from the theme.

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post