You need to sign in to do that
Don't have an account?
Rajashri
Output LinK Delete Code
Hi
I have created the output link for Edit/Remove
Can anyone please send me code ...how to delete the record using Output link ?
<apex:outputLink title="" value="/{!row.id}/e?retURL=/apex/{!$CurrentPage.Name}" style="font-weight:bold">Edit</apex:outputLink> |
<a href="javascript:if (window.confirm('Are you sure?')) DeleteCampaign('{!row.Id}');" style="font-weight:bold">Del</a>
I have created the output link for Edit/Remove
Can anyone please send me code ...how to delete the record using Output link ?
<apex:outputLink title="" value="/{!row.id}/e?retURL=/apex/{!$CurrentPage.Name}" style="font-weight:bold">Edit</apex:outputLink> |
<a href="javascript:if (window.confirm('Are you sure?')) DeleteCampaign('{!row.Id}');" style="font-weight:bold">Del</a>
Cheers.
All Answers
Below code works fine..but how to add warning message?
<apex:outputLink title="" value="{!URLFOR($Action.Campaign.Delete, cpmc.Id)}" style="font-weight:bold">Remove</apex:outputLink>
Cheers.