Enhanced auto-complete using choice URL
Posted: Sun Apr 18, 2021 8:19 pm
I've applied the updates to use the enhanced auto-complete feature using choice URL.
First let me state this sucker works great and it's fast. I've implemented on two fields with very little effort with great results. This enhancement will eliminate a lot of window calls in our applications.
Have a few of questions concerning implementation based upon the https://docs.profoundlogic.com/x/FAJKB example.
First let me state this sucker works great and it's fast. I've implemented on two fields with very little effort with great results. This enhancement will eliminate a lot of window calls in our applications.
Have a few of questions concerning implementation based upon the https://docs.profoundlogic.com/x/FAJKB example.
- 1. On success1 format there is a "valueField": "value" property. I take it that this is required and it has a relation to the "value" field on success2 format. Am I thinking right.
2. On success3 format what does "colWidths":[30,5] do?
3. How does one supply an additional parameter to the choice URL. For example, a user supplies a transaction type from a dropdown and you what to use that value to only select the specified transaction type when the user types the auto-complete field.
- 1. No CL program is necessary to call the web service FRUITSUR. My PUIMAPP is to /fruits PUISAMPLES/FRUITSUR.
2. I renamed CL program FRUITSUCL to FRUITSC then changed it to call FRUITSR. The url to evoke the example:
"http://your-system:port/profoundui/start?pgm=PUISAMPLES/FRUITSC".