Upload Widget issue

Upload Widget issue

  

Hi all,

I've tried to create a new oml to do a test on upload widget. And the problem I face now is, when I edit my to do or create a new to do in my Do To Details, after I save, the FileName and File Type doesn't seems to be updated in my To Do main page. I can't think of any part I overlook in my oml. Able to help? Thanks



Solution

Hello Jing,

The problem is that you're assigning to your local "ToDo" variable instead of using the Form's underlying "Record" variable. So your assign in the "Save" action must use these variables:

TodoForm.Record.Todo.FileName
TodoForm.Record.Todo.FileType
TodoForm.Record.Todo.FileContent



Solution