English English Spanish EspañolKorea한국어
Straker»Company»Blog»2005» Delete a SOF Class

Delete a SOF Class

This has been asked a couple of times now... How does one delete a

SOF class once it has been created through the IDE.

In ShadoMX 7.0.0.47 and above , you need to go to IDE > ShadoMX >

shadoclass. Find the class you want to delete and hit the "delete"

button. That should do it!. If you want to programmatically delete

the SOF class, you can use the ShadoMX API. Have a look at the CFC

and method at:

http://[yourSite]/shadomx/docs/api/componentdetail.cfm?component=shadomx.core.objects.shadoclass#method_delete

In versions before ShadoMX 7.0.0.47, you'd need to manually

delete the class in three steps:

  • Remove the cfc and xml file of the SOF object from
  • yoursite/app_templates/objects directory.
  • Remove the database record for the SOF class from
  • obj_shadoclass directory.
  • Remove the database table for the class. The name of the
  • database table would be something like "obj_yourclassname".
  • Before you attempt to remove a SOF class in this manner, make sure

    to backup the database and the site files... just in case...


    Comments

    There are no comments for this page as yet.

    Add a comment