Join Slack
Powered by
Hello! Anyone who has worked on formatting a JSON ...
# suitescript
j
Jars
06/19/2024, 6:03 AM
Hello! Anyone who has worked on formatting a JSON text from a custom field in NS? I've seen it somewhere before, was hoping to replicate the same. 🙂
b
battk
06/19/2024, 7:26 AM
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#using_the_space_parameter
j
Jars
06/19/2024, 7:28 AM
What I mean is we’re storing payloads in a custom field and wanted the custom field to display as formatted JSON.
b
battk
06/19/2024, 7:29 AM
same answer, use a text area
wow
1
j
Jars
06/19/2024, 7:30 AM
I’ll give this a try! Thanks!
8
Views
Open in Slack
Previous
Next