Set Variable attribute "allowed_extensions" from sys_property
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2023 08:12 AM
Hello,
i have a catalog item with an input variable of type "attachment"
To be more flexible in the produktion system i want to set the allowed file types via a system property.
is it possbile to set the variable attribute "allowed_extensions" to any value which is stored in a system property?
Regards
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2023 09:06 AM
Hi,
The allowed file types are stored in System property:
glide.attachment.extensions
If helpful please mark as Helpful/Correct
Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2023 09:21 AM
Hi Paul,
The mentioned property is for the whole instance. But i want to restrict a catalog item variable with the variable attribute "allowed_extensions"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2025 07:48 AM
Following example works:
allowed_extensions=xls;xlsx;csv