Issues when passing Key to modify in the pff
Posted: June 10th, 2024, 6:05 am
Dear CSPro Developer Team,
Thanks a lot for adding advanced and innovative features in CSPro, mainly anticipating thanks
for the next CSPro CAWI feature.
I'm playing with the new CSPro 8.01 features (who almost fulfilled all the request that I posted). However, I find an issue when passing a key to modify a case via pff. This should allow to automatically open a case with a specific key in modify mode. But, I find the similar issue with this user: viewtopic.php?p=17824&hilit=StartMode%3DModify#p17824
For testing purposes, I used both keylist and Sqlquery to allow any user to select a key and I pass this key in a Pff.
a)
Other questions:
1) How to display qsf label only in a case viewer (not dictionary name)?
2) What's the scope of the webview displaying the qsf ? (I would like to use a worker thread in it for improving some aspects of an application).
Thanks in advance.
Thanks a lot for adding advanced and innovative features in CSPro, mainly anticipating thanks
I'm playing with the new CSPro 8.01 features (who almost fulfilled all the request that I posted). However, I find an issue when passing a key to modify a case via pff. This should allow to automatically open a case with a specific key in modify mode. But, I find the similar issue with this user: viewtopic.php?p=17824&hilit=StartMode%3DModify#p17824
For testing purposes, I used both keylist and Sqlquery to allow any user to select a key and I pass this key in a Pff.
a)
keylist(DICTNAME, enteredKeys);
numeric indexKey= enteredKeys.show("la liste des cles est");
string keyValue=enteredKeys(indexKey);
b) numeric indexKey= enteredKeys.show("la liste des cles est");
string keyValue=enteredKeys(indexKey);
CS.Sqlite.exec(db := inputData,
sql := keyListqueryFormatter,
rowFormat := "scalarArray"));
sql := keyListqueryFormatter,
rowFormat := "scalarArray"));
string caseId=invoke ("caseIds");
pffModify.setproperty ("StartMode",maketext ("Modify;%s",caseId));
However, both failed to open the specific case in modify mode. However, using the same key, I was able to open a case in add mode and pass the values as Id. pffModify.setproperty ("StartMode",maketext ("Modify;%s",caseId));
Other questions:
1) How to display qsf label only in a case viewer (not dictionary name)?
2) What's the scope of the webview displaying the qsf ? (I would like to use a worker thread in it for improving some aspects of an application).
Thanks in advance.