cancel
Showing results for 
Search instead for 
Did you mean: 

Save FTL output to space?

msvoren
Champ in-the-making
Champ in-the-making
Hi!
I have applied ftl to a space, it presents some data from space metadata.
Now i want to make a button (link) which will save ftl output and place it in that same space.
I made a link which displays just HTML (from that ftl) in new browser window..
I hope i can stream that content directly in that space, and save it as HTML.

How do I do that?

Thanks!
1 REPLY 1

jbarmash
Champ in-the-making
Champ in-the-making
I'd suggest having your code post to a web script (PUT), which in turn creates a content node and saves the text.   If you do it in Java, I believe the FirstFoundationClientSDK SDK Sample has some code that shows how to create a new node and write some content.  Your web script would receive two parameters- the space name (or id), and the html code to be written, which it sounds like you already have.