Notifications
Announcements
No record found.
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?
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.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 646 Most Valuable Professional
André Arnaud de Cal... 529 Super User 2025 Season 2
Sohaib Cheema 285 User Group Leader