Skip to main content
Community site session details

Community site session details

Session Id : 1evu4xkxTa4KGo0m3EWPST
Power Pages - General Discussions
Answered

Display contact address in custom table form (quickview form from contact)

Like (0) ShareShare
ReportReport
Posted on 13 Jun 2022 23:24:55 by 116

my portal requires a new user to provide a mailing address when they sign up, this is stored in address1 fields in the contact table. but when the user is filling out some other form I need to know if a service is required at the default mailing address or a different address.

 

To do this I would like to remind them of the address they previously provided. I have tried both a subgrid and a quickview form (this is my preference) . but after inserting these in my form neither of these show up on the portal.

 

I have added a table permission for contact as a child of my main table and selected the relationship between the two but have had no luck.

 

if anyone can offer any advice that would be great!

Categories:
  • Jeff_ccs Profile Picture
    116 on 14 Jun 2022 at 04:58:28
    Re: Display contact address in custom table form (quickview form from contact)

    So I may have spoken to soon.

    It does work on that page of the form, but when I try to advance to the next page I get these errors and the quickview form disappears

     

    "The form could not be submitted for the following reasons: You don't have the appropriate permissions"

    "Unable to find control with id 'QuickviewControl1655165636400' that is associated with the Label."

     

    I tried changing the permissions for contact to both write and append instead of just read but still get the same error

     

    edit: it may have been a local caching issue it seems to be working this morning

  • Jeff_ccs Profile Picture
    116 on 14 Jun 2022 at 03:27:04
    Re: Display contact address in custom table form (quickview form from contact)

    that did it! thank you!

  • Verified answer
    Fubar Profile Picture
    8,027 Super User 2025 Season 2 on 14 Jun 2022 at 03:18:56
    Re: Display contact address in custom table form (quickview form from contact)

    If you are creating a new record you need:

    • Contact Lookup on the form
    • Add a Metadata record tot he Form, set: 
      • Type: Attribute
      • Attribute: the Contact Lookup field
      • then halfway down the Page there is a Prepopulate Field section, set:
        • Type: Current Portal User
        • Form Attribute (dropdown to far right: Contact (contactid)

     

    edit: if doing an Advanced Form, you could probably also just have step that is a form with the fields on it but set the Record Source (on the Form Definition tab) to Current Portal User

  • Jeff_ccs Profile Picture
    116 on 14 Jun 2022 at 00:28:32
    Re: Display contact address in custom table form (quickview form from contact)

    I guess the answer to that is maybe.... I have "Associate Current Portal User" checked in that advanced form, but I don't know if that gets associated before the submit button is hit....

     

    I'm not married to the quickview form btw if anyone can think of any other way to show the contact mailing address of the current signed in contact on the form.

  • Fubar Profile Picture
    8,027 Super User 2025 Season 2 on 14 Jun 2022 at 00:20:36
    Re: Display contact address in custom table form (quickview form from contact)

    On the "other form" is the Contact lookup that the quickview is linked to populated?

  • Jeff_ccs Profile Picture
    116 on 14 Jun 2022 at 00:01:38
    Re: Display contact address in custom table form (quickview form from contact)

    @ragavanrajan I get the label from the quick view form (mailing address) but nothing else, no fields show u, not even field names if thats what you mean.

     

    I get two error in the console but I don't think either are related as I seem to get them on most of the portal sites I have built

     

    DevTools failed to load source map: Could not load content for https://myurl.powerappsportals.com/js/pcf/fluentui-react.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    DevTools failed to load source map: Could not load content for https://myurl.powerappsportals.com/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on 13 Jun 2022 at 23:36:43
    Re: Display contact address in custom table form (quickview form from contact)

    Hi @Jeff_ccs 

    Did you check the console? Can you spot any errors? Looks like you have properly set the table permission.  Just want to understand the quick view control doesn't show up? or the data in the control doesn't show up? 

     

    Hope it helps. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

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

Announcing our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 2

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 2

#3
surya narayanan Profile Picture

surya narayanan 35

Loading complete