1
0
-1

Hi,
How to prefill a form on pageload by data returned from a webservice(restfull)? any help or sample example please?
also what are the avoka api classes and methods to call webservice?



    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      Hey Umakanta,

      It is common practice to do the prefill on the server before the form is rendered in the browser. To do this you would write a Groovy Prefill Service (see Form Prefill Data).

      We have a full SDK for developing these services in Groovy. For more information see Avoka Transact Fluent SDK.

      The Fluent API includes a bunch of handy classes for calling external endpoints: com.avoka.tm.http

      Here are some examples: Performing Remote Service Calls

      Hope that helps.

       

       

      1. Ben Warner

        Umakanta, did this resolve your query?

      2. Ben Warner

        Did you get this working?

      CommentAdd your comment...