You are here: Home / Documentation / How To's / How to tell from the Plone GUI what code executes behind the scenes

How to tell from the Plone GUI what code executes behind the scenes

by nguyen — published Aug 29, 2011 02:41 PM, last modified Aug 16, 2016 10:50 AM
e.g. you want to programmatically add or delete objects, or do something in a script that you know you can do via the GUI

Q: how do you delete an object?

A: here's how you can tell:

  • look at a folder in a Plone site
  • click the Actions menu, put your mouse over the Delete choice, right click, copy the link
  • or look at the browser status bar to see what URL you'd go to if you clicked on the menu item
  • search for that script (what comes after the '?') in the ZMI -> portal_skins using the Find tab
  • the other way is to look at a folder in the ZMI, and if you have the DocFinder tab (Products.DocFinder), it will show you all the methods available on that folder
 
 
Navigation