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
Leonardo GirgentiLeonardo Girgenti 

Help with URL Hack

Dear all, I need some help with this button.
I have a custom object called Due Dilicence.
I have a button in the Opportunity to create a new Due Diligence.
I want to prepopulate few picklist fields with the button.
I don't seem to be able to force the picklist option as the button is clicked....
The last 3 lines do not work. 

Button URL:
https://unicef.my.salesforce.com/a07/e?CF00N24000000tStF={!User.Name} 
&CF00N24000000soGZ={!Account.Name} 
&CF00N24000000soWA={!Opportunity.Name} 
&CF00N24000000tVYg= Opportunity/Urgent
&CF00N24000002CcEC=opp14 
&CF00N24000000tVrY=Potential/Firm Opportunity
William TranWilliam Tran
It could be the slash in your parameter.

You can test by using a value without the slash to confirm.

Otherwise you can try to escape it with %2F like this:

Button URL:
https://unicef.my.salesforce.com/a07/e?CF00N24000000tStF={!User.Name} 
&CF00N24000000soGZ={!Account.Name} 
&CF00N24000000soWA={!Opportunity.Name} 
&CF00N24000000tVYg= Opportunity%2FUrgent
&CF00N24000002CcEC=opp14 
&CF00N24000000tVrY=Potential%2FFirm Opportunity

Good luck

Thx