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 / Customization of power...
Power Pages
Answered

Customization of power page list

(1) ShareShare
ReportReport
Posted on by 8

I am trying to achieve following requirement:

 

a) Add approve and reject button in a list

b)On click on approve and reject button open a dialog box.

c)On click of save button which appears on dialog, change a column value exists in the table of data verse.

 

Please help me achieving same.

Attached the requirement snapshot for your reference.

pp.PNG
Categories:
I have the same question (0)
  • Madhankumar_L Profile Picture
    75 Microsoft Employee on at

    Hello @mnadil,
    I have understood your need exactly, to achieve your need you should follow the below steps!
    1. First you go to the power pages design studio.

    2. Select the webpage where you have placed your list view and then open edit code in 3 dots.
    3.In vs code you have see the 3 files Html file,javascript file and css file.

    4. You should create a <th> element tag for both heading. And also for <td> element for icon or button for approve and reject. eg(

    $(document).ready(function(){
        $("table>thead>tr").append("<th>heading</th>");
      });

    )

    Note: You must write javascript code using jquery.
    5.And you also create a modal popup for confirmation to create this you have to write the code for modal popup using javascript.
    6.Finally in modal popup button you configure a ajax create javascript code, you don't need to write your own, this code available in microsoft official document.
    https://learn.microsoft.com/en-us/power-pages/configure/write-update-delete-operations#wrapper-ajax-function

    7.Make sure you have to change the entity name in webapi.

    8. Before you do the above steps you first create webapi configuration in site settings.

  • Madhankumar_L Profile Picture
    75 Microsoft Employee on at

    @mnadil Kindly accept my reply if you thought useful means.
    Thank you!

  • mnadil Profile Picture
    8 on at

    @Madhankumar_L  Thank you for your reply.

    Can you please elaborate a bit on step number 7 & 8

    Do I need to create any Web API to achieve this?

     

    I am very new in power page platform, detail  explanation will help me a lot. 

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

  • Verified answer
    Madhankumar_L Profile Picture
    75 Microsoft Employee on at

    Yes @mnadil you have to create a web api's for transferring data to your website from data verse in site settings.
    Screenshot (75).jpgThis video will help you to find your exact need.

    https://youtu.be/QVrghtbUIVY

    If this solution is helped you means kindly accept this solution.Glad to help you more...

     

    Thank you...

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 61

#2
Valantis Profile Picture

Valantis 46

#2
11manish Profile Picture

11manish 46

Last 30 days Overall leaderboard