View based on URL/URI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2011 03:33 PM
I have been struggling to implement a solution for dynamically loading views for Incident records. The qualifier is basically the URI/URL.
New Records
View: New
Existing Records+After clicking save on a new record
View: Default
Within the CMS
View: ess
Any suggestions on how to accomplish this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2011 12:08 PM
I put in a simple fix. I specify the new view from the create new module, and specify the view in the CMS links, this hasn't changed. The real issue was have the default view come up after saving a new ticket.
So I created an on submit client script:
function onSubmit() {
//Type appropriate comment here, and begin script below
switchView('section','incident','');
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2011 04:00 PM
Ok I take that back. That completely broke the UI actions. Save was submitting and the header buttons didn't work at all..
Back to the drawing board..