web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

iFrame in Cloud POS

(1) ShareShare
ReportReport
Posted on by 5

Hello everybody,

 

I'm trying to figure out how to utilize iframe within Cloud POS solution.

We end up in a situation where local POS installation works without issues, but when trying to use it in CPOS we end up with an exception "Because it violates the following Content Security Policy directive".

 

Is there any way to add specific urls there? I tried adding the <meta> tag in dialog/view .html file but without success:

 

<meta http-equiv="Content-Security-Policy" content="default-src 'self' https://url.com/" />

 

I checked the browser dev tools but in there in the network operations sniffer I can only see the standard policies as if my addition did not get used. Am I missing some steps?

I have the same question (0)
  • Verified answer
    Oksana Kovaliova Profile Picture
    3,597 on at

    Hi, CPOS has CSP in web.config file and they cannot be overridden on page level, for Windows app security policies are different, so it will work.

    If you use local SCU CPOS, you can adjust web.config, however, for CPOS in cloud it will not work.

    If it is must requirement, I would suggest to open a support ticket.

  • MateuszSyczewski Profile Picture
    5 on at

    Hello Oksana,

    In the end I came to the same conclusion and created an idea ticket.

    Thank you for your response.

  • commander Profile Picture
    on at

    In the button grid, there is function for open window/URL, In cloud POS, you can use it to Open in new window. Same window does not work but u can launch in new browser tab. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 302 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 183 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 120 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans