on 06-28-2007 2:19 PM
Hi All,
I have a 'Delete' button on a detail tile. When I click on this button, I have to delete a particular row from the table. So, can I delete that row using BDoc so that the data would be synchornized into CRM server. Please help me out.
Thanks in advance,
Regards
Mateen
Hi Mateen,
I am not sure why you want to do a delete using BDoc. The delete will be taken care automatically by the framework - you don't even have to write code for it. All you have to do is ensure that Allow Delete is enabled for the Tile.
Thanks and Regards,
Santo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mateen,
Use .delete method of Business collection object.
Best Regards,
Pratik Patel
<b>Reward with Points!</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you have a list, it is mapped to a business collection. So if you want to delete an entry when pressing the button, you have to go and do something like
myCollection.item(mySelectedRow).delete
An alternative if your list does not contain a business collection liked to Bo's and the database is that beforeDelete you go and instantiate the BO to be deleted and then do a myBO.delete on it.
Hope this helps, Kai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.