Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Competitors table from Opportunities (opportunitycompetitors / opportunitycompetitors_association)

(0) ShareShare
ReportReport
Posted on by 20

I would like to add columns to the opportunitycompetitors table, but it is not visible.

I want it to be possible to classify the competitors in each opportunity, through columns like "incumbent" and "preferred".

Is there a way to do this or something similar?

  • Suggested answer
    Mohamed GRAIB Profile Picture
    Mohamed GRAIB 2,494 Super User 2024 Season 2 on at
    RE: Competitors table from Opportunities (opportunitycompetitors / opportunitycompetitors_association)

    Hi blearnav,

    Yes exactly, I tested it, and it's related to one opportunity.

    In this case, I'll search another solution with a custom entity.

    Regards,

  • blearnav Profile Picture
    blearnav 20 on at
    RE: Competitors table from Opportunities (opportunitycompetitors / opportunitycompetitors_association)

    Hi Mohamed Graib,

    This way it is possible to add the other items of the opportunity table, but only to view and not edit them directly.

    If you display directly in a section (opportunity details) all items from competitors will be shown, but not filtered on the current opportunity.

    And the second point would be the items related to this competitor, which is not possible to edit in grid line.

    thank you again very much for your efforts!

  • Suggested answer
    Mohamed GRAIB Profile Picture
    Mohamed GRAIB 2,494 Super User 2024 Season 2 on at
    RE: Competitors table from Opportunities (opportunitycompetitors / opportunitycompetitors_association)

    Hi @blearnav

    The solution is : 

    Create a field in the competitor entity with the type : 

    - Lookup (Table Opportunity) as shown in the figure below : 

    pastedimage1683724751416v1.png

    Then, Edit your competitor view, The opportunity table will appear as shown in this figure : 

    pastedimage1683724806997v2.png

    Hope that's helpful for you ! 

    Please mark answers as verified if that's resolve your problem ! 

  • Suggested answer
    Mohamed GRAIB Profile Picture
    Mohamed GRAIB 2,494 Super User 2024 Season 2 on at
    RE: Competitors table from Opportunities (opportunitycompetitors / opportunitycompetitors_association)

    Hi blearnav,

    Yes, I see that you cannot add the fields of opportunity in the competitor view.

    I 'll see if I can propose you another solution to differentiate between your competitors

    Thank you !

  • blearnav Profile Picture
    blearnav 20 on at
    RE: Competitors table from Opportunities (opportunitycompetitors / opportunitycompetitors_association)

    thanks for the help!

    The problem here is that the opportunity table is not being displayed, which makes it impossible to choose the columns that I had previously created in opportunities (Preferred, incubent, etc.)

    pastedimage1683721794700v1.png

  • Suggested answer
    Mohamed GRAIB Profile Picture
    Mohamed GRAIB 2,494 Super User 2024 Season 2 on at
    RE: Competitors table from Opportunities (opportunitycompetitors / opportunitycompetitors_association)

    Hi blearnav, 

    So I tested it and It wworks correctly. Please follow these steps : 

    1. Create a many to many relationships between opportunity and competitor 

    pastedimage1683719844403v1.png

    I recommend that you give a custom name of the relatioship (Display mode) that permit you to differentiate between your custom relationship and the pre-buid relationship. 

    Then, don't forget to select searchable = Yes and in the display option, select "Custom label" 

    In my case, my custom label is "Test". 

    2. Navigate to your opportunity FORM. 

    In my case I added a new Tab, then I added a sub grid in the Section as shown in this figure : 

    pastedimage1683720043281v2.png

    Then click on Switch to classic as shown in the figure below : 

    pastedimage1683720083246v3.png

    Now, in the classic FORM, you must configure your Subgrid, you will search your custom label of relationship as shown in this figure 

    pastedimage1683720200973v4.png

    Click on Save and publish. 

    I recommend that you delete your first subgrid and re create it as described in these steps. 

    Now, Just navigate to your apps : 

    pastedimage1683720295708v5.png

    And you 'll show your records ! 

    Hope that's helpful for you. 

    Please mark answers as verified if that's reolve your problem ! 

    Best regards, 

  • blearnav Profile Picture
    blearnav 20 on at
    RE: Competitors table from Opportunities (opportunitycompetitors / opportunitycompetitors_association)

    Hello Mohamed Graib,

    I would be glad if you could test this too, because I followed exactly the tutorial you sent me and this table is not shown in the list of related tables either.

    Thank you!

  • Suggested answer
    Mohamed GRAIB Profile Picture
    Mohamed GRAIB 2,494 Super User 2024 Season 2 on at
    RE: Competitors table from Opportunities (opportunitycompetitors / opportunitycompetitors_association)

    I think that you can create a custom N:N relationship.

    Just, you must give a different name to the custom relationship that permit you to differentiate the custom and th OOB relationship.

    I didn't test the solution. I can try it and give you more details if you want !

  • blearnav Profile Picture
    blearnav 20 on at
    RE: Competitors table from Opportunities (opportunitycompetitors / opportunitycompetitors_association)

    Hi Mohamed Graib,

    thanks again for your answer.

    It is not possible to change the default settings of this N:N relationship.

    And if I create another relationship between the same tables, wouldn't it be a bit messy?

  • Suggested answer
    Mohamed GRAIB Profile Picture
    Mohamed GRAIB 2,494 Super User 2024 Season 2 on at
    RE: Competitors table from Opportunities (opportunitycompetitors / opportunitycompetitors_association)

    Hi blearnav,

    Yes it's normal because it's a many to many relationship,

    You need just to follow this link

    d365demystified.com/.../

    Hope that's helpful

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,642 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans