Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Unanswered

Render the list associated with the current page issue

(0) ShareShare
ReportReport
Posted on by

Hi,
We are trying to render a custom list associated with the current page (based on the code provided render list Microsoft url ). Our list has a create basic form as shown on the attached file (with Grid configuration). However, the value returned by the entitylist.create_enabled is always false. We don't want to open the form in a new web page. We would prefer opening a modal pop-up window form like with the out-of-the-box list with a create button. How can we achieve this?

Your help would be greatly appreciated. @nickdoelman 

  • Nick.Doelman Profile Picture
    45 Most Valuable Professional on at
    Re: Render the list associated with the current page issue

    For some reason the line:

    <div class="collapse navbar-collapse" id="entitylist-navbar-{{ entitylist.id | h }} ">
    is configured to collapse the whole section (including the search, create buttons)
    And I don't see a toggle to un-collapse it (but I haven't look too hard)
    Changing it to:
    <div class="navbar-collapse" id="entitylist-navbar-{{ entitylist.id | h }} ">
    Should render those buttons, including create.
    That being said, the button for create in that code is configured to use the "Web Page for Create" lookup that you will see on the general tab of the List configuration in PPMA, unfortunately *not* from the grid configuration, so it will not render the modal version of the form.
    You may have to instead create a custom form and add code to the entity list code to show a modal form. This will take a bit of custom JavaScript/CSS/WebAPI magic, but should be doable.
     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >