How to Pass Additional Field to Custom SysFileTable While Uploading a Document

Hi,

I’m trying to upload a document to a custom table named RequestSysFile. Along with the document, I need to store an additional field called “Type of Document”, which comes from a field on the screen/form.

However, I’m not able to pass this additional data to the RequestSysFile table during the upload process. Could anyone guide me on how to include this extra field while uploading the file?

 

Like 0

Like

6 comments

I assume you're using crt.UploadFileRequest for the upload? I believe that request might return the uploaded file's Id, you could follow it up with an update to set the other field (I don't believe you can include it in the upload, but I've not tried that)

I have configure below on designer page .

Below is code behind. Help me where\how i will get the ID of uploaded File.  Help me in detailed way.

Also i tried with Business Process(insert signal on sysfile) , but on upload File, Screen details are not getting Saved. I am not able to get the document type data in Business process. 

khushbu kumari,

I think you'd need to do this via code in order to capture the request result and perform the update after

  I am trying to update the selected document type in Solicitud object.  but it is giving Internal server error. 

Below is the code i have written in client side code. Am i doing anything wrong here or any setup is missing to use model class. Note: i have already added “@creatio-devkit/common” to the modules page.

Show all comments