0 Replies Latest reply on Mar 24, 2018 1:24 AM by loganath

    While creating Document, what is the action class invoked before DocumentAction class is invoked

    loganath

      Hi All,

       

      I have a requirement and below is the scenario before creating a Document.

       

      Make an external api call once "Publish" button clicked(as of now i have implemented in CreateDocumentStrategy).

      (if external api returns true - complete the create document flow, if api returns false stay in same page and update the UI)

       

      Question:-

      Is CreateDocumentStrategy the right class to make an api call or any other action class?

      In CreateDocumentStrategy class I could not get access to BaseContentActionBean to pass the api response value true/false to make the UI changes.

       

      Please suggest the right approach.

       

      Thanks