Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

unable to upload attachment on case before it is saved

Posted on by 790

dear all

i cant upload attachment to a new case while i am filling it, i have first to save it, before saving, it is not giving me any option to add attachment.

please check the below screenshot.

thanks,

2018_2D00_10_2D00_12-13_5F00_02_5F00_18_2D00_Case_5F00_-New-Case.png

*This post is locked for comments

  • Suggested answer
    Mahadeo Matre Profile Picture
    Mahadeo Matre 17,021 on at
    RE: unable to upload attachment on case before it is saved

    Ahmad,

    As above already mentioned it is by design and notes are 1:N relationship with entity, so need to save record first.

    If you still want to attach notes before saving record, you can achieve with custom development, technically it will save record first and then attach notes to record but on single save click.

    You need to create custom HTML web resource, which will have text box and file attachment control, you can upload file and add notes in HTML web resource. When main record is saved, you need to get note and attachment from web resource, and create note and attachment to main record

    hope this will help.

  • Verified answer
    Mahadeo Matre Profile Picture
    Mahadeo Matre 17,021 on at
    RE: unable to upload attachment on case before it is saved

    Ahmad,

    As above already mentioned it is by design and notes are 1:N relationship with entity, so need to save record first.

    If you still want to attach notes before saving record, you can achieve with custom development, technically it will save record first and then attach notes to record but on single save click.

    You need to create custom HTML web resource, which will have text box and file attachment control, you can upload file and add notes in HTML web resource. When main record is saved, you need to get note and attachment from web resource, and create note and attachment to main record

    hope this will help.

  • Ahmad Saud Profile Picture
    Ahmad Saud 790 on at
    RE: unable to upload attachment on case before it is saved

    thanks Pravin

  • Suggested answer
    Pawar Pravin  Profile Picture
    Pawar Pravin 5,227 on at
    RE: unable to upload attachment on case before it is saved

    Hi Ahmad,

    As suggested above, this is as per designed by CRM architecture and it should be. Only after creating record it will allow you to create attachment.

  • Verified answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: unable to upload attachment on case before it is saved

    Hi Ahmad ,

    This is because notes is different entity which has 1:N relationship to case ,so until and unless you create the the case you can not refer any note for the case. This is normal like you can not add subgrid in the create form which has 1:N relationship .

    And off course above already mentioned this is by designed.

  • Suggested answer
    Flydancer Profile Picture
    Flydancer 1,332 on at
    RE: unable to upload attachment on case before it is saved

    This behaviour is by design and can't be changed in a supported way.

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

Featured topics

Product updates

Dynamics 365 release plans