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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Info/Notification Action Center

(1) ShareShare
ReportReport
Posted on by 11
Hello ,
           I have used the below code to print the datasources of the form . But when I use the Info Method It doesnt print the result in the form info(class Runner form) , Instead it prints in the Notification action center. And If I add formRun.run() after the init() this opens the CustTable form. How can I print the info statement in the Class Runner form instead of Notification Action center 
          
public static void main(Args _args)
   {
       Args args           = new Args(formStr(CustTable));
       FormRun             formRun;
       FormBuildDataSource fds;
 
       formRun = ClassFactory.formRunClass(args);
       formRun.init();
       
       
       for(int i=1 ;i<=formRun.form().dataSourceCount() ;i++)
       {
           fds = formRun.form().dataSource(i);
           Info(strFmt(/%1/,fds.name()));
       }
 
       
   }
 
I have the same question (0)
  • Suggested answer
    Layan Jwei Profile Picture
    8,060 Super User 2025 Season 2 on at
    Info/Notification Action Center
    Hi Community member,

    Just remove this line of code below, and it should work:
    formRun.init()


    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 582 Most Valuable Professional

#3
CU05031448-0 Profile Picture

CU05031448-0 526

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans