The Grid data doesnt refresh until change focus in other place

Hi everyone,

I´ve a problema refreshing a grid in an interface.

I cannt get the grid updated when uploading a new file, until the interface doesnt load some data (using the drop box for example), I cannt see the new file listing. Is it possible to refresh the grid automatically once the file has been uploaded? After push the "CARGAR" button, using triggers (no idea how this is..) or something like this.

Thanks for your help, and for your time of course!

Best regards!

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    I don't believe your upload will work correctly, the way you have it set up currently. You're currently saving the value of the uploaded document into the "idDocument" property of the ri!documentosAdjuntos CDT, but in order for Appian to process the upload correctly, I believe it still requires that the main saveInto of the Document be targetted at a Document-type rule input which maps to a document-type ACP variable in the user input task.

    As far as I can tell, the way you should be doing this is by having a completely separate ri! variable to store the value of the uploaded document, then after form sumission, grab the ID of the uploaded document (since it isn't necessarily finalized until this point), store it into the "idDocument" field of your CDT at that point, and then start the "Document Onboarding" model as a subprocess before looping the user back into the SAIL form again. At that point, if you've set up everything else correctly, the grid should automatically show the current values you're expecting to see.
Reply
  • 0
    Certified Lead Developer
    I don't believe your upload will work correctly, the way you have it set up currently. You're currently saving the value of the uploaded document into the "idDocument" property of the ri!documentosAdjuntos CDT, but in order for Appian to process the upload correctly, I believe it still requires that the main saveInto of the Document be targetted at a Document-type rule input which maps to a document-type ACP variable in the user input task.

    As far as I can tell, the way you should be doing this is by having a completely separate ri! variable to store the value of the uploaded document, then after form sumission, grab the ID of the uploaded document (since it isn't necessarily finalized until this point), store it into the "idDocument" field of your CDT at that point, and then start the "Document Onboarding" model as a subprocess before looping the user back into the SAIL form again. At that point, if you've set up everything else correctly, the grid should automatically show the current values you're expecting to see.
Children
No Data