AnsweredAssumed Answered

Text field to text file in container field

Question asked by RobWestergaard on Jun 8, 2014
Latest reply on Jun 10, 2014 by taylorsharpe

Is there a way to use FileMaker 13 calculations to turn a text string into a text file stored in a container field?

 

I have a calculated text field (it yields the contents of an HTML page, essentially). I'd like to have a calculated container field with a file called "index.html" that contains the results of my text field. If I have the Base64-encoded version of the file, I can use the Base64Decode() calculation to get my desired result, but I don't know how to get that encoded string. Is there (just wishing here) some sort of standard header/prefix and footer/suffix on Base64-encoded text files that I can prepend/append to my file contents to make a standard encoded file?

 

Thanks,

 

Rob

Outcomes