![]() ![]() After the module is added using Commerce site builder, the script can be pasted into the Inline script property box, as highlighted in the following illustration. The inline script module allows you to add inline JavaScript code directly to a page template or page. The Script source property box is where you add the URL that points to the script source code that will be injected into the HTML for the rendered page. The following illustration shows an external script injector module that is being configured on a page template. ![]() ![]() The defer script execution property specifies whether the script should be executed when the page has finished parsing configuration properties. The execute script asynchronously property specifies whether the script should be executed asynchronously. The external script module includes the execute script asynchronously and defer script execution configuration properties. After the module is added using Commerce site builder, the script URL can be added to the Script source property. ![]() The external script module allows you to add JavaScript from external sources by providing a URL that points to a valid JavaScript file. For example, you can add a script for integration with third-party analytics, or other service scripts. You can add these modules to a page or page template to inject inline or external scripts into the HTML head, body begin, or body end of a page as needed. The Dynamics 365 Commerce module library provides two prebuilt script injector modules: external script and inline script. This article covers script injectors that can be used to add scripts to online pages in Microsoft Dynamics 365 Commerce. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |