Skip to main content
Business Central forum
Suggested answer

Document Page and subform Page VScode

editSubscribe (0) ShareShare
Posted on by 25

I created a document page and added a subform as part just like Sales Order page. So, the issue is when I am creating new the Subform data remians the same.

Please help me out. I need my document page work like sales order page.

Thank You.


  • Suggested answer
    RE: Document Page and subform Page VScode

    Make sure you put the SubPageLink property and set the link with the card page which is highlighted below


    SubPageLink = "Document No." = FIELD("No.");

  • Suggested answer
    Krati21 Profile Picture
    Krati21 77 on at
    RE: Document Page and subform Page VScode

    Hi Rajesh,

    Have you defined SubPageLink property in the subform page properly, as it is defined in the Sales Order Page?


Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Sundar…

Industry experts answer burning questions directly from our amazing Community…

Enabling Copilot Case and Conversation…

Agents can easily recap an ongoing chat, transcribe a voice conversation…


Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 282,978 Super User

Martin Dráb Profile Picture

Martin Dráb 222,562 Super User

nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans