Forum Discussion

arvindnsn's avatar
arvindnsn
Contributor
7 years ago
Solved

How to create multiple hierarchy sets in for API output

Hello, I am having issues structuring the API output i am working in. I have attached both the Source data and the JSON output structure expected in the attachment. I have attached the source file ...
  • del's avatar
    5 years ago

    There may be a better option, but eval will probably work:

    eval("$Name.replace(/" + $OldName + "/gi,$NewName)")