You need to sign in to do that
Don't have an account?
Redirecting back to Salesforce
Hi guys!
In developing .NET apps do you have suggestions on how to redirect back to the Salesforce site?
I have this app that does something in an Accounts object. It is accessed via a weblink. I have configured this weblink to open in Salesforce.com window without the sidebar.
In my code:
String sforceUrl = "https://na1.salesforce.com/";
String accountId = Request.QueryString["AccountId"];
sforceUrl = sforceUrl + accountId;
Response.Redirect(sforceUrl);
This does not generate errors, the problem is that I have another Salesforce window within a Salesforce window.
I would really appreciate some help. Thanks in advance!!!
<script>
window.parent.location.href = https://na1.salesforce.com/001.....
<script/>
Message Edited by benjasik on 03-03-2005 07:26 AM