This discussion is archived
2 Replies Latest reply: Oct 30, 2012 9:03 AM by Gautam Singh RSS

Any specific way to find out the tables being affected by a FormHandler

959025 Newbie
Currently Being Moderated
Please let me know an approach I can follow to find out the tables being affected on calling a particular Formhandler.
  • 1. Re: Any specific way to find out the tables being affected by a FormHandler
    RMishra Journeyer
    Currently Being Moderated
    In our custom implementation, the basic work of a formhandler is to validatate data that came from a form. In our formhandler, we use some manager class and from manager class we call some tool class. In our tool class we will use some repository(In a repository we give definitionFiles=......../xyz.xml). So what operation we are going to perform via form like add, update, delete, show will affect tables in xyz.xml file.
    In OOTB supost we are using ProfileFormHandler so it will affect ProfileAdapterRepository, which has xml file is useProfile.xml.
    -RMishra
  • 2. Re: Any specific way to find out the tables being affected by a FormHandler
    Gautam Singh Journeyer
    Currently Being Moderated
    You can enable loggingDebug on the repository component tied to your formhandler to figure out what CRUD operation is happening because of formhandler call.
    As per RMishra example if you are dealing with ProfileFormHandler you have to know that it deals with /atg/userprofiling/ProfileAdapterRepository so enable loggingDebug on /atg/userprofiling/ProfileAdapterRepository

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points