Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Configuration of file extensions for file upload via REST API
I am trying to attach a file of type .STP to a commerce product via the REST API using Liferay 7.4.3.112 CE GA112. For files with the extension .PDF, .JPG, etc. the file extensions are automatically recognized, for the .STP file the extension “.def” is automatically created. How can I set the desired file extension?
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™