Content Management and Capture

 View Only
Expand all | Collapse all

Datacap Desktop: How to customize Start batch panel

  • 1.  Datacap Desktop: How to customize Start batch panel

    Posted Wed April 01, 2020 03:04 PM
    Hello all,
    I seek your prior experience with desktop customization.
    Here is my requirement , i have to populate Scan panel fields with the selected values  from the start batch panel. I customized ISISScan panel to show some extra fields(textboxes) and those are needs to be populated with the selected values from the Start batch panel on click of submit. We are able to customize the scan panel but we don't have any option to customize the Start batch panel events like submit button. 
    I did tried one option that i added code to read the runtime dco and reads the Batch level field values and updating those values to Fields(textboxes) in Scan panel. This updation i'm executing on the Scanpanel's focus set event which supposed to trigger when the start batch panel disappears and focus set to main form(scan panel) But this event is not triggering always. I think if we able to find the way to customize the submit button on Start batch panel which can be easy that we can update main scan form fields on the submit click.
    Please help in any suggestions or approach.





    ------------------------------
    Rajender Chelumalla
    ------------------------------


  • 2.  RE: Datacap Desktop: How to customize Start batch panel

    Posted Thu April 02, 2020 01:19 AM
    Hi, Rajender,

    It's been a while since I've worked with DotScan customizations, but what you're trying to do is certainly possible.  If you're storing what you need from the Start Batch panel in batch fields, aren't you able to grab those values from the batch in the StartBatch event of the panel?

    I think the Start Batch panel is being called when the DotScan panel makes this call to the base method:

    base.StartBatch();

    You should be able to grab what you need from the batch after this point.

    Other alternatives that may be useful:
    1) Create your own custom Start Batch panel, or
    2) Don't use a Start Batch panel; add those fields to the DotScan panel and capture and validate them there.

    Good luck,
    RS

    ------------------------------
    Robert Stegall
    ------------------------------