Hack to perform custom save functionality

Posted on Thursday 3 May 2007

Print This Post Print This Post

Perform following steps , its like a neat little trick for over ridding save functionality

  1. Write a custom s-control that directs the user to the standard edit page of the object in question, but sets the saveURL to point to your custom component that will perform the action. The saveURL needs to include the ID of the object.
  2. Override the Edit button for the object in question with your s-control.
  3. When the user clicks Edit, they get the standard edit page, then when they click Save, they’re redirected to your component, which performs whatever actions you need.

Read the complete hack @ Salesforce Blog


No comments have been added to this post yet.

Leave a comment

(required)

(required)


Information for comment users
Line and paragraph breaks are implemented automatically. Your e-mail address is never displayed. Please consider what you're posting.

Use the buttons below to customise your comment.


RSS feed for comments on this post | TrackBack URI