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 :
Finance | Project Operations, Human Resources, ...
Answered

Form in tab on form with ability to add new

(0) ShareShare
ReportReport
Posted on by 313
Hello everyone,
 
I have a request from my users to add the ability to add multiple workers to one NCR (It's what we use for defects on our machines)
So let's say we have NCR 00001, users want to be able to add multiple workers to it who have worked on it
 
I have a table called InventNonConformanceTable that holds all the NCRs.
I have created a table called InventNonConformanceWorker and added 2 fields
- InventNonConformanceID
- HCMWorkerRecId
 
I created a form called TCI_InventNonConformanceWorker and put my table InventNonConformanceWorker as the datasource
I then created a display menu item called TCI_InventNonConformanceWorker
I added a tab to my main form with pattern Simple List and Details
I added my form part and it looks okay, but I want the ability for users to be able to add more than just one worker responsible.
How can I achieve this?
There is no New button for this form part.  Just a new button on the main from to create a new NCR
 
I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    236,955 Most Valuable Professional on at
    Form in tab on form with ability to add new
    Use Toolbar and List pattern for your tab page. There you'll have and action pane (toolbar) above the grid.
  • GirishS Profile Picture
    27,825 Moderator on at
    Form in tab on form with ability to add new
    Hi Andrew,
     
    What is the form pattern you are using for the new tab page?
    If the pattern is simple list details then it will have action pane with new and delete button.
    For troubleshooting you can assign each pattern and identify which form pattern will suits your scenario. Below the form design on visual studio you will see the list of controls to be added for the selected pattern.
     
    Thanks,
    Girish S.
  • Andrew Huisman Profile Picture
    313 on at
    Form in tab on form with ability to add new
    This is me trying the toolbar and list pattern for that tab page

    The new button at the top is part of the main from, not the tab....

     
    Here is my tab page
  • Verified answer
    Martin Dráb Profile Picture
    236,955 Most Valuable Professional on at
    Form in tab on form with ability to add new
    You don't see any button above your grid because you didn't add any. You need to explicitly add buttons to your FormActionPaneControl1. I recommend you look at the link I gave you, locate the example in Visual Studio and look at how it's implemented.
  • Andrew Huisman Profile Picture
    313 on at
    Form in tab on form with ability to add new
    Martin,
     
    As usual, you have helped me figure out the issues I run into. Thanks for all your help.  I added an Add and Remove button and it's working perfectly
     
  • Martin Dráb Profile Picture
    236,955 Most Valuable Professional on at
    Form in tab on form with ability to add new
    I think that Microsoft could generate a lot of these controls automatically, but unfortunately it's not the case.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 724 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 580 Most Valuable Professional

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 554

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans