Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

How to change AllowEdit property

Posted on by 35

Hi Guys

In the CustTable form design I have the  Stringedit field i can't able to edit the text, I need to change the allow edit property from No to Yes.

pastedimage1576489143919v1.png

  • Verified answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: How to change AllowEdit property

    Display methods can only display data, they can't handle data input.

    Edit methods can handle data input. Depending on the scenario, perhaps you can develop an edit method and use it on the form. You would need to write code that uses the user input and updates the same data than what the display method fetches.

  • Verified answer
    Blue Wang Profile Picture
    Blue Wang on at
    RE: How to change AllowEdit property

    Hi Adam,

    As Andre reminded(Thanks), the Data method is indeed a display method.

    4405.PNG

  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: How to change AllowEdit property

    Hi Adam,

    The naming convention of the control indicates that it is a method. Probably a display method. Please verify the data method property. Then you can find the method and see if it is a display or edit method. If it is a display method, you can't change the property. Then you need to find or create an edit method for it.

  • Verified answer
    Blue Wang Profile Picture
    Blue Wang on at
    RE: How to change AllowEdit property

    Hi Adam,

    Some field properties on the standard table object are not editable, I think you can only modify it through code.

    CustTable_ds.object(fieldNum(CustTable, field)).allowedit(true);

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

Product updates

Dynamics 365 release plans