how to add sysparm_view in iframe url
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2016 11:28 PM
Hi,
I want to add a sysparm_view parameter into iframe URL but when I tried with the following url
/req/sysapproval_approver_list.do?sysparm_query=approver=javascript:getMyApprovals()^state=requested^ORDERBYsys_created_on&sysparm_view=ess
the query conditions are fine, view is also setting to ess. The problem is when I am clicking NEXT button in the list of records it is displaying a blank page.
To debug this i was testing it by removing each query in URL, finally found something like when i remove sysparm_view from URL it works fine that is its moving to next 20/50 set of records.
Can anyone show some insights on adding sysparm_view in Iframe URL. Everything i am testing in Geneva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2016 12:57 AM
If you are using a IFrame to display, no need to use site suffix in URL. Only use
sysapproval_approver_list.do?sysparm_query=approver=javascript:getMyApprovals()^state=requested^ORDERBYsys_created_on&sysparm_view=ess
Hope this will work for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2016 04:08 AM
Hi Ashish,
I tried this as well, but no luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2016 01:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2016 04:07 AM
Hi Srinivas,
Thanks for your reply.
Even when i checked in other Geneva personal instance, it is working fine. But i guess its only happening in my instance.
Also i found this in one of wiki links
Note: Some browsers suppress iFrames because of they use an X-Frame-Options header value of SAMEORIGIN. The X—Frame-Options header was introduced in Internet Explorer 8 RC1, to help detect and prevent frame-based redressing. The SAMEORIGIN value causes the browser to render a blank page instead of the target page of the <frame> or <iframe> when the frame target is not on the same origin as the page itself. Support for this header has been implemented in Safari 4.0, Chrome 4.1.249.1042, and Firefox 3.6.9.
I am using IE11.
Any idea about the above note?
