Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    BatchUploader: uploadOperation not used when adding records

    Hi Isomorphic,

    using v10.1p_2016-10-23 or v11.0p_2016-10-23 it seems that the uploadOperation given using setUploadOperation() is not used.

    To reproduce, see your online sample, open the Developer Console and execute:
    Code:
    isc_BatchUploader_0.uploadOperation;
    isc_BatchUploader_0.uploadOperation = "test";
    isc_BatchUploader_0.uploadOperation;
    Afterwards download and upload the supplyItemTest.csv demo file and commit it.
    You'll see in the RPC Tab that the operation used is "add" and not "add<test>".

    Problem seems to be with SmartClient code not using the setting, as this shows an expected output in my application:
    Code:
            SC.logWarn("UploadOperation: " + batchUploader.getUploadOperation());
            batchUploader.setUploadOperation("addAndPickLead");
            SC.logWarn("UploadOperation: " + batchUploader.getUploadOperation());
    
    results in:
    
    17:28:10.619:MUP9:WARN:Log:UploadOperation: null
    17:28:13.334:MUP9:WARN:Log:UploadOperation: addAndPickLead
    Could you please fix this in 5.1 and 6.0? This is an important one for me.

    Thank you & Best regards
    Blama

    #2
    Hi Isomorphic,

    could you reproduce this one?

    Thank you & Best regards
    Blama

    Comment


      #3
      This is fixed and will be available for download in nightly builds since Oct 28 (today).

      Comment


        #4
        Hi Isomorphic,

        using v10.1p_2016-10-28 this is fixed for me.

        Thank you very much
        Blama

        Comment

        Working...
        X