Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Delete Row Subgrid

Posted on by 403

how can i make user only add address with one originating type and one terminating type in subgrid?. i've tried using delete with web api, but erased the top row?

ask.PNG

*This post is locked for comments

  • Friyank Profile Picture
    Friyank 944 on at
    RE: Delete Row Subgrid

    when the requirement is to add only two line item in grid , then why to use grid , use simple tab-> section and add required attributes

  • Ferdiansah Profile Picture
    Ferdiansah 403 on at
    RE: Delete Row Subgrid

    why can not use javascript? i am less proficient in c #

  • Verified answer
    Ivan Ficko Profile Picture
    Ivan Ficko 1,380 on at
    RE: Delete Row Subgrid

    I suggest you to do plugin that triggers before entity create. You just need to check if there is no other entity created with that type, if there is already one entity with type that you just wanted to create just don't create it (throw plugin exception).

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans