Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82389

Attaching an Image of a receipt when Adding a New Expense

$
0
0

Hi.

 

I have this application which I made that has an Entity named "Expenses". I have desighned the form to add and edit new expenses. But I am unable to put an Image uploader to the same ADD EDIT page.

What I want in simple terms is after a user enters the expense data in the ADD EXPENSE page, he should be able to add an Image by clicking the image upload and after selecting the image, he should click SAVE in the ADD EXPENSE form. And the data should be commited in the entity along with the Respective image uploaded.

I have created the following Entities :

* Expenses

* Expense_Reciepts (Generalization System Image)

The two entities are associated in a one to one. Where one Image is associated with one Expense.

And I have used a Nested dataview in the ADD EXPENSE form to display the Image Upload Button. The nested dataview source is by Association. (Association is the above mentioned Association)

But when Run, the image browse button stays there, nothing happens when clicked. But the other expense data fields work and saves as usual.

 

What Am I Doing Wrong??? or is there another way to do this?

 

 

Please Help


Viewing all articles
Browse latest Browse all 82389

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>