Skip to Content

How to post the updated Empid dynamically to the backend .

Hi experts ..

I posted the all the data to the backend i mean creating part is completed . Then i retrieved the data from the backend and i displayed that values with id.

now the reading part also working .

So now i have to do the update part . For that i need to post the empid to the back end. So by click on the update button i have to send the emp id only to the back end ....i hope u experts, so please guide me to do update ....

regards ...

Damian .A

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 15, 2015 at 07:19 AM

    Hi Damian,

    For update you just need to call the update() function of the OData Model object and pass the required parameters to the update function. However you first need to implement the update method in your OData service. Has you done this alreday?

    Regards,

    Saurabh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 15, 2015 at 07:24 AM

    Hi Damian,

    Use the following,

    Update <table name>

    Set <field name> = <structure name-value that is to be updated>

    Regards,

    Shrusti

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.