Job Responses - Guidance Needed!
Hello! I’m new to larval and was hoping to get pointed in the right direction!
I currently have a page called FileManager with a table of files and a file upload button. The button will then trigger a job that uploads the selected file to a sftp server. How can i create a response to then show a notification and refresh the table? What’s the best method to do this? I was hoping to call a UploadCompleted function from the FileManager but can’t seem to get it working.
What i’ve tried so far: creating a cache system that adds a file success state once the job is finished. I then use a poll system to detect this. The issue is i can’t reference the UploadCompleted function in FileManager. I was wanting to make a Modular system where the polling system isint tied to per page. I also tried using events but with a similar outcome. I was able to display a notification from the polling system but would like to use the function UploadCompleted. Worst case, i can keep the response functions inside the polling system, i just need to find a way to refresh the tables. What’s the best/recommends approach for this?
Once again, im really new to this so any information is greatly appreciated!!! Thanks again!
0 Replies