TutorialsWorkflow Component1. Getting Started2. Data Retrieval3. Tabbed Menu4. Building Reusable Parts5. Information Tab6. Relationship Tab7. Provider Relationship Tab8. Final StepsFull Page MPage1. Getting Started2. User Prompts3. Custom Script - Part 14. Add a Table5. Click to View Details6. Custom Script - Part 27. Add Remaining Details8. Bonus - Deploy to DA2Third Party IntegrationExcelJS
Final Steps
Your MPage component has now been built and your final steps are to compile and deploy your code.
-
From your command prompt, type in:
npm run build
This action will perform the following tasks:
- run the ng build command with parameters to create a single bundle using a special webpack configuration designed to create our web component.
- The concat.js script will merge all required files together into a single .js file for deployment.
-
You will now have a new folder called dist. This folder will have a sub-folder with
the name of your project (e.g. patient-information-component).
Copy the patient-information-component sub-folder to the location you wish to host your MPage component. If
hosting on the Cerner WebSphere server, copy the folder to
I:\Winintel\Static_Content\custom_mpage_content.
-
Follow the
workflow component instructions to deploy your component to PowerChart.
