Passing parameters to web service

Hi,

In our application we have a form with the controls text box, choice list, dynamic choice list where user can select or enter the values and click Save. 
We have to save the value/data selected or entered by user to the database through a webservice;

Kindly let us know how can we pass the values selected at our form to the web service as input parameters to save them in the database ?

Thanks 
Anuj

Have more questions? Submit a request

4 Comments

  • 0
    Avatar
    Anuj Vohra

    Thanks Sawandi,

    We are able to do this as suggested by you;

    One issue we are facing is that we need to show the Primary key of inserted record in our next form.

    Is there any way using which we can fetch the Primary key of inserted record and display it in next form?

     

    Thanks

    Anuj Vohra

     

  • 0
    Avatar
    Sawandi Cassell

    Hi Anuj,

    In the use case you described, unfortunately this is not possible. As Dang mentioned on the community post, when the user hits Save, the client will generate a request to the Application Server which will generate the request to your web service and contain the values that the user has entered. Until this action is completed, the primary key can't be fetched and displayed in the form.

    Hope this helps.

    Regards,

    Sawandi

  • 0
    Avatar
    Anuj Vohra

    Thanks Sawandi,

    We need the primary key information once all the action has been completed that is when the record has been inserted.

    So, please let us know the way we can fetch it now on the next form?

     

    Regards,

    Anuj

  • 0
    Avatar
    Anuj Vohra

    Please refer to attached screenshot for your reference ;

    We have marked the primary key element as red in the snapshot which we are trying to fetch from the entity after record submission

    Regards,

    Anuj




    ConfirmationScreen.jpg
Please sign in to leave a comment.
Powered by Zendesk