Hi all,
I´d like to know if it´s possible to show a google map htm or html file in a form in Dynamics 365 F&O using X++.
In AX2009 I did this:
1- Create a htm file in local temp folder --> C:\Users\xxxxxxx\AppData\Local\Temp\6\2011202053664LB_MAP.htm
2- Create a browser object
3- I create the html file and then load it in the browser object:
textBuffer = new TextBuffer();
textBuffer.appendText(element.getMapGoogle(); //load the htm url text
element.openFileNameMap();
file.write(textBuffer.getText());
browser.Navigate(strfmt("file://%1",FilenameSave));

3.1 This is the code of openFileNameMap
void openFileNameMap()
{
// Open file for text-output
file = new TextIo(FilenameSave, 'w', this.codepage());
if (!file || file.status() != IO_Status::Ok)
{
throw error(strfmt("@SYS73665", FilenameSave));
}
file.outRecordDelimiter('\r\n');
file.outFieldDelimiter('');
}

This is the result in the form:

Thank you so much in advance.
Regards, Aitor.