how to add 2 remote URLs in Collection

Discussion in 'Tally Developer' started by torsky, Jan 10, 2019.

    
  1. torsky

    torsky New Member


    Hello

    I'm trying to use two remote URL in one collection (code below) but as soon as the form is accepted, only the last remote url gets activated, it skips passing data in 1st URL. How to prevent this and pass data to both URLs simultaneous?

    Code:
    [Function:salesFn]
    
    00 : WALK COLLECTION : hook
    01 : END WALK
    
    [Collection: hook]
    Remote URL :"https://abcd.com?&mob="+@@mobno+"&vchno="+@@vchno
    Remote URL :"https://xyz.com/?&mob="+@@mobno+"&vchno="+@@vchno+"&partyname="+@@partyname
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    You need to expand your function code.........execute first line URL and then execute second line URL.

    So make 2 collections......hook1 (1st URL) and hook2 (2nd URL)........

    first call hook1 and then call hook 2 in your function.
     
    Jaydeep Shah likes this.


  3. torsky

    torsky New Member


    Thank you Amitji, I was able to get it running!
     


  4. tally.manish

    tally.manish Member


    Dear Expperts

    Remote URL Not Working

    Do the needful
     


Share This Page