Use Case
Creation of estimates located in a drive or in a web repository. The creation may be followed by the parameterization of user variables, the computation of the selling prices and the saving of the estimate.
Principle
Enter a command line in a web browser, or create a html page with hyperlinks (<a>) and click the link.
Code
Either the destination is explicitly entered in a complete file path or it is the temporary working folder %APPDATA%\Local\QDV\WorkingTemp\
Command with |
First argument |
Second argument |
Third argument (8 chars) |
explicit destination |
Complete estimate path |
Complete template path |
ID linking the estimate to the host |
implicit destination (totemp) |
Estimate file name |
Complete template path |
ID linking the estimate to the host |
Separate the arguments with |. The third argument is optional.
For creating an estimate from scratch, enter only the first (and possibly third) argument(s).
Examples of hyperlinks:
QDV7 Action |
href="qdv7:// |
|
Just invoking QDV7 |
" |
|
Creating a file in the given place |
?create=C:\temp\Sample Estimate Created 1.qdv" |
|VARIABLES{GLV_VAR1;abc}{GLV_VAR2;def}{GLV_VAR3;ghi}{ComputeSellingPrices;yes}{SaveEstimate;yes}" |
Creating a file Estimate_Created_4.qdv from scratch in the temporary folder |
?createtotemp=Estimate_Created_4.qdv" |
|
Creating a file using the given template |
?createfromtemplate=C:\temp\Sample Estimate Created.qdv|C:\temp\Sample Estimate.qdv|ABCD1234" |
idem in place of |ABCD1234 |
Creating Estimate_Created_5.qdv to temporary folder from the given template |
?createfromtemplatetotemp=Estimate_Created_5.qdv|C:\temp\Sample_Estimate.qdv|ABCD1234" |
In place of the third argument, you can create/value to the estimate user's variables (R/W) of string type: for this purpose, tag the file path with the third column content (this example features 3 variables and 2 verbs: ComputeSellingPrices et SaveEstimate).
The actions elicited by the verbs are carried out after the creation in the order they appear in the URL. In the example, the selling prices are computed before the estimate is saved.
NOTE Unlike variables, verbs and values are not case sensitive.