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 :
Microsoft Power Up Program Community
Unanswered

Generative Pages Edit Button

(1) ShareShare
ReportReport
Posted on by 4
I'm following the video on making Generative Pages in the Plan Designer 2 Applied Skills Course - Video 5. All's going well until I get to the Edit button. Everything seems to work, but it doesn't update the information. It's the only thing that hasn't worked for me while creating this page and app. Here is the prompt that I used:
 
Add a button with an edit icon to the Check-outs and Check-Ins grids. When the button is pressed, display an Ok Cancel modal on the screen that allows the user to change these field values: Vehicle Name, Contact Name, Reservation Start Date, and Reservation End Date. If the user presses the OK button, save the changes to the Reservations table and Dataverse, close the modal and refresh the grids to reflect the updated changes. If the user presses the Cancel button, then close the modal and do not refresh the grids.
 
I did make some changes to the original because I was having issues with customers. It didn't like that term and wouldn't give me any data or just created new data not related to the Reservation Table.
 
I'd like to know how to fix this, so the next time it happens, I at least know what to look for.
 
Thank you,
Mona
I have the same question (0)
  • chiaraalina Profile Picture
    1,618 Super User 2026 Season 1 on at
     
    Do none of the fields update after you click OK, or only certain ones? Does this include the Start Date and End Date fields as well? Do they work?

    Also, did you do the additional step after that prompt to create the dropdowns?
     
    Thanks!
  • SlantedMuffin Profile Picture
    17 on at
    I've also had challenges with this section. Have been back and forth through the steps several times and tried starting from scratch, but something always going slightly wrong. 

    1. One issue, which i've now resolved was the Check-In button not working. This was due to the Checked in value being wrong in the code



    2. For the check-out/in edit buttons, it initially didn't populate the vehicle name and customer dropdown options, which is now resolved. However, I'm stuck making the Vehicle Name and Customer fields to prepopulate with the current values and when clicking OK button data is not saved and updated. On a previous attempt I did have the Start and End Dates updating, but I never managed to get dropdowns to appear on that version.
     


    Side note: On some attempts Copilot decided to hard code the values in for the dropdown, which you wouldn't guess if you don't look at the code screen.
  • venturemavenwill Profile Picture
    1,193 Super User 2026 Season 1 on at
    Hey guys. 
     
    Thanks for the feedback. In terms of Copilot hard coding (and hallucinating) the choice values, could you try to ask Copilot to use the global choice you created? 
     
    Cheers,
     
    William
  • GB-07032051-0 Profile Picture
    2 Microsoft Employee on at
    I'm having these same issues.  I've rebuilt 3 times, completely resetting the environment and still the same problem occurs.   It never is able to save the vehicle or customer to the dataverse.    The date works before creating the drop downs but after that the dialog box won't close.   I've tried working with the agent and it just keeps going in loops and never gets anywhere near a solution even though it confidently tells me it definitely has the right answer this time...    I've also opened copilot and tried to get some solutions there.   It was a bit more detailed and explained things but ended up getting confused about the power up program environment and every solution ended up in the same place.   I finally asked it to provide some code for the handledialogok function but now the editor is messed up and has red lines all over so I can't save.   I started a new generative page with only the first prompt to create the basic grid, opened the editor and red lines everywhere.    It seems this Program is a bit of a mess still.   The video they created makes everything look smooth but the system is not very reliable and often very slow and laggy and I assume is getting corrupted.   I hope this is all fixed soon as it's wasted a lot of my time and I really would like to learn this but the frustration is really growing.   I wish you all luck and will be back at some point to try again.
     
  • CU11031418-0 Profile Picture
    4 Microsoft Employee on at
    I am having similar issues. when working through the generative pages the AI just stopped making the changes I was prompting. i would just get an error that that it could not generate a response. I tried to start over and even deleted the model driven app with the generative page that I had started to create. now when i try to go into my model driven app to work through the generative pages portion I just get an error message - "An error has occurred: Request failed with status code 400. Not sure where to go to correct this and try to start this module over
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Microsoft Power Up Program Community

#1
timl Profile Picture

timl 66 Super User 2026 Season 1

#2
Hammed Profile Picture

Hammed 33

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 17 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Introduce yourself!