how to update a record when click on save button?
-
Tuesday, April 24, 2012 6:43 AM
how to update a record when click on save button?please help me
hi
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
- Edited by shabnam2012 Tuesday, April 24, 2012 6:48 AM
- Edited by shabnam2012 Tuesday, April 24, 2012 6:50 AM
All Replies
-
Tuesday, April 24, 2012 6:53 AMModerator
Hi Shabnam2012,
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.
Mahain : Check My Blog
Follow me on Twitter
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question. -
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
Hi,
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.
Mahain : Check My Blog
Follow me on Twitter
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.- Proposed As Answer by Mahender PalMVP, Moderator Tuesday, April 24, 2012 8:06 AM