Stream: IG creation
Topic: download xlsx file build error
Cheng Liu (Apr 24 2020 at 14:56):
We are using Trifolia to create our IG. We have a page that provide a download link for our xlsx file. As Trifolia doesn't support importing xlsx file into the system, we have to convert the file into Base64 encoded content and put the whole content into the page. The build error below comes from the download link:
The link 'data:application/vnd.openxmlformats-...........for "SDOHCC Master and Temporary Code List v0.0.3.xlsx" cannot be resolved
Please help. Thank you. @Lloyd McKenzie
Lloyd McKenzie (Apr 24 2020 at 17:20):
@Grahame Grieve Are we comfortable having links where the content is actually embedded in the link?
Grahame Grieve (Apr 24 2020 at 21:40):
data: is restricted to 16k. So that won't work. I think you'll have to talk to @Sean McIlvenna for other options
Lisa Nelson (Apr 28 2020 at 15:10):
@Sean McIlvenna @Lloyd McKenzie @Grahame Grieve Gentlemen, The CARIN BB IG uses this same approach. If an alternative approach is not yet available, then I would ask that the error be allowed to be "ignored" until such time that a fix is provisioned. Does that seem reasonable?
Lloyd McKenzie (Apr 28 2020 at 15:48):
As Grahame points out, this approach is not permitted for data over 16k - which would be pretty much any xlsx file. Trifolia will have to figure out a way to store the file. Whether we can ignore the issue with something going to ballot depends on whether there's a need for balloters to look at the Excel file. If they do, we can't ignore. We certainly can't ignore for publication.
Lloyd McKenzie (Apr 28 2020 at 15:49):
In the worst case, you could export your content from Trifolia and maintain the files directly in Git.
Last updated: Apr 12 2022 at 19:14 UTC