Zum Hauptinhalt gehen

FS_REFERENCE allowed extensions

Kommentare

3 Kommentare

  • Zendesk API User
    Author: MichaelaReydt - 10/5/2015 10:35

    Hello Julio,

    unfortunately it is not possible to control that just files or media with a specific extensions can be selected via the FS_REFERENCE-component.

    Maybe a possible idea could be to list all allowed files and images in a report and to select them from there.

    Best regards

    Michaela

    0
  • Zendesk API User
    Author: marza - 10/16/2015 14:25

    Hi Julio,

    Michaela is right. Picking files by specific extention is not possible.

    However if you put those files you want in a special place inside the media store. Then you can specify that the FS_REFERENCE can only choose from this special place:

    <FS_REFERENCE name="st_file" upload="no">

    ...

    <PROJECTS>

            <LOCAL name=".">

               <SOURCES>

                    <FOLDER name="videos" store="mediastore"/>

               </SOURCES>

            </LOCAL>

          </PROJECTS>

    ...

    </FS_REFERENCE >

    videos is the reference name of that special folder inside the mediastore.

    An other solution without the restriction above would involve custom form validation programmed in Java if this would be an option?

    Best regards

    Marian

    0
  • Zendesk API User
    Author: jperdior - 10/27/2015 15:51

    Thank you for help!

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.