Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Set sub-grid business required

Posted on by 110

Hello,

I have a sub-grid on a contact form. Sub-grid take its information from contact person role entity. Is there any chance to make this sub-grid as a business required? However, javascript is not allowed.

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Set sub-grid business required

    Unfortunately you can not validate subgrid record in creation form of  parent entity, as you have to create parent record first and then only you can allow create subgrid record within update form.

    So answering your question you could think about to create default child record using plugin or workflow getting information from parent form itself.User also can update necessary information of the child record after creation of parent or you can use field mapping for that.

  • Suggested answer
    Xiong Chen Profile Picture
    Xiong Chen on at
    RE: Set sub-grid business required

    if your parent record didn't create, then none of children records can be created as well.

    please reform your business flow to add some checkpoints which will review whether children records are created

    you can using Workflow, Plugin to build the detail check logic

  • LuHao Profile Picture
    LuHao 40,872 on at
    RE: Set sub-grid business required

    Hi Tuomas,

    The sub-grid is equivalent to a view, and only plays the role of displaying records. Unless it is an editable sub-grid, it allows users to enter data.

    So you would like to make fields of editable sub-grid a business required, right?

    If so, just set the fields of the sug-grid entity as business required.

    For example, I set a field of Contact to business required, then this field in the Contact sub-grid also changed to business required.

    pastedimage1585639956213v1.png

    pastedimage1585639990716v2.png

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans