简体   繁体   中英

How to refresh a parent form after a plugin is executed on a child window?

I have a plugin that updates a value in the Contact Form after an Email has been created.

I need to refresh the Contact form after this plugin runs without having to close and reopen the form to see the update. Is this possible ?

You can't use a plugin to force a refresh in a client window. Plugins run on the server, and don't have a way to communicate directly with the client that caused the update.

But, if you have some sort of Ribbon button on the Contact form that creates the e-mail, you could refresh the page from the javascript.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM