RestAllowed UIAllowed
No edit summary
(Replacing message template with parser tag)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
On ViewModel there are 2 settings:
<message>Write the content here to display this box</message>
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 to access information via Rest - default FALSE
RestAllowed must be set in order access rest api backed by the view. According to this pattern:
 
<nowiki>http://localhost:5052/TurnkeyRest/Get?command=ViewOneThing&id=11!1</nowiki>
UIAllowed : must be set in order to access information via UI - default TRUE
<nowiki>http://localhost:5052/Rest/ViewOneThing/Get?id=11!1</nowiki>                  <nowiki>http://localhost:5052/Rest/ViewOneThing/Get/11!1</nowiki> 
 
RestAllowed must explicity be 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 other purposes than UI (ServerSide, Rest, Tajson-templates, Reports, DeepClone-templates etc)
[[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}}

Latest revision as of 07:55, 17 June 2024

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:5052/TurnkeyRest/Get?command=ViewOneThing&id=11!1 
http://localhost:5052/Rest/ViewOneThing/Get?id=11!1                   http://localhost:5052/Rest/ViewOneThing/Get/11!1  
2021-03-08 12h50 07.png
This page was edited 12 days ago on 06/17/2024. What links here