cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AndKanPA
Resolver I
Resolver I

How to modify forms in popups

Hello community,

 

how can I modify a entity form in a popup?

I have an entity with a subgrid with data from related entity.
In subgrid is a create button to create related entry. By clicking this buttton always opens a popup with entity form.

 

But how to add a button into this popup form?

 

I know how to add a button into webpage, but in such popups?

 

Here is a picture of my situation:

AndKanPA_0-1601288964398.png

Yellow in the background left: Main entity.
Blue in background left the subgrid of related entity records.
Violett in background right the clicked create-button.
Finally orange the place of new button in popup.

 

Thanks,

AndKan.

3 REPLIES 3

Hi @AndKanPA,

 

Popup is showing you an entity form in the iframe, so you don't have that many possibilities to modify it - you can use the Custom JavaScript field on the Entity form to add your js code and use that to add the button.

----------------------------------------------------
If you find this post helpful consider marking it as a solution to help others find it.
AndKanPA
Resolver I
Resolver I

of course this works ... I forgot ...

Thank you.

 

Which page template is behind or in use in iframe?

 

 

Best regards,

Andreas.

Hi @AndKanPA ,

 

There is no web template that we can modify for this popup, you can only modify entity form that is used for it. To identify which form is used (or to change it) open Entity Form Metadata of the form where you get the subgrid. Then find/create Entity Form Metadata record for the subgrid. Then there in the Grid configuration settings, you will see Create option which let you select Entity Form.

----------------------------------------------------
If you find this post helpful consider marking it as a solution to help others find it.

Helpful resources

Announcements
MPP IDEAS updated 768x460.png

Ideas

Discover ideas and concepts from users like you for how to use Power Pages and take your work to the next level.

Carousel News & Announcements

What's New in the Community?

Check out the latest News & Events in the community!

Top Solution Authors
Users online (3,000)