Ax 2012, Uncategorized

Check if public project exists in ax 2012

If you want to check if proeject exists in AOT, you should write this:

static void IfExists(Args _args)
{
    ProjectNode projectNode =  SysTreeNode::getSharedProject().AOTfindChild('cf1_Review');
     if (projectNode)
     info ('yes');
}
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s