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 Pages / Many Questions ( conne...
Power Pages
Unanswered

Many Questions ( connexion, button, ... )

(0) ShareShare
ReportReport
Posted on by 10

Hello, as a beginner on Power Pages, I have a few questions.

  1. First of all, I would like to know if there is a way to retrieve information through a button click (for example, when a user makes a room reservation, on which room they clicked) in order to store it in a database.

  2. In a form where a date is required, I would like to set a minimum number of days and exclude weekends. Is this possible?

  3. Finally, on the login page, I would like to modify the information requested from the user in order to add more fields, but I can't find out how.

Thank you in advance.

Categories:
I have the same question (0)
  • Saud Ali Profile Picture
    812 Super User 2024 Season 1 on at

    Hi @Ruben26 ,

     

    1- Yes, you can retrieve information through a button click. When you're working with Power Pages it supports client-side scripting. There are couple of ways you can either bind it using jQuery or you can also use JavaScript for that. It depends how you want to make it done.

    2- I'm unsure, if there is any OOB way available to do this but other option that came to my mind is you can bind date selection with a custom validation where you can validate if user select weekend, you can show an alert message on screen and enforce user to select something else. But I would recommend having a look into Code Component Framework as well and you can design your custom widget as well.

    3- If you want to have your own custom login page that is supported in Power Pages Site, and you can design it according to your needs. Here is one example how to do that.  Custom Login Page | Power Pages 

     

    Thanks,

    Saud

     

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Ruben26 Profile Picture
    10 on at

    Thank you, but how do I synchronize and use JavaScript, code components... And is it possible to create a login page without using Azure?

  • Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at
    1. You probably need to provide more info with regards to exactly what you are wanting to do e.g. if you are starting on a entity List then you might do it as a create action, and then let the user select from a list of available times, but there are other ways to do it depending on the specifics.
    2. Yes, see my post in this thread https://powerusers.microsoft.com/t5/Power-Apps-Portals/Datepicker-change-event/m-p/880584#M10670
    3. I do not recommend making changes to the actual login/registration pages for local login, for B2C you can customize the B2C (in azure) and add additional claims mappings (azure and the portal) to get those extra field values pushed to the Portal.  You can add additional fields to the Profile page by editing the Profile Web Form on the Contact Table.
  • Ruben26 Profile Picture
    10 on at

    Thank you, I just have one last issue. When I set an ID as a foreign key in client mode, it displays a message saying that I don't have the rights, even though I have enabled all the permissions for the tables.

    Thank you, I just have one last issue. When I set an ID as a foreign key in client mode, it displays a message saying that I don't have the rights, even though I have enabled all the permissions for the tables.

    Ruben26_0-1687353978968.png

     

  • Saud Ali Profile Picture
    812 Super User 2024 Season 1 on at

    Hi @Ruben26 ,

     

    After enabling table permissions on form, have you created Table Permission record for Account entity? 

    As per screenshot, it seems table permissions are missing. Please add and it should work.

     

    This Add Table Permissions article explains how to do that. 

     

    Thanks,

    Saud

     

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @Ruben26 

     

    Please follow the instructions from @saudali_25 to set the proper table permissions. This is step 1. 

     

    Imp thing to note: You should assign an appropriate web role to your contact. 

    Official URL here:  

     

    This will help. 

     

    Hope it helps. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

     

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 64

#2
DP_Prabh Profile Picture

DP_Prabh 34

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 30 Most Valuable Professional

Last 30 days Overall leaderboard