Forum Discussion
How do you get the extra content for each iteration which needs to be appended to existing json content?
if you give couple of examples of that extra piece of json needs to be appended and where in the json and expected output, that will help!
Thanks for the replies. I have at least 2 main pieces I have to build separately and that is the Fields portion and the Forms portion to get the JSON completed. these two pieces needed to be appended to each other in order to build the main part of the JSON. The command I stated in my first posting of request.setRequestContent(jsonText) will only replace (overwrite) the JSON (that is why I concatenate the fields and forms pieces inside the () of the command replacing jsonText). All I want to know is there another code command that will append to instead of replacing/overwriting what I already may have in my JSON. I have this command working fine and building all of my JSON correctly as I am using it.
Related Content
- 4 years ago
- 4 years ago
- 5 years ago