Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
I need design test code to caputer the Infolog meaasge , get the meaasge and if meaasge is not null ,do the next steps ,else error how can i do it? please give me some suggestions ,thanks!
Message like these:
str message = strfmt ();
//print the message;
You can get the current content of Infolog by calling infolog.infologData() (and iterate it with the help of SysInfologEnumerator).
Hi Apple ,
Please check this:
Thanks for your answer , i will try it.
Here's the simplest function code I can think of to get info log message,
public static str getMsg()
for (currentLine = 1; currentLine <= infologline(); currentLine++)
msg += infolog.text(currentLine) + '\n';
Thanks for your answer , because i am not try this way before , so i will try to use the code , and select the most suitable code to add.
Best Regards ,
Business Applications communities