DisplayWithVariables
(Created page with "DisplayWithVariables is a special verb that will inject variabel values on navigation. http://<Host>/Turnkey/DisplayWithVariables?view=<ViewName>&id=<RootId>&vNewVar1=value1&...")
 
No edit summary
Line 1: Line 1:
DisplayWithVariables is a special verb that will inject variabel values on navigation.
DisplayWithVariables is a special verb that will inject variabel values on navigation.
 
http://<Host>/Turnkey/DisplayWithVariables?view=<ViewName>&id=<RootId>&vNewVar1=value1&vNewVar2=value2
http://<Host>/Turnkey/DisplayWithVariables?view=<ViewName>&id=<RootId>&vNewVar1=value1&vNewVar2=value2
 
The url above will try and find vNewVar1 variable of type string in <ViewName> - if found assign the value1 to this variable.
The url above will try and find vNewVar1 variable of type string in <ViewName> - if found assign the value1 to this variable.


The same will happen for vNewVar2.
The same will happen for vNewVar2.
=== Improvement deployed 20190622 DWV ===
DisplayWithVariables has been given a shortcut verb. You can now also use this form:
http://<Host>/DWV?v=<ViewName>&i=<RootId>&vNewVar1=value1
The Id of the root object is sent in with "i", If "i" is omitted null is assumed

Revision as of 10:50, 22 June 2019

This page was created by Hans.karlsen@mdriven.net on 2019-05-16. Last edited by Stephanie@mdriven.net on 2025-03-25.

DisplayWithVariables is a special verb that will inject variabel values on navigation.

http://<Host>/Turnkey/DisplayWithVariables?view=<ViewName>&id=<RootId>&vNewVar1=value1&vNewVar2=value2

The url above will try and find vNewVar1 variable of type string in <ViewName> - if found assign the value1 to this variable.

The same will happen for vNewVar2.

Improvement deployed 20190622 DWV

DisplayWithVariables has been given a shortcut verb. You can now also use this form:

http://<Host>/DWV?v=<ViewName>&i=<RootId>&vNewVar1=value1

The Id of the root object is sent in with "i", If "i" is omitted null is assumed

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments