|
|
(58 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
| ==== Introduction to Examples and merge ====
| | #REDIRECT [[Documentation:Model Examples]] |
| Examples that you can merge into your empty or not complete model in order to get some functionality
| |
| [[File:2020-05-30 19h00 48.png|none|thumb]]
| |
| or/and :
| |
| [[File:2020-05-30 19h02 13.png|none|thumb]]
| |
| | |
| ===== What happens when you merge another modlr file? =====
| |
| # If the merged file use some class name that you already use - the content of the classes is copied from the merged file to the class you already had - the incoming class is discarded to avoid doublet
| |
| # If the merged file use the same package name as you already have in your model - the content from the merged file is moved into your package
| |
| # If you the merged file use some viewmodel-names you already have - they are skipped - if new viewmodels are found they are added
| |
| # If you have the same diagram name - the diagrams are merged to avoid doublets. | |
| # If the merged had some AssetsTK - it is merged to your AssetsTK increasing it or updating it
| |
| | |
| === SysUserAuthentication ===
| |
| This example adds the SysSingleton and SysUser classes needed to enable login and authentication in Turnkey systems
| |
| [[File:2020-05-30 19h31 20.png|none|thumb]][[Special:Redirect/file/SysUserAuthentication.modlr|Download SysUserAuthentication]] - once downloaded do "open merge add" from the model you want to extend. | |
| | |
| === Consume and Purchase ===
| |
| This example model extends your system with an ability to [[Charge end user|charge the end-user]] for services you provide. The user will be treated as a SysConsumer in portal - and you can charge the SysConsumer with a Credit card and you can let the SysConsumer consume your services with a simple call in your local model.[[Special:Redirect/file/ChargeEndUserViaMDrivenPortalService.modlr|Download ChargeEndUserViaMDrivenPortalService.modlr]] sample:
| |
| [[File:2020-05-31 12h01 07.png|none|thumb]]
| |
| | |
| | |
| [[Special:Redirect/file/Företag.modlr]]
| |
| | |
| This is how the link should be formed: https://www.mediawiki.org/wiki/Help:Linking_to_files
| |