function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
z.chenz.chen 

Is it possible to overwirte some functions in the javascript file: functions.js

Hi,

I'd like to create my own Lookup Page. This page has now been created with Visualforce Page.

The Problem is how can I make the lookup button to link to this page. The lookup button alweays open the standard lookup page /_ui/common/data/LookupPage.

Is it  possible to overwrite some fuctions in the file functions.js, so that the lookup button does not open this standard LookupPage but my own custom page? If not, is there any other solution for that?


Thanks for any answer.

Regards
Zhengdao
Luke@TWSLuke@TWS
Can you not edit the button to call a custom function?
z.chenz.chen
How can I edit a button in a standard page, for example, das Contact Lookup button of the edit page of Case?


Regards
Zhengdao
Luke@TWSLuke@TWS
remove the standard, create a new text input, put an imagelink next to it with the same graphic and do whatever you need to; would be my suggestion.
z.chenz.chen
The problem is how can I remove a standard button the edit mode (edit page of Case).
Luke@TWSLuke@TWS
Ah right, I thought you meant you had created the edit page of Case in VF. I guess the only way would be to do just that.
z.chenz.chen
Yes, I also think so. Anyway, thanks a lot for the suggestion.

Regards
Zhengdao