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
Sean O'ConnellSean O'Connell 

Help with Simple Button

I am trying to create a simple button for notes and attachements on the contact object

So have this
/002/e?parent_id={!Contact.Id}&retURL={!Contact.Id}

but I a  getting Error: Enter a URL that is valid and well-formed

I am not sure what that means or how to fix it 

Thanks

Sean


 
Best Answer chosen by Sean O'Connell
Pankaj MehraPankaj Mehra

Try this:

HYPERLINK("/00OZ0000000UvyD?pv0="
& Account_ID__c
&"&pv1="
& QuoteLineItem.Product_Name__c
,"Latest Price")

It works in my org when I change the field names. If you still get errors, try the "check syntax" button and let us know what the error is.

All Answers

Krishna SambarajuKrishna Sambaraju
Did you create a detail page button? Can you share the screenshot of the button configuration?
Pankaj MehraPankaj Mehra

Try this:

HYPERLINK("/00OZ0000000UvyD?pv0="
& Account_ID__c
&"&pv1="
& QuoteLineItem.Product_Name__c
,"Latest Price")

It works in my org when I change the field names. If you still get errors, try the "check syntax" button and let us know what the error is.
This was selected as the best answer