web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Automatically assign k...
Power Apps
Unanswered

Automatically assign key pairs from two tables

(0) ShareShare
ReportReport
Posted on by 2
Hi all,

 

I want to develop an information form using a Canvas app and Dataverse. There the user should enter his information in predefined fields but also have the possibility to give own information. This is to be realized via a table, where the user can add columns as desired. Since it is a 1:n relation between the information form and the additional questions, the questions should be stored in a separate Dataverse table. So that the questions in the new table are automatically assigned to the information form with a key when the user enters his own information.

 

My question now is: How can I automatically map the ID of the respective questions to the ID of the information form?

 

Thanks in advance!

I have the same question (0)
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @guekjcow ï¼Œ

     

    I see a duplicate threat:

    Automatically assign key pairs from two tables - Power Platform Community (microsoft.com)

     

    Please do not post duplicate topics in a short period of time.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @guekjcow ,

     

    Instead of adding columns to another table and trying to relate this to the first table (this is not possible) I would flatten this model to allow you to add "N" questions and answers for the person and have them all relate to the original record information through the 1:N relationship.  Below is an example of how I would structure this.  Now you will not be able to control the type of field on these as the question and answer would both be Text... 

    Screen Shot 2021-11-04 at 4.36.57 AM.png

     

    Hope this helps.  Please accept if answers your question or Like if helps in any way.


    Thanks,


    Drew

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard