0 votes
1 view
in Salesforce by (25.5k points)

How do we use edit and delete actions in standarlist controller. please provide some examples.

1 Answer

0 votes
by (42.7k points)

edit:    Navigates the user to the edit page for the record that is currently in context. After this operation is finished, the edit action returns the user to the page where the user originally invoked the action.


<apex:commandLink value="Edit" action="{!edit}" />



delete: Deletes the record that is currently in content. After this operation is finished, the delete action either refreshes the page or sends the user to tab for the associated object.
<apex:commandLink value="Delete" action="{!delete}" />

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...