Expand my Community achievements bar.

SOLVED

The .ics file cannot be downloaded on the publish instance.

Avatar

Community Advisor

hi,

 

We are having download button which download .ics file (calendar file). In author, it works fine, but in publish, it does not.

path of .ics file /content/dam/test/WeekendMay2023.ics

in Author if you click on download calendar button it will download .ics file.

MayurSatav_2-1682658011569.png

 

but In publish, clicking the download button results in a 404 error.

MayurSatav_1-1682657965525.png

 

I tried allowing .ics  extension in filters.any but still it is not working.

 

/type "allow" /extension '(css|eot|gif|ico|jpeg|jpg|js|gif|pdf|png|svg|swf|ttf|woff|woff2|html|mp4|mov|m4v|ics)

 

Does anyone know what could be the issue?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi @MayurSatav ,

 

There are two possible causes for this.

 

/0103 { /type "allow" /extension '(ics)' /path "/content/dam/*" }

 

 

Hope this helps!

 

Regards,

Nitesh

 

View solution in original post

4 Replies

Avatar

Community Advisor

Is the ICS comes from the DAM link? If so please make sure the ICS file is also published.

Avatar

Community Advisor

yes, it. is coming from dam and published also

Avatar

Correct answer by
Employee Advisor

Hi @MayurSatav ,

 

There are two possible causes for this.

 

/0103 { /type "allow" /extension '(ics)' /path "/content/dam/*" }

 

 

Hope this helps!

 

Regards,

Nitesh