web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Cant Edit a field on Form even if its "allow edit" every where

(0) ShareShare
ReportReport
Posted on by

Hello Friends,

Here i m very confuse about a field on Table  I make it "Allow Edit" on table and From also, but still i am unable to edit it .

Anyone can plz suggest what step i am missing here or there is any other way to make it editable.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    Form field controls which are based on a display method cannot be edited.

    Fields which have AllowEditOnCreate property set within the table are also locked for subsequent editing once the record is saved.

    Also form control editing can be switched easily during runtime, either directly through the control (if it has AutoDeclaration set, that is usually a giveaway for form control manipulation), or by setting access to the field within the form datasource.

    To summarize, blocking editing can come from a large range of sources, if you provide a concrete example in Standard AX form (not your customization, since we do not have that), we could tell what is the specific case for that (or investigate it yourself based on the above details).

  • Community Member Profile Picture
    on at

    sir,

    it has been set to AutoDeclaration from table property AllowEdit and AllowEditOnCreate are set to  yes.

    its not working

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    Then access is being set likely from code, just read through the form's code to search for clues.

    Search for the field and the control name in the form, or if the form is using a class to manipulate the design, in there as well. See if/where does it call the enabled method.

  • Community Member Profile Picture
    on at

    if (ACX_BidLine.RecId != 0 && ACX_BidLine.BidStatus == ACX_Status::Open)

       {

           btnActivate.enabled(false);

           Invitaiton.enabled(false);

           ACX_BidLine_ds.allowDelete(true);

           ACX_BidLine_ds.allowEdit(true);

           ACX_BidLine_ds.allowCreate(true);

           TimeEdit.allowEdit(true);

           HeaderTransporterBid_ToTime.allowEdit(true);

       }

       else

       {

           btnActivate.enabled(true);

           Invitaiton.enabled(true);

           ACX_BidLine_ds.allowDelete(false);

           ACX_BidLine_ds.allowEdit(false);

           ACX_BidLine_ds.allowCreate(false);

           TimeEdit.allowEdit(false);

           HeaderTransporterBid_ToTime.allowEdit(false);

       }

  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at

    Pasting code without context is not helpful.

    Does this mean you have found the root cause? I see entire datasource being locked for edit there, and also disabling fields individually too, which both could lock field editing.

    Kindly mark helpful answers next to each post to resolve the topic.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans