Open Custom Page on command button click and pass parameter in model driven app power apps

Поділитися
Вставка
  • Опубліковано 14 гру 2024

КОМЕНТАРІ • 17

  • @Fethur
    @Fethur Рік тому +3

    I just want you to know that I've been through almost 30 different tutorials and none of them actually worked. I've tried everything with the latest update. This is my first year in this profession (and first time doing this feature) and YOU SIR. YOU made it work. Thank you!!

  • @cristianealencar4732
    @cristianealencar4732 Рік тому

    Thank you so much for this. It worked like a charm. I've been trying to find a way to bulk update records without using the On Demand Flows, as it does not allow us to add lookup fields as parameters. And this will be the solution. Thanks a lot.

  • @josephlim2064
    @josephlim2064 2 роки тому +1

    Hi Sanjay, if the button is added on the main grid, is it possible to pass the viewid or the url to the custom page via the javascript?

  • @nilokillian
    @nilokillian 2 роки тому

    This is absolutely awesome , exactly what I was looking for

  • @tristangeoffroy9286
    @tristangeoffroy9286 2 роки тому

    Thank you Sanjay, very explicite. I notice you also struggle with the cascading refreshes needed: js, canvas, model driven app, which is tedious when debugging. Is it the only way to create dialog pages … like standard ones of the product itself ?

  • @pobosbos
    @pobosbos Рік тому +2

    Does anyone have issues with the Param/variable being empty, the ID goes missing somewhere between the JavaScript and the Param statement.

    • @magnusjeppesen
      @magnusjeppesen Рік тому

      I have the exact same issue!
      The parameters are available in the javascript, but nothing is passed to the custom page. There's no issue when I make almost the same setup in a Main Form, but when doing it on a Main Grid, the parameters are lost somewhere between the javascript and the custom page.
      I even tried to make a static variable in the javascripts, which wasn't passed into the app.
      Also tried making a static string parameter on the Main Grid Command Button configuration, which also wasn't passed into the custom page.
      Any ideas?

  • @johnjanis714
    @johnjanis714 2 роки тому

    This is really helpful. I have a few projects this will be great to use in. Thank you!

  • @AnthonyFernandoTufiñoArmijos

    Thank you so much and have a nice day!!

  • @edwin_sony
    @edwin_sony 11 місяців тому

    Hey brother I'm facing an issue that i migrated a solution which contains the power page from one environment to another environment which will work on a button click, for which i used a smart dialog button from smart ribbon buttons. Well it worked good in previous environment but in the new environment its not working on the button click , I exported and imported the solution that contains the page and also the solution that contains the ribbon button. Can you help please?

  • @777_lucky_s
    @777_lucky_s 2 роки тому

    Hi
    Please explain completely (how to put the lable.. ext) for biggeners

  • @magnusjeppesen
    @magnusjeppesen Рік тому

    Really awesome :)
    However when trying to do thin on the Main Grid (instead of Main Form), I cannot pass the parameters to the CustomPage
    The parameters are available in the javascript, but nothing is passed to the custom page. There's no issue when I make almost the same setup in a Main Form, but when doing it on a Main Grid, the parameters are lost somewhere between the javascript and the custom page.
    I even tried to make a static variable in the javascripts, which wasn't passed into the custom page.
    Also tried making a static string parameter on the Main Grid Command Button configuration, which also wasn't passed into the custom page.
    Any ideas?

    • @kkyang7515
      @kkyang7515 11 місяців тому

      I am also having trouble with passing data, even if it's main form...

  • @clehoe1
    @clehoe1 5 місяців тому

    Hello,
    dont know if someone is still reading this. I followed the exact same steps to get multiple records in my custom page but it doesnt work i dont get them. Someone has a solution to this?

  • @sustainbhoomi
    @sustainbhoomi Рік тому

    how to create collections for dataverse table.

  • @satheeshkarunanidhi9573
    @satheeshkarunanidhi9573 2 роки тому

    Thanks 😊