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
pupilstuffpupilstuff 

URL not working in list button

Hello ,

 

I am trying to use a url in list button on the basis of some condition .But its showing error 'URL can not be found'.

I thnk need to decode the URL , but dont knw how to do it .Please help

 

this is what I am doing

 

{!IF(C_Job__c.mid__c = "ap","/00U/e?what_id=a0PU00000004oBV&retURL=%2Fa0PU00000004oBV" , "https://www.google.com")}

Josephadm401Josephadm401

Remove the "%" that should do the trick. Let me know, good luck!

SabrentSabrent

Try as suggested by Josephadm401 If that doesn't work try replacing the & with &

 

Like this -

 

{!IF(C_Job__c.mid__c = "ap","/00U/e?what_id=a0PU00000004oBV&retURL=%2Fa0PU00000004oBV" , "https://www.google.com")}

 

Hope this helps!