• Hint / Tooltip for how to use Power FX within Power Pages

    Power Pages supports using Power FX in a couple of places. One of which is the Iframe URL of the Iframe compontent.


    When editing the Iframe URL there is a pop-up stating "This component supports Power Fx. Try it". By clicking on "Try it", the Power Fx formula input opens. Even if a URL was previously set for the Iframe, the formula input is blank at first - which makes sense if you want to replace it with a formula.

    However, inputting the formula reveals a problem. Although the syntax highlighting works, the formula does not. Instead, it's interpreted as a text - in this case as a URL - such that the browser tries to open the formula as a URL, which obviously does not work.

    The issue is that for Power Pages to know you're using a formula, you need to put a "=" at the beginning of it. This is not explained however and due to the fact that the syntax highlighting works regardless makes this very unintuitive.

    To address this, I would suggest to either:

    1. Automatically add an "=" (for this case specifically), since the formula input is cleared upon opening for the first time anyway.
    2. Add a hint / popup, informing the user that in order to use a Power Fx formula, they have to start with an "="
    3. Add a help / info button that sends the user to the respective article (https://learn.microsoft.com/en-us/power-pages/configure/power-fx) about Power Fx in Power Pages

    Also, please disable syntax highlighting if the "=" is not present.