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)

Delete button, new button,save button got disabled.

(0) ShareShare
ReportReport
Posted on by

Hi,

I have two table as datasource of my form.

One datasource is sys table "Usergroupinfo" and other is a normal table.

I set all the  Allow  Properties as yes. Still  new, save and delete button is disabled.

Even i try it to activate by formname_ds.allowedit(true) and for others too in actvate method of datasources.

still same thing prevails.

Is there any way of enabling my save button in my form

please help

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    can you think of something else

  • Jonathan  Halland Profile Picture
    11,310 on at

    Hi Thaku, can you tell us what form you are using. There is most probably alternative code disabling your datasource's editing properties.

  • Community Member Profile Picture
    on at

    Hi Jonathan Halland, i created a new form with some replication of usergroup form in Administration module>setup>user group form  with some additonal field from my table.

    my table as a link with usergroupinfo table usergroupinfo .recid==mytable.refrecid.

  • Jonathan  Halland Profile Picture
    11,310 on at

    Hi Thaku, You mentioned that you have two datasources, are your buttons/button groups linked to the correct data source?

  • Community Member Profile Picture
    on at

    Hi Jonathan Halland, these buttons are actionpane buttons in form. They are normally enabled or disabled by changing the datasource property of  datasource tables ie,

    Allowedit - yes

    allowcreate-yes

    allowdelete-yes

    my datasource properties are all set to yes.

    May be some permission problem i guess with the Systable which i used in my form

    i checked with some other tables. the form works fine .

    i hope it's the permission problem for that table.

    I am newbie to Ax and X++ so i don't know how to change the permissions for tables and all.  Is there any properties for that??

    and thanks for the replies

  • Jonathan  Halland Profile Picture
    11,310 on at

    Hi Thaku.

    The Button group that these buttons are a part of on the action pane has a "datasource" property. Is this set to the correct datasource?

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