- Home
- Technical Library
- Boards
- Cookbook
- Code Share
- Blogs
- Partners
-
More
-
Services
- Training & Certification
- Support
-
Galleries
- Force.com Sites Gallery
- Chatter Challenge Entries
-
Other Web Sites
- Salesforce.com
- Database.com
- AppExchange
- CRM Community
-
Discussions
- Announcements
- General Development
- Schema Development
- New to Cloud Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules Discussion
- Security
- Mobile
- Force.com Sites
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby Development
- Adobe Flash Builder for Force.com
- Desktop Integration
- REST API Integration
- Streaming API
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- Excel Connector
- AJAX Toolkit & S-controls
- Force.com Builder & Native Apps
- AppExchange Directory & Packaging
- Force.com Labs Projects
- Open Source
- Site.com
- Jobs Board - Administrators
- Jobs Board - Developers
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- General Development
- :
- Redirct back to parent object
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Redirct back to parent object
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-12-2008 02:07 PM
When the user creates a new record on the custom reltaed list and hits save it leaves them on the newly created record
nsted of redirecting them back to the case.
The user can always click the link to the case but that is an extra step and not the same functionality that exists with other
related lists.
I would like this to work the same as creating a new task for the case. Afetr you save the new task it takes you back to the
case instead of leaving you on the newly created task.
Any ideas on how I can do this?
Re: Redirct back to parent object
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-12-2008 02:49 PM
For example, currently when you press the New button off the Case related list it probably looks something like this:
https://na1.salesforce.com/a02/e?CF00N30000001cYtG
You would therefore want to make your custom button do something like this:
https://na1.salesforce.com/a02/e?CF00N30000001cYtG={!Case.CaseNumber}&CF00N30000001cYtG_lkid={!Case.Id}&retURL=%2F{!Case.Id}&saveURL=%2F{!Case
The things you'll need to change here to match the actual bits in your original URL are in bold.
Re: Redirct back to parent object
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-13-2008 08:01 AM
/a06/e?CF00NT0000000xJDG={!Case.CaseNumber}&CF00NT
I then Went to the custom object and overrode the New Buttoin and poinyted it to the S-Control noted above.
When you click the new button the following URL is generated:
https://tapp0.salesforce.com/a06/e?CF00NT0000000xJ
And the page never displays it just hangs. What is the scontrolCaching=1 mean? What happened to the saveURL Parameter.
If I manually enter the URL into the address toolbar it works fine. But the S-Control overriding the New button is acting funny. Did I miss something?
Re: Redirct back to parent object
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-13-2008 09:12 AM
Re: Redirct back to parent object
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-13-2008 10:14 AM
Ok that made the page display. However it dropped the saveURL parameter and did not maintainthe relationship to the case that I started on.
Any other thoughts?
Re: Redirct back to parent object
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-13-2008 10:21 AM
Re: Redirct back to parent object
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-13-2008 10:28 AM
Re: Redirct back to parent object
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-16-2008 07:27 AM
I created a custom "New" button that creates a new Custom object B and pulls in some data from object A into some fields of object B.
My problem is that when I click Save, I want to go to the newly created object B instead of back to the master object A. What do I put in the &saveurl parameter to send the user to the newly created custom object B page?
Re: Redirct back to parent object
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-16-2008 08:11 AM
Re: Redirct back to parent object
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-16-2008 10:28 AM
Thanks for your help.

