Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Position of the record keep changing everytime user save the record

Posted on by 50

I customize a new form with grid in design. Everytime user save the record, position is not retain to the current record. It keeps going to the top of the grid.

I don't write to force datasource research, refresh, or reread

And I also try to use positionToRecord and positionToRecordValue. It doesn't work.

Any suggestion, how can I retain a position?

  • Suggested answer
    GirishS Profile Picture
    GirishS 27,832 Super User 2024 Season 1 on at
    RE: Position of the record keep changing everytime user save the record

    Hi Atiraj,

    There is no code needed to keep the cursor at the current record. It will work automatically without any code.

    Compare with standard form and see if you missed something.

    If it doesn't work use findRecord method to retain the position.

    Thanks,

    Girish S.

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans