web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / I can Patch Potential ...
Power Apps
Answered

I can Patch Potential Customer (_customerid_value) to a quote record but I cannot access it in my App

(0) ShareShare
ReportReport
Posted on by 95

When I create quotes in PowerApps I can succesfully assign the Customer as an existing Account, but when I access the quote in my Apps I cant retrieve the Customer using ThisItem.'Potential Customer (_customerid_value)'

 

In my patch function I set 'Potential Customer (_customerid_value)': to a variable which contains the customer record. This works perfectly as I can see the customer when I export to PDF, But when I try to display the quote information in a gallery or a Screen I cant access it. In Dynamics interface and my word template it uses the field customeridname but that is not available in PowerApps. 

I have the same question (0)
  • Verified answer
    Fubar Profile Picture
    8,505 Super User 2026 Season 1 on at

    As Customer can be either account or contact, in the Gallery you have to check isBank and isType and then display the appropriate value of the account/contact

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/working-with-references#show-the-fields-of-a-customer

    If( IsBlank( ThisItem.'Company Name' ), "",
     IsType( ThisItem.'Company Name', Accounts ),
     "Account: " & AsType( ThisItem.'Company Name', Accounts ).'Account Name',
     "Contact: " & AsType( ThisItem.'Company Name', Contacts ).'Full Name'
    )

     

  • dee2005 Profile Picture
    95 on at

    Thank you @Fubar ,

     

    This works

  • pushpa2 Profile Picture
    4 on at

    How can I acheive the same issue to qualify the lead from leads to Opportunities using power apps

     

     

  • dee2005 Profile Picture
    95 on at

    Can you elaborate a bit more?

  • pushpa2 Profile Picture
    4 on at

    When we qualify the lead the data will move to Accounts,Contacts and Opportunities. Samething I want to acheive in Power app.I have written Patch function for Qualify button.The data is getting is saved in Accounts and Contacts.But in Opportunities  the error is showing 'customerId value required' means Potential customer.

     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 491

#2
WarrenBelz Profile Picture

WarrenBelz 407 Most Valuable Professional

#3
11manish Profile Picture

11manish 331

Last 30 days Overall leaderboard