Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7884441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:48:03+00:00 2026-06-03T04:48:03+00:00

When a user ‘Saves’ a Contact (for example), whether it’s new or just updated,

  • 0

When a user ‘Saves’ a Contact (for example), whether it’s new or just updated, I need to:
Do an external callout using one of the Contact field values as a lookup
Display the results of the callout, so the user can make a selection
Update the Contact based on the user’s selection display the updated Contact
I have found two aproaches, but have reached a point in both that I need to resolve.

Trigger Based Method

In the ‘after’ trigger pass the lookup string to a callback.
Update the Contact with the selection

Issues

  • How do you pass the lookup string or results to a visualforce page to display the lookup results?
  • When the user makes the selection and the update has been done, how do I move back to the updated contact?

Override Base Method

I found a discussion here that seems to suggests using overriding & redirection to someone asking about ‘Edit’. I think this could also be done with the ‘Save’ button.

Issue

  • This is meant to be a deployable sollution, so I think that the override has to be set in code (I’m using the IDE) and not via Setup (or am I wrong?). I can’t find out if this is possible or how to do it

Sorry for detailed question. Didn’t want to just ask the wrong question (i.e. assume I know the best approach).

Thanks…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T04:48:04+00:00Added an answer on June 3, 2026 at 4:48 am

    For the trigger-based method, you cannot change the built-in Save functionality, but (per your second solution) you can override the Edit button and recreate the Edit page with Visualforce, which would give you full control over the Save button and how you handle the callout and redirecting.

    The release notes for Spring ’10 indicate that standard-button overrides are now available for packaging, as they can be created through the Metadata API.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

user selects an image (using fileOpenDialog) then I need to run 3 algorithms sequentially
User inserts new records in the table in his browser with no postback (using
@user = User.new @user.id returns nil but i need to know it before i
user just enter the day of week. For instance user enter friday. I need
User is a model. I have 100 users. I need to present the list
User relates to Employee as one-to-many. The problem is the list of Employee s
User kokos answered the wonderful Hidden Features of C# question by mentioning the using
User has pets , pets may have pictures One picture may be set as
I need to clean up various Word 'smart' characters in user input, including but
user enter two date it need to click on a button... if the date

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.