REMINDER
Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.
Insert HTML from back-end?
-
I tried returning the HTML in RAW and then add the tag [DS3] but then it doesn't render.
Do i need for format the tag specially? -
Hi, can you provide more context?
I don't get what you're trying to achieve. -
Just returning HTML from an endpoint and adding it to a specific place on the site.
-
Your endpoint should return a Table array with key value objects
{ "Table" : [{ "html" : "<div>hello</div>" }] }
And in your front
[DS3=html]
-
I'm doing that, but it's limited to 100KB per object string in the JSON.
@Joseph-Benguira suggested that I retrieve the page and parse the tags manually and then return only the HTML as the page, so I guess I'll have no other choice than to do that.