cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LauM
Helper I
Helper I

Initialize field and add record linked to previous record selected

Hi,

 

I have two tables in CDS:

  • Bet
  • Games

A bet can contain many games, and there is relationship between them.

 

I generated a canvas app.

On the browse screen, I can click on  a Bet. Then, it opens the details screen where it shows the Bet Id, and I added a gallery that displays all the games related to this Bet id.

 

The screens and forms:

  1. BrowseScreen1, gallery: BrowseGallery1 : to select the desirect Bet
  2. DetailScreen1, DetailForm1 and gallery: Gallery1 : to display the Bet ID and his related games
  3. EditGameScreen, EditGameForm: to add new games linked to previous Bet selected

 

I try now to add new games linked to this bet, but I don't succeed for the moment.

I added a new '+' icon on the DetailForm1, that navigate to a new form to create my new game, but I don't know how to initialize data in this new screen so the new game recorded will linked to the original  bet chosen on the BrowseScreen1 and then followed on the DetailScreen1.

 

1/ How can I initialize the value of the field Bet that I added on the new form EditGameForm?

2/ How should I do to then record this new game linked to the original Bet selected?

 

191.png

192.png193.png

1 REPLY 1
LauM
Helper I
Helper I

Does anyone knows if what I want to do is possible?

I was wondering because the data is carried in two forms before being put in my final form.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,508)