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 / Multiple requirement t...
Power Pages
Unanswered

Multiple requirement to work on.

(0) ShareShare
ReportReport
Posted on by

Hello All Experts,

Below are some requirements which i need to perform.

1. I need to add multiple custom buttons on the form.

2. I need to pass the query string from one page to another when clicked one of the custom button.

3. I need to read the same querystring on the other form.

4. Based on the querystring i need to fetch the data from cds and then show it on all the fields present on the form. 

 

It will be more appreciable to have this in the system.

Categories:
I have the same question (0)
  • oliver.rodrigues Profile Picture
    9,425 Most Valuable Professional on at

    Hi, everything below mentioned is achievable with a little bit of code:

     

    1 - if you have an OOB entity form, you can add JS adding the buttons/custom html elements, for example:

    var myButtonLabel = "{{ snippets['My Button Label'] }}"; // (optional) you can use a Content Snippet or hardcode the button label
    var myLink = "/my-page"; // you can hard-code your page, or (preferably) you can add into a site marker
    var myButton = "<a class='btn btn-primary' style='margin-top:12px' href=" + myLink + ">" + myButtonLabel + "</a>";
    
    $("#<field you want to place the button after>").parent().append(myButton);

    2 - you can use native JavaScript functions to read the URL: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams

    3 - you might consider Liquid code, in your case I would create a custom Web Template (and Page Template) and add your code there. You can read the query string parameters and render whatever you need: https://docs.microsoft.com/en-us/powerapps/maker/portals/liquid/liquid-objects

    4 - via Liquid you can run FetchXML to retrieve CDS data

    ------------

    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.

  • Pranjali Profile Picture
    Microsoft Employee on at

    Hello @EmployeeOcta 

     

    Please confirm if @OliverRodrigues's answer helped you.

     

    Cheers!

    Pranjali

  • EmployeeOcta Profile Picture
    on at

    Actually i am new in this , i need to first try above mention options and then will be able to accept as solution.

     

    but for the time being highly likable and appreciable content . 😀

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!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 26 Super User 2026 Season 1

#2
Lucas001 Profile Picture

Lucas001 19 Super User 2026 Season 1

#3
CN-06091549-0 Profile Picture

CN-06091549-0 18

Last 30 days Overall leaderboard