Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

BPF is getting hidden

(0) ShareShare
ReportReport
Posted on by 115

Hi,

I have a BPF in 'Orders'. I also have one HTML webresource. On click of a button in that web resource, some calculations will happen and then the form will get reloaded. The problem here is, the BPF is getting hidden as soon as the form gets reloaded. There is not any code which is doing that. I don't want the BPF to be hidden.

PS: The BPF is coming back after one another manual refresh.

Please help on what needs to be done to overcome the issue.

Thanks.

  • LeoAlt Profile Picture
    LeoAlt 16,331 Moderator on at
    RE: BPF is getting hidden

    Hi partner,

    How did you refresh the form (parent page) in your web resource?

    I tried with "window.parent.location.reload()" and it worked well.

    <html>
        <head>
            <meta charset="utf-8">
            <title>Search In Google</title>
            </meta>
            <script type="text/javascript">
                function refresh(){
                    window.parent.location.reload();
                }
            </script>
        </head>
        <body>
            <button type="button" onclick="refresh()">Refresh</button>
        </body>
    </html>

    When I click the button and refresh the form, the BPF was still here.

    pastedimage1580266137865v1.png

    Best Regards,

    Leo

  • Mayank Pujara Profile Picture
    Mayank Pujara 830 on at
    RE: BPF is getting hidden

    Hii,

    are you using formContext.data.refresh (https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/formcontext-data/refresh)? in your web resource code?

    what particular line of code is refreshing the page in web resource, if this is done using unsupported JS code like (window.location.reload )  then I can guess that could cause this kind of isse..

     

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans