Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / FormRef on table exten...
Finance forum
Suggested answer

FormRef on table extensions not overriding as expected

Posted on by 34
I'm working on the following:
 
Table: PurchRFQCaseTable extension(RFQCaseID field)
Form: PurchRFQCaseTableListPage
Desired target reference form: PurchRFQCaseTable (copy)
EDT: PurchRFQCaseId
 
I'd like the reference form called when clicking the rfqCaseID from the list page to open the record in my new PurchRFQCaseTableCopy form. I've changed the FormRef property on the extended PurchRFQCaseTable to point to the new form. It is notable that this property is editable, but NOT a drop down. The original version of the RFQ is still opening when clicking the blue RFQCaseID field. Any suggestions? Can table extensions leverage the formRef property to point to an alternate form? 
  • Karli Mather Profile Picture
    Karli Mather 34 on at
    FormRef on table extensions not overriding as expected
    I did the test with a brand new form and table, referencing rfqCaseID and the desired menu item and it worked! 
  • Martin Dráb Profile Picture
    Martin Dráb 225,302 Super User on at
    FormRef on table extensions not overriding as expected
    As I said, I tried overriding FormRef and it worked correctly for me, therefore no overriding of jumpRef() was needed. I don't have enough information to reproduce Karli's problem and identify the cause.
     
    Karli, I suggest you follow what I did and tell us whether it works for you or not. If not, we have a much simpler test case and we can see what you're doing wrong or whether it's a problem with your environment. If it works, it'll be a confirmation that overriding of FormRef works, but there is something in your particular scenario. Then we'll need to continue the debugging, but we will be able to focus on the right problem.
  • Waed Ayyad Profile Picture
    Waed Ayyad 3,332 on at
    FormRef on table extensions not overriding as expected
    Hi,
     
    Did you try the Jump ref method?
     
    Thanks,
    Waed Ayyad
     
  • Karli Mather Profile Picture
    Karli Mather 34 on at
    FormRef on table extensions not overriding as expected
    Not yet
  • Suggested answer
    Waed Ayyad Profile Picture
    Waed Ayyad 3,332 on at
    FormRef on table extensions not overriding as expected
    Hi,

    Is your issue resolved?  If yes, mark the answers that helped you as verified.

    Thanks
    Waed Ayyad
  • Suggested answer
    Waed Ayyad Profile Picture
    Waed Ayyad 3,332 on at
    FormRef on table extensions not overriding as expected
    Hi,
     
    Ye, you can add Jump Ref to override already exists relation, try it and tell me if you still need help.
     
    Try to use JumpRef method as in the following blog:
     
    Thanks,
    Waed Ayyad
    If this helped, please mark it as "Verified" for others facing the same issue
     
     
     
  • Karli Mather Profile Picture
    Karli Mather 34 on at
    FormRef on table extensions not overriding as expected
    The issue isn't resolved neither the menu item nor the form name entered into the formRef table property changes the form behavior. Can jump ref be overriden for a primary key field with the table relation defined at the extended data type level (like pointing customer id not to open the standard customer form from the customer list page?)
     
     
  • Waed Ayyad Profile Picture
    Waed Ayyad 3,332 on at
    FormRef on table extensions not overriding as expected
    Hi,

    Is your issue resolved?  If yes, mark the answers that helped you as verified.

    Thanks
    Waed Ayyad
  • Suggested answer
    Waed Ayyad Profile Picture
    Waed Ayyad 3,332 on at
    FormRef on table extensions not overriding as expected
    Hi,
     
    try to use JumpRef method as in the following blog:
     
    Thanks,
    Waed Ayyad
    If this helped, please mark it as "Verified" for others facing the same issue
     
  • Martin Dráb Profile Picture
    Martin Dráb 225,302 Super User on at
    FormRef on table extensions not overriding as expected
    I tried a simple case with my own table (with a PurchRFQCaseId field) and going to details did use the menu item I specified in the table extension.

Helpful resources

Quick Links

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 284,753 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,302 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans