X++ Code to add new components in AOT

static void AOTCreatequery(Args _args)
{
// This function will add a new Form to the AOT.
treeNode treeNode;
xInfo xInfo = new xInfo();
;
treeNode = xInfo.rootNode();
treeNode = treeNode::findNode("Forms"); // You can use all the AOT components.
treeNode.AOTadd("Praveen");
treenode.AOTsave();
}

No comments:

Post a Comment

D365 F&O - Restart PPAC UDE Environment

D365 F&O - Restart PPAC UDE Environment    As developers working in the Unified Development Experience (UDE) for Dynamics 365 Finance...