Tuesday, April 24, 2012 6:43 AM
how to update a record when click on save button?please help me
i have a webservice that update a record in database, i wanna when a user click on save button, execute this metod and update my database . is it possible
Tuesday, April 24, 2012 6:53 AMModerator
Could you please share some more detail here what you want to achieve, if record is already created, it will be updated when save button is clicked and this id default behaviour.
Tuesday, April 24, 2012 6:59 AMi know but i want base on some condition update entity and get another value that i sepesify using webservice.
Tuesday, April 24, 2012 7:03 AMi written an update metode , in my webservice , how to call that when click save button
Tuesday, April 24, 2012 8:06 AMModerator
if you want to update some of the entity field base on the value entered in other fields, I will suggest you to use Plugin, write a plugin on Create/Update of your entity. In you can get data from other entities if you want, also you can call external webservice if that is required.
refer : http://msdn.microsoft.com/en-us/library/gg328490.aspx for plugin development.
let us know if you need any other information.
- Proposed As Answer by Mahender PalMVP, Moderator Tuesday, April 24, 2012 8:06 AM