Model Examples
No edit summary
No edit summary
Line 11: Line 11:
# If the merged had some AssetsTK - it is merged to your AssetsTK increasing it or updating it
# If the merged had some AssetsTK - it is merged to your AssetsTK increasing it or updating it


==== SysUserAuthentication ====
=== SysUserAuthentication ===
This example adds the SysSingleton and SysUser classes needed to enable login and authentication in Turnkey systems
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.
[[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 ====
=== 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
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]]





Revision as of 10:02, 31 May 2020

Examples that you can merge into your empty or not complete model in order to get some functionality

2020-05-30 19h00 48.png

or/and :

2020-05-30 19h02 13.png

What happens when you merge another modlr file?

  1. 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
  2. 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
  3. If you the merged file use some viewmodel-names you already have - they are skipped - if new viewmodels are found they are added
  4. If you have the same diagram name - the diagrams are merged to avoid doublets.
  5. 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

2020-05-30 19h31 20.png

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 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.Download ChargeEndUserViaMDrivenPortalService.modlr sample:

2020-05-31 12h01 07.png


Special:Redirect/file/Företag.modlr

This is how the link should be formed: https://www.mediawiki.org/wiki/Help:Linking_to_files

This page was edited more than 6 months ago on 11/09/2023. What links here