7.21.0926

Navigation:  7.21 (QDV 2021) >

7.21.0926

Previous pageReturn to chapter overviewNext page

Released on December 16, 2021

Bug fix: Merging issue in the scenarios

With some header merged in the WBS, the scenarios windows displayed and error at opening time.

Bug fix: Could not create PDF from overhead type reports (PFL) with the API

API call failed when GetPDFFromReport() function was invoked under an overhead-type report.

New: QDV7:// protocol extended

The qdv7:// protocol has been extended to carry out 'save estimate' and 'compute selling prices' operations.

 

<!doctype html>

<html>

   <head>

       <meta charset="utf-8" />

       <title>Sample links"</title>

   </head>

   <body>

       <p>

         <a href="qdv7://">Starts QDV</a><br />

         <a href="qdv7://?open=C:\temp\Sample_Estimate.qdv|VARIABLES{GLV_VAR1;abc}{GLV_VAR2;def}{GLV_VAR3;ghi}">Open C:\temp\Sample_Estimate.qdv (from UNC) with some variables passed</a><br />

         <a href="qdv7://?create=C:\temp\Estimate_Created_2.qdv|VARIABLES{GLV_VAR1;abc}{GLV_VAR2;def}{GLV_VAR3;ghi}">Creates C:\temp\Estimate_Created_2.qdv from scratch with some variables passed</a><br />

         <a href="qdv7://?createfromtemplate=C:\temp\Estimate_Created_3.qdv|C:\temp\Sample_Estimate.qdv|VARIABLES{GLV_VAR1;abc}{GLV_VAR2;def}{GLV_VAR3;ghi}">Creates C:\temp\Estimate_Created_3.qdv from template C:\temp\Sample_Estimate.qdv with some variables passed</a><br />

         <a href="qdv7://?open=[SHAREPOINT]http://iaes-software.com/temp/Sample_Estimate.qdv|VARIABLES{GLV_VAR1;abc}{GLV_VAR2;def}{GLV_VAR3;ghi}">Open directly http://iaes-software.com/temp/Sample_Estimate.qdv (requires SharePoint) with some variables passed</a><br />

         <a href="qdv7://?opentotemp=C:\temp\Sample_Estimate.qdv|VARIABLES{GLV_VAR1;abc}{GLV_VAR2;def}{GLV_VAR3;ghi}">Open C:\temp\Sample_Estimate.qdv to temporary folder with some variables passed</a><br />

         <a href="qdv7://?createtotemp=Estimate_Created_4.qdv|VARIABLES{GLV_VAR1;abc}{GLV_VAR2;def}{GLV_VAR3;ghi}">Creates Estimate_Created_4.qdv from scratch into temporary folder with some variables passed</a><br />

         <a href="qdv7://?createfromtemplatetotemp=Estimate_Created_5.qdv|C:\temp\Sample_Estimate.qdv|VARIABLES{GLV_VAR1;abc}{GLV_VAR2;def}{GLV_VAR3;ghi}">Creates Estimate_Created_5.qdv to temporary folder from template C:\temp\Sample_Estimate.qdv with some variables passed</a><br />

       </p>

   </body>

</html>

 

Now, when you pass variables trough the URL you can add two verbs, anywhere in the list of variables. these verbs are: 'SaveEstimate' and 'ComputeSellingPrices'. They must be passed as you pass variables and their values, the syntax is as follows:

{the verb;the value}. The value must be 'yes' to trigger the operation. Unlike variables, verbs and values are not case sensitive.

See below the new syntax in 'Open' function. this can be used with all functions as soon as you pass variables in the URL.

 

<!doctype html>

<html>

   <head>

       <meta charset="utf-8" />

       <title>Sample links"</title>

   </head>

   <body>

       <p>

         <a href="qdv7://">Starts QDV</a><br />

         <a href="qdv7://?open=C:\temp\Sample_Estimate.qdv|VARIABLES{GLV_VAR1;abc}{GLV_VAR2;def}{GLV_VAR3;ghi}{ComputeSellingPrices;yes}{SaveEstimate;yes}">Open C:\temp\Sample_Estimate.qdv (from UNC) with some variables passed and two verbs</a><br />

         <a href="qdv7://?create=C:\temp\Estimate_Created_2.qdv|VARIABLES{GLV_VAR1;abc}{GLV_VAR2;def}{GLV_VAR3;ghi}">Creates C:\temp\Estimate_Created_2.qdv from scratch with some variables passed</a><br />

         <a href="qdv7://?createfromtemplate=C:\temp\Estimate_Created_3.qdv|C:\temp\Sample_Estimate.qdv|VARIABLES{GLV_VAR1;abc}{GLV_VAR2;def}{GLV_VAR3;ghi}">Creates C:\temp\Estimate_Created_3.qdv from template C:\temp\Sample_Estimate.qdv with some variables passed</a><br />

         <a href="qdv7://?open=[SHAREPOINT]http://iaes-software.com/temp/Sample_Estimate.qdv|VARIABLES{GLV_VAR1;abc}{GLV_VAR2;def}{GLV_VAR3;ghi}">Open directly http://iaes-software.com/temp/Sample_Estimate.qdv (requires SharePoint) with some variables passed</a><br />

         <a href="qdv7://?opentotemp=C:\temp\Sample_Estimate.qdv|VARIABLES{GLV_VAR1;abc}{GLV_VAR2;def}{GLV_VAR3;ghi}">Open C:\temp\Sample_Estimate.qdv to temporary folder with some variables passed</a><br />

         <a href="qdv7://?createtotemp=Estimate_Created_4.qdv|VARIABLES{GLV_VAR1;abc}{GLV_VAR2;def}{GLV_VAR3;ghi}">Creates Estimate_Created_4.qdv from scratch into temporary folder with some variables passed</a><br />

         <a href="qdv7://?createfromtemplatetotemp=Estimate_Created_5.qdv|C:\temp\Sample_Estimate.qdv|VARIABLES{GLV_VAR1;abc}{GLV_VAR2;def}{GLV_VAR3;ghi}">Creates Estimate_Created_5.qdv to temporary folder from template C:\temp\Sample_Estimate.qdv with some variables passed</a><br />

       </p>

   </body>

</html>

 

Notice that operations are carried out at opening time in the order they appear in the URL. In above example, selling prices are computed before estimate is saved.