0

In Dataverse, I have a school table with the following columns:

School Teacher Grade

School1 Teacher1 4 School1 Teacher2 5 School2 Teacher3 4 School2 Teacher4 5

I want to create another table (form 1) where I would like to bring all these details using lookup as below:

FormName School Teacher

XYZ School1(lookup school table and select) Teacher2 (lookup school table and select)

but I am unable to do this in Model Driven App. I tried using lookup as above, but it gave School Name for both school and teacher.

Any help is appreciated. Thank you.

1 Answer 1

0

The req you wish to achieve and your implementation is not the correct way. When you do a lookup (in background relationship with school Table) you do either 1:N or N:1 in your case it is N:1 (school Teacher:School) it will refer to a record and will show primary name of record (in your case school name).

your requirement can be achieved by creating just one lookup to School but adding filter criteria to lookup so that it will show you only those records that match school name and Teacher.

Now when you select such lookup it will show Primary Name of school record(school name).

There is feature is Model driven App called quick view form, this will show all the details of School Table Record.

Additional article for ref

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.