Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Suggested answer

How to apply JavaScript into HTML on Retail POS D365

Posted on by Microsoft Employee

Hi all,

I met a problem when i tried to apply javasripts into the HTML standard on MS Example Dual Display screen but it not worked. My expect is i can change the video by the time was arranged before. (this customize apply for some store have advertising video). So here is my javascript code:

MicrosoftTeams_2D00_image-_2800_16_2900_.png

[View:/cfs-file/__key/communityserver-discussions-components-files/797/DualDisplayCustomControl.txt]

MicrosoftTeams_2D00_image-_2800_17_2900_.png

P/S: Please help me if you guys have a any idea or solution about this problem. Thank you so much

Phuoc Dinh

  • Oksana Kovaliova Profile Picture
    Oksana Kovaliova 3,595 on at
    RE: How to apply JavaScript into HTML on Retail POS D365

    Hi, did you check Development console - what exact errors do you get there?

  • Suggested answer
    ahgamal Profile Picture
    ahgamal on at
    RE: How to apply JavaScript into HTML on Retail POS D365

    Hi

    The recommendation is to put the script code in the code behind for the custom control.

    This is the corresponding TypeScript file.you can find in the samples an example for that

    It should then write the setInterval logic in the onReady function.

    you can also ponit to an external link by using x-ms-webview

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to apply JavaScript into HTML on Retail POS D365

    Thank you so much for your support.

  • Ramune Profile Picture
    Ramune on at
    RE: How to apply JavaScript into HTML on Retail POS D365

    Hi,

    I will leave this question for community to respond. If I have any information, I will respond to you later.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans