Embedded Application

WorkplaceX edited this page Dec 20, 2018 · 5 revisions

WorkplaceX business applications can run as stand alone applications or embedded for example in a company web page.

Add the following minimal code to your page:

<html>
    <head>
        <!-- Framework css-->
        <link rel="stylesheet" href="https://demo.workplacex.org/frameworkStyle.css?embedded">
    </head>
    <body>
        <h1>This is the demo application</h1>
        <data-app></data-app>
        <script>var browserJson = {"EmbeddedUrl":"https://demo.workplacex.com/"};</script>
        <script src="https://demo.workplacex.org/runtime.js"></script>
        <script src="https://demo.workplacex.org/polyfills.js"></script>
        <script src="https://demo.workplacex.org/main.js"></script>
        <script src="https://demo.workplacex.org/bundle.js"></script>
    </body>
</html>

The "data-app" html tag is the location where the application is rendered.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.