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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Mobile workspace set default value on control

(0) ShareShare
ReportReport
Posted on by 545

Hi

Im creating a mobile workspace with a few actions.  For one action i want to initialize a value to a default value when using the app.

Is this possible?  I couldnt find how to do it using the documentation.  I thought about maybe putting this logic on the form in x++ but how would it know its called from the app instead of the normal Ax?

I have the same question (0)
  • Suggested answer
    Michal Krejza Profile Picture
    on at

    Hi Norbert,

    You have mentioned documentation, but I am not sure whether you are referring to Mobile platform development: docs.microsoft.com/.../mobile-platform-home-page

    Because there are pretty good details how to proceed.

  • nspiteri Profile Picture
    545 on at

    Thanks for your response.

    I've read the documentation on the link you sent.  The only way that it seems possible would be to create a custom form in x++ with the value defaulted already and use this only for the mobile version.  I've been trying to see if its possible to set the default using javascript by setting a default on a control but the documentation doesn't seem to explain how to do it.

    docs.microsoft.com/.../view-model-control-basecontrol-icontrol-icontrolmetadata

    Perhaps you've encountered this situation in the past and can give me some pointers, otherwise I'll keep going through the samples they've set up already to try and see if I find an example.

    Regards,

    Norbert

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans