Could you provide the customization project templates of Presentation and Service?

Hi

Could you please provide the develop templates of Presentation and Service?

I want to do some custom development, included HTML and API.

as i know, for Service module, cm can provide the visual studio project for us, but i dont find any project package on the Documents.

BTW, our version is 10.2

Thanks.

Hi,

Not sure if understood your question. Do you want examples of business and UI implementations?

Yes, examples could be better.

Hi,

CM MES has a CLI to help you setup and build custom projects (https://criticalmanufacturing.github.io/cli/).

As a quick guide, here follows a list steps to setup the project structure, using the CLI:

  1. Open a powershell command line with administrator privileges;
  2. Install @criticalmanufacturing/cli if not done on your environment;
  3. Create a local folder for your project;
  4. Check the documentation on @criticalmanufacturing/cli, and adapt the following set of commands to your needs:

**cd** <your_project_root_folder>

*#to check init documentation*
**cmf init --help**

*# Initialize the base structure of your project*
*# <infrastructure.json> - file containing  nugets and npm repositories information*
*# <environment.json> - file describing your environment (obtained from MES setup or Devops Center)*

**cmf init --infra** <infrastructure.json> **--config** <environment.json>

*# create the project file structure for BE customization (services)*
**cmf new business**
**cmf new data --businessPackage .\Cmf.Custom.Business\**
**cmf new database**

*#create project file structure for FE customization*
**cmf new html**

*#create the base project structure for Help customization*
**cmf new help**

*#create the project file structure for tests*
**cmf new test**

For more details check the tradtional project scaffolding page https://criticalmanufacturing.github.io/cli/scaffolding/traditional

Best regards,

João Moreira

Hello João, customization examples for GUI and Business could provide guidance and reference for us to build codes that comply with your framework, ensuring robustness (functionality and performance-wise) and carrying out most of your customization framework.