How to change the default Proxy Url in OLAP connection tool

Resolved
Yosef asked on June 27, 2022

Is there any way to configure the default Proxy Url for the Connect > To OLAP (XMLA) option?

3 answers

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster June 28, 2022

Hello, Yosef,

Thank you for contacting us.

We suggest creating your own pop-up window with the connectTo() API call. You can add it to the Connect menu using the following approach: https://jsfiddle.net/flexmonster/vkqw290o/
More information about customizing the Toolbar you can find in our documentation: https://www.flexmonster.com/doc/customizing-toolbar/ 

We hope it helps. You are welcome to write to us in case further questions arise.

Kind regards,
Nadia

Public
Yosef July 1, 2022

Hi Nadia, that's understood then, thanks.

Public
Yosef July 4, 2022

My solution is to set the field after the `showConnectToOLAPDialog` handler is called:

handler: function () {
toolbar.showConnectToOLAPDialog();
$(`input.fm-inp-proxy-url`).val(AppSettings.appSettings.analysisServices.proxyUrl);
}.bind(toolbar)

 

Please login or Register to Submit Answer