RestAllowed UIAllowed
(Automatically adding template at the end of the page.) |
No edit summary |
||
Line 2: | Line 2: | ||
* ''RestAllowed:'' must be set to access information via Rest - default FALSE | * ''RestAllowed:'' must be set to access information via Rest - default FALSE | ||
* ''UIAllowed:'' must be set to access information via UI - default TRUE | * ''UIAllowed:'' must be set to access information via UI - default TRUE | ||
UIAllowed must be explicitly set for the TurnkeyWeb-UI to show. This setting was introduced to limit access from deep links to screens that may have been designed for purposes other than UI (ServerSide, Rest, Tajson templates, Reports, DeepClone templates, etc.). | |||
RestAllowed must be set in order access rest api backed by the view. According to this pattern: http://localhost:5020/TurnkeyRest/Get?command=RestExposed&id=5!752 | |||
[[File:2021-03-08 12h50 07.png|none|thumb|560x560px]] | [[File:2021-03-08 12h50 07.png|none|thumb|560x560px]] | ||
[[Category:View Model]] | [[Category:View Model]] | ||
{{Edited|July|12|2024}} | {{Edited|July|12|2024}} |
Revision as of 18:43, 12 June 2024
This page was created by Hans.karlsen on 2021-03-08. Last edited by Edgar on 2025-01-20.
The ViewModel has two settings:
- RestAllowed: must be set to access information via Rest - default FALSE
- UIAllowed: must be set to access information via UI - default TRUE
UIAllowed must be explicitly set for the TurnkeyWeb-UI to show. This setting was introduced to limit access from deep links to screens that may have been designed for purposes other than UI (ServerSide, Rest, Tajson templates, Reports, DeepClone templates, etc.).
RestAllowed must be set in order access rest api backed by the view. According to this pattern: http://localhost:5020/TurnkeyRest/Get?command=RestExposed&id=5!752