
Hello I had to change the location of the "Aquisition visit" button from Lead to Account.
So i copy / paste all the settings from the existing button and placed it in the new button on Account.
Also copy / paste what was in the formula editor and It looks like this:
/00U/e?who_id={!
Lead.Id}&retURL=/{!Lead.Id}&evt5="Acquisitie Bezoek:"+{!Lead.Name},+{!Lead.Company},+{!Lead.City}&evt12={!Lead.Street},+{!Lead.PostalCode},+{!Lead.City},+{!Lead.Country}&evt6="Telefoon:"+{!Lead.Phone}%0A"Mobiel:"+{!Lead.MobilePhone}%0A"Email:"+{!Lead.Email}&ShowAs="1"
I know there is a lot of Lead relations but thats good as it has to pull the information from Lead.
Though one of those relation is causing this problem of logout after making an Aquisition visit agreement.
I just don't know wich one and what i have to put in place for this.
Awaiting an answer.
Best regards,
Stef Hofman
1 answer

Ok sorry about that i have solved the problem myself. pretty simple if i just read the code and think logically the retURL that means return URL is going to
Lead.Id but has to go to Account.Id as the button now is on account. Problem solved.Thx.