Scripting Guide > Extending JMP > Share Reports on JMP Live > Delete Reports in a JMP Live Folder
Publication date: 04/12/2021

Delete Reports in a JMP Live Folder

You can delete reports and folders using JSL. Folders must be empty before they can be deleted.

returncode = liveconnection << Delete Report( report << Get ID() );
returncode = liveconnection << Delete Folder( folder << Get ID() );

In both of these cases, a value of 1 (True) or 0 (False) will indicate if the operation was successful.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).