No edit summary |
Hans Karlsen (talk | contribs) No edit summary |
||
Line 14: | Line 14: | ||
==== Improvement deployed 2020-08-08 ==== | ==== Improvement deployed 2020-08-08 ==== | ||
These functions now sets the viewmodel variable '''RawURL''' to the requested URL including parameters. This makes special processing available to modeled code. | These functions now sets the viewmodel variable '''RawURL''' to the requested URL including parameters. This makes special processing available to modeled code. | ||
==== Improvement deployed 2020-11-25 ==== | |||
Sometimes when we need a callback url the DWV is practical - but some services cannot handle callbacks with parameters (Docusign Authentication)! So the DWV has now been extended so all these urls will do the same thing: | |||
https://<server>/Turnkey/AngularApp#/SomeView/2!28 Original | |||
https://<server>/DWV?v=SomeView&i=2!28 How it was - and still is | |||
https://<server>/DWV/SomeView/2!28 New! DWV/view/id |
Revision as of 16:49, 24 November 2020
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.
Note! Both view and id are required. See below for avoiding having to send the id.
Improvement deployed 2019-06-22 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
Improvement deployed 2020-08-08
These functions now sets the viewmodel variable RawURL to the requested URL including parameters. This makes special processing available to modeled code.
Improvement deployed 2020-11-25
Sometimes when we need a callback url the DWV is practical - but some services cannot handle callbacks with parameters (Docusign Authentication)! So the DWV has now been extended so all these urls will do the same thing:
https://<server>/Turnkey/AngularApp#/SomeView/2!28 Original https://<server>/DWV?v=SomeView&i=2!28 How it was - and still is https://<server>/DWV/SomeView/2!28 New! DWV/view/id