glide.set_x_frame_options set to false

Girish Katti
Giga Contributor

Hello Team,

I have created an Content Item and set the Content type to "External Content". I have give an external application value in the URL field.The Target is set to "Within Catalog".

For displaying the external application within ServiceNow I have updated the property glide.set_x_frame_options to false. Even though I set this property to false the external application does get displayed in ServiceNow.

how to I enable X-Frame-Options: allow-from https://example.com/ in ServiceNow?

Do I have to disable any other property to display the site in ServiceNow?

Please advice on the options

Thanks & Regards

Girish

 

4 REPLIES 4

Omkar Mone
Mega Sage

Hi

 

Can you check if cors are allowed on your browser?

Refer the below link as well 

 

https://community.servicenow.com/community?id=community_question&sys_id=3b78cfeddb1cdbc01dcaf3231f96...

 

Regards,

Omkar Mone

Hi Omkar 

What do you mean by cors. I have tried both the options and Im still not able to get the site shown up in servicenow.

Are there any other options?

Hi Omkar,

 

CORS is already part of the add-on. I wanted to override glide.set_x_frame_options property value and create a new property with the value 

X-Frame-Options: allow-from https://example.com/

Thanks

Girish