We have the Flexmonster pivot setup to load CSV data from files we are hosting on S3. The S3 bucket and all objects inside are NOT public, so to give access, we are generating pre-signed S3 URLs for the csv files.
However, when the Flexmonster pivot attempts to load the file, it is appending a random numeric parameter (like '&470898116') to the pre-signed S3 url. This makes it an invalid url as S3 pre-signed URLs ONLY work as-is, and nothing can be changed with them.
Is there a way to prevent Flexmonster from appending this numeric value to the file url (we specify in dataSource.filename)?
Hello, Ankit!
Thank you for contacting us.
Kindly note that Flexmonster adds this randomly generated query parameter to prevent loading the file from the browser's cache. You can disable this feature by enabling the allowBrowsersCache
option as follows:
report: {
options: {
allowBrowsersCache: true,
//other options
},
//other report properties
}
Please let us know if the following approach works for your case.
Looking forward to hearing from you.
Kind regards,
Solomiia
Thanks Solomiia; that option did the trick.
Hello, Ankit!
Thank you for your feedback.
We are glad to hear that the suggested approach works well for you.
Do not hesitate to contact us in case of any other questions.
Kind regards,
Solomiia