Upload a file to domain.zendesk.com | Community
Skip to main content

Upload a file to domain.zendesk.com

  • January 18, 2024
  • 3 replies
  • 0 views

Robert47

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

3 replies

Tipene
  • January 22, 2024
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?

Robert47
  • Author
  • January 22, 2024

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!


Tipene
  • January 30, 2024

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.