How To Get Dynamics 365 F&O URL through code - X++

  var app = Microsoft.Dynamics.ApplicationPlatform.Environment.EnvironmentFactory::GetApplicationEnvironment();

Str envURL= app.Infrastructure.HostUrl;



Regards:

farazjaved01@gmial.com

Comments

Popular posts from this blog

step 20 Update script for service model: AOSService on machine: CR-VM-Test-1

How to Bypass Next in COC in D365 X++