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

Community site session details

Session Id :
Power Up Program - Build A Canvas App
Unanswered

Add a Product from a Price List Item to an Opportunity

(0) ShareShare
ReportReport
Posted on by 90
Hello,
 
In a canvas app, how to:
1) Display in a gallery the list of products in a Price List
2) the user the selects a product
3) This product is added to the Opportunity.
 
Should I use patch function or relate?
 
Your guidance would be much appreciated.
 
Thanks
Categories:
I have the same question (0)
  • AsheshR Profile Picture
    90 on at
    Add a Product from a Price List Item to an Opportunity
    To clarify on this question:.
    There is the Dynamics 365 Sales app.
    Where there is Price List and Price List Items.
     
    I want to add a price list item to an opportunity product table.
     
    Trying to write a patch function. it is coming very complex.
     
    simplest is to use a form.
    which is working. but getting issues when creating a new record via the form after saving 1 record.
  • IS-11091323-0 Profile Picture
    17 on at
    Add a Product from a Price List Item to an Opportunity
    What issue are you facing while saving records using form?

    I'll suggest you to reset the form, once a new record is created.
  • AsheshR Profile Picture
    90 on at
    Add a Product from a Price List Item to an Opportunity
    It says : No item to display whilst selecting other gallery price list item to add to an opportunity. after saving a record.
     
    how to do the reset?
  • IS-11091323-0 Profile Picture
    17 on at
    Add a Product from a Price List Item to an Opportunity
    There is a Resetform(Form_Name) function which you can use on OnSuccess Property of Form.
    Make Displaymode of Form to New, In case you want to create new records everytime.

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

Leaderboard > Microsoft Power Up Program Community

#1
timl Profile Picture

timl 182 Super User 2025 Season 2

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 154 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 107 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics