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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Class property RUNON

(0) ShareShare
ReportReport
Posted on by 338

Hi 

I have a doubt can you please explain it briefly so i that i can understand, i surfed a lot on it but couldn't understand it

For classes and menu items we have property RUNON

caleed from

server

client

  can you explain all of them

Thank you,

Sri

*This post is locked for comments

I have the same question (0)
  • vv1984 Profile Picture
    1,087 on at

    It specifies whether the class will be run on the user's client or on the AOS machine. For instance, if you need your class to be executed as batch job, you must set the "run on" property to "server".

  • Verified answer
    Faisal Fareed Profile Picture
    10,796 User Group Leader on at

    Hi Sri,

    Lets talk about two tiers; Client and Server. Since we have Client tier (AX Client) and Server tier (AOS), so if we want to execute our method on client then we can set the method modifier to ‘client’ and if we want to execute the method on server than we can set the modifier to ‘server’.

    In case we don't set any modifier to the method, it will be run based on the ‘RunOn’ property of the class. If the RunOn property of the class is set to ‘Called From’ then method can either be executed on client or server.

    A very good explanation is given here mafsarkhan.blogspot.com.au/.../runon-property-in-axapta.html

    axpedia.blogspot.com.au/.../clientserver-method-modifier-and-run-on.html

  • Faisal Fareed Profile Picture
    10,796 User Group Leader on at

    In continuation of my previous response, it also depends on your requirements that which property you need to set. For example; in batch jobs and importing data from excel your class must run on server.

    There are also few more limitations of each modifier which comes with your implementation of requirements.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans