+ Start a Discussion

URl In custom button is not redirecting to record but homepage



I am using a custom button on my custom object to return to the record for that object I just created.  However, this failing and sending me to the home page upon save.  Can anyone let me know what I am doing wrong?  Here is the button url




My object is the SPA_Discount__c object.

Best Answer chosen by Admin (Salesforce Developers) 

Sooooooooo....clearly, I am a genius.  It was my save URL, not needed unless I am re-directing to another record, which, I was not.  Here is the completed url to direct me to the record I just created




And that folks, is how you realize that maybe you should drink a bit of coffee or tea before you go off writing custom buttons.