Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

How to save an inactive form

Posted on by 287

Hi,

I am trying to save an entity form but the form is in Read-Only state(Inactive) how can I achieve this, as the issue is that few of the fields are not saved due to which it is not reflected in Database & in views(CRM). 

Xrm.Page.data.entity.save(); is not working.

Thanks

Prashant Verma

*This post is locked for comments

  • Prashnat Verma Profile Picture
    Prashnat Verma 287 on at
    RE: How to save an inactive form

    Hi,

    No actually I cannot activate the record that's why I mentioned in Read-Only form.

    Thanks

  • Prashnat Verma Profile Picture
    Prashnat Verma 287 on at
    RE: How to save an inactive form

    Hi All,

    Thank you for replying.. yes I cannot update untill the record is activated. I am using console application to achieve the purpose, but was just curious if I can do it from front-end.

    Thanks

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: How to save an inactive form

    Hi,

    you can few options below.

    1. Excel import

    2. workflow/ plugin - activate record and deactivate it after saved ( but sometime it is not necessary to activate the record.)

    3. Console Applcation

  • Verified answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: How to save an inactive form

    Hi Prashant ,

    As far as I know  you can not  update the record until and unless you activate the record .

  • Suggested answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: How to save an inactive form

    Hi Prashant,

    In this case - the best practice would be to use a simple workflow.

    1. Create a workflow

    2. use change status option and change the record to Active

    3. Update the fields and again deactivate the workflow.

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans