How do you create a URL for a new record and also set the view???

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2011 11:29 AM
I apparently have a case of the stupids today because for the life of me I cannot get this URL to work properly. Every time I go to it I get a blank form with the default view and that is not what I want. I would like it to take me to a blank form using the osa_-_physical view...
cmdb_ci_network_adapter.do?sys_id=-1&sysparm_view=osa_-_physical&sysparm_query=active=true^u_osa_card_type=Physical
Anyone have any suggestions?
Drew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2011 11:48 AM
I ran a test changing a couple things from your example but keeping the idea the same. The following took me to the Self Service view of a new Incident form with Short description pre-populated as expected:
http://demo.service-now.com/incident.do?sys_id=-1&sysparm_view=ess&sysparm_query=active=true^short_description=heya
Navigating to the full frameset required escaping some characters, but this worked:
https://demo.service-now.com/nav_to.do?uri=incident.do%3Fsys_id=-1%26sysparm_view=ess%26sysparm_query=active=true^short_description=dude

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2011 12:08 PM
Ok, well I am trying to do it using an Interceptor, do you think that will impact how it works?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2011 12:24 PM
Well, .... I just found a view rule that was causing my issue...
Thanks for the help.