We just migrated to QV 12.1 SR8 from Qv11.2 and found that QvdNoOfRecords function doesn't work any more as it use to.
I know there was a change in how directory reference work for this function, but this is different.
On QV 11, when a qvd file didn't exist, that function just returned a null value. But now, when the qvd file doesn't exist, it just give an error and the script execution fails. Is this an expected behaviour??
We could use Filesize to know if the file exist or not, but we also need to know how many rows it has when it exist. Is it real we need to change all QvdNoOfRecords by "FileSize" AND "QvdNoOfRecords"?
I maintain a list of QV12 upgrade considerations to use as a companion to the Qlik Release Notes. It covers things I've run into -- like the QvdNoRecords() change -- that are aren't mentioned in the Release Notes or I think need more explanation. You can download the doc here.
Hi Rob, excelent resume, thanks!!. It is always a pleasure to read your blogs, they are very helpfull.
I think I've one more case at the item 6.
When you use an Execute command in the script with a relative path, it doesn't use the qlik document path any more.
For example, when calling Qlikview desktop from command line interface, the relative path for execute cmd is calculated from the folder where you actually are calling the QV CLI. I experienced the same from Publisher, but haven't check what folder reference is used in that case.