TIBCO Cloud™ Starters Toolkit - Component Schematics
Component Schematics, will generate code in order for you to customize apps.
Create your first Cloud App
To create your first app, simply run:
tcli new
Note: if you don't have tcli run:
npm install -g gulp-cli gulp @tibco-tcstk/cloud-cli
Create your own cloud component
Simply type:
tcli schematic-add
And choose the schematic to use.
Or use one of these commands
ng generate @tibco-tcstk/component-template:case-cockpit CustomCaseCockpit
ng generate @tibco-tcstk/component-template:home-cockpit CustomHomeCockpit
ng generate @tibco-tcstk/component-template:custom-form-creator CustomFormCreator
ng generate @tibco-tcstk/component-template:custom-form-action CustomFormAction
ng generate @tibco-tcstk/component-template:custom-form-casedata CustomFormCaseData
You can change the entries starting with custom into any name you like.
Custom Home or Case Cockpit
After you install a custom case cockpit, edit the home.component.html or case.component.html file to use your own custom component. (See the instructions in the file)
##Form Reference
For the custom forms you will have to enter an Form Reference(ID):
You can get the form reference by running the generated form in case manager and looking at the console log.
You will see entries like this:
(filter for *** Forms:)\n * *** Forms: > Using auto-rendered form (formRef): SampleApp.SampleApp.creator.Create SampleApp,
Copyright © 2019. TIBCO Software Inc.
This file is subject to the license terms contained
in the license file that is distributed with this library or can be found here:
https://github.com/TIBCOSoftware/TCSTK-component-schematics/blob/master/LICENSE