I am trying to set up a cloud deployed FormFunction where a user can enter a public databin ID and then view the contents formatted as a dataset. I keep running into issues where the output of the form returns straight text rather than the table I am looking for.
CloudDeploy[
FormFunction[{"Databin ID:" -> <|
"Help" -> "Enter the ID of a public Databin",
"Interpreter" -> "String"|>, },
Dataset[Databin[#"Databin ID:"]] &], Permissions -> "Public"]
And here is a snippet of what I am getting in return when I try to view the databin as a dataset:
Dataset[{<|"Name" -> "Ben", "Email" -> "fake@gmail.com","Timestamp" -> DateObject[{2018, 5, 18, 12, 26, 55.98299980163574}, "Instant", "Gregorian", -7.]|><|"Name" -> "bob", "Email" -> "anotherfake@gmail.com","Timestamp" -> DateObject[{2018, 5, 18, 12, 30, 33.210999965667725}, "Instant", "Gregorian", -7.]|>.....
I can replace
Dataset[Databin[#"Databin ID:"]]&`
with this
ExportForm[Dataset[Databin[#"Databin ID:"]], "PNG"] &
and it will display an image of what I am looking for, but any other formatting option ("HTML", "WL", etc.) either fails or returns the same string of text as before
Any idea what I am missing?