How to set up image formats supported by AC | Community
Skip to main content
Level 2
Mar 29, 2018 10:09 AM UTC
Solved

How to set up image formats supported by AC

Hi everyone,

We have an html to integrate in Adobe Campaign. That one has an SVG format type image. Because of that we got an error in uploading images. We think there is a filter that hinder the uploading of that kind of images. Do you know how to set up authorized formats?

Nbe

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
davidk21713691
davidk21713691Accepted solution
Level 3
Mar 29, 2018 5:30 PM UTC

on ACC ( Adobe Campaign Classic),

An attribute uploadWhiteList lets you restrict the file types available for upload on the Adobe Campaign server.

This attribute is available within the dataStore element of the serverConf.xml file.

To limit the possible formats, you must replace the attribute value by a valid java regular expression. You can enter several values by separating them by a comma.

For example: uploadWhiteList=".*\.png,.*\.jpg" will let you upload PNG and JPG formats on the server. No other formats will be accepted.

4 replies

Level 3
Sep 5, 2018 4:59 PM UTC

Hi Nbe,

Did the solution work ? I am trying to do a similar thing to upload SVG Format type image in ACC.

Thanks

Sid

Translate
nbisoftAuthor
Level 2
Mar 30, 2018 7:43 AM UTC

Hi David,

Thanks for your answer. We will check it and let you know.

Kind regards,

Nbe

Translate
New Participant
Feb 4, 2022 6:37 PM UTC

Hi, to the OP, did this solution work for you?  I want to use .svg files for my icons if possible.  Thanks.

Translate
davidk21713691
davidk21713691Accepted solution
Level 3
Mar 29, 2018 5:30 PM UTC

on ACC ( Adobe Campaign Classic),

An attribute uploadWhiteList lets you restrict the file types available for upload on the Adobe Campaign server.

This attribute is available within the dataStore element of the serverConf.xml file.

To limit the possible formats, you must replace the attribute value by a valid java regular expression. You can enter several values by separating them by a comma.

For example: uploadWhiteList=".*\.png,.*\.jpg" will let you upload PNG and JPG formats on the server. No other formats will be accepted.

Translate