You need to sign in to do that
Don't have an account?
tinman44
retURL in a s-control link?
Okay lets see if I can clearly articulate this question. It has to do with sending a return URL as part of an s-control. What I want to do is from an s-control have a button that links to the create a new contact page and then once the contact is created returns them to the s-control.
Here is my issue...
Do do this I have to build the retURL into the link to the Contact create page:
I have to pass two GET variables.
1. The account id -> accid=VALID_ACCOUNT_ID
2. The return variable -> retURL=servlet/servlet.Integration?lid=ID_OF_S_CONTROL&eid=ID_OF_OBJECT
The problem is that the retURL has to contain 2 of it's own GET variables...eid & lid. After the contact is created it does not properly read the return URL and shoots me back to the standard detail view of the contact....not the s-control.
So I tried to replace all the unsafe char in the retURL with safe char and it still does not work:
Any ideas? Is this possible? Any help/direction would be greatly appreciated.
I've exactly the same probleme. But I still don't know how to solve it. Can you give me a short example, which shows my how to integrate a S-Control which is invoked after the Contact was successfully created and which can access it via it's id.
That would be great.
Thanks,
Matthias
&saveURL=https://na4.salesforce.com/{!$Request.P1}
&retURL=https://na4.salesforce.com/{!$Request.P1}
&00N60000001TDPs={!Account.ShippingStreet}
&00N60000001TDPx={!Account.ShippingCity}
&00N60000001TDQ7={!Account.ShippingPostalCode}
&saveURL=https://na4.salesforce.com/{!$Request.P1}
&00N60000001TDPs={!Account.ShippingStreet}
&00N60000001TDPx={!Account.ShippingCity}
&00N60000001TDQ7={!Account.ShippingPostalCode}