web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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)
  • 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 . 😀

  • Pranjali Profile Picture
    on at

    Hello @EmployeeOcta 

     

    Please confirm if @OliverRodrigues's answer helped you.

     

    Cheers!

    Pranjali

  • oliver.rodrigues Profile Picture
    9,368 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.

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 > Power Pages

#1
Fubar Profile Picture

Fubar 58 Super User 2025 Season 2

#2
Jerald Felix Profile Picture

Jerald Felix 27

#3
Lucas001 Profile Picture

Lucas001 25 Super User 2025 Season 2

Last 30 days Overall leaderboard