CORS blocking an IFrame
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 07:30 AM
Hello Everyone,
I'm trying to set a "add to visual task board" button in the service operations workspace, (and I've been gradually loosing my mind over the course of this week!)
my latest Idea was to add a button opening an IFrame Modal in UI builder , after waging war against this atrocious duo data bindings/ client script with totally unknown parameters (api ??? helpers?????) to set the url, I'm now being blocked by CORS....
the url I'm trying to open is
"$vtb_add_to_board.do?sysparm_record_id=" + g_form.getUniqueValue() + "&sysparm_table_name=" + g_form.getTableName() + "&sysparm_nostack=true"
and here are some of the many errors I get :



The thing is, from what I did understand of this thing, it is the resource that need to have 'Access-Control-Allow-Origin' in it's Header, and I don't know what I can do about that....
Thanks!
0 REPLIES 0