Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Multiple requirement to work on.

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.

Super User II
Super User II

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:

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:

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.

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.

Power Apps Portals Super User

Oliver Rodrigues


Hello @EmployeeOcta 


Please confirm if @OliverRodrigues's answer helped you.




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

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Users online (2,087)