Hi.
I am adding an image file to an existing person project.
Uploading the image file referenced the profile.
Angular.js
PersonService.createPerson (vm.person) .then (function () { Abp.notify.info (app.localize ('SavedSuccessfully')); $ UibModalInstance.close (); }). Finally (function () { Vm.saving = false; });
I added all the entities, but I could not pass the image name to vm.person.
So it was successful to register the image name by modifying as below.
PersonService.createPerson ({ ArticleTitlePicture: vm.uploadedFileName }). Then (function () { abp.notify.info (app.localize ( 'SavedSuccessfully')); $ UibModalInstance.close (); }). Finally (function () { Vm.saving = false; });
But, I wonder if there is a good way to register an image name like vm.person.