☝️Small business or a startup? See if you qualify for our special offer.
+

How to intregrate FlexMonster to a WEBDEV (from PCSoft) project

Answered
Dev asked on July 1, 2025

Hi team,

I am in the process of evaluating FlexMonster in order to use it with WebDev (from PCSoft). I have a problem with the relative path as for example the test uses a path that reference the project name.

I.e.: http://localhost:8030/TEST_TCD_WEB.
The name TEST_TCD_WEB is always present and cannot be bypassed.

So I referenced your files using the same relative path : 

<div id="pivot-container" style="padding-bottom: 30px;"></div>
<script src="./TEST_TCD_WEB/flexmonster/flexmonster.js" type="text/javascript"></script>
<link href="./TEST_TCD_WEB/flexmonster/flexmonster.min.css" rel="stylesheet" type="text/css" />

In the filesystem the folder flexmonster is located under TEST_TCD_WEB.

The files into the theme subfolder load fine, but one fails: toolbar/flexmonster.toolbar.js

This happens because the flexmonster.js code load the toolbar using a non-relative path and this one is invalid: http://localhost:8030/flexmonster/toolbar/flexmonster.toolbar.js?2.9.106

The correct path should be:
http://localhost:8030/
TEST_TCD_WEB/flexmonster/toolbar/flexmonster.toolbar.js?2.9.106

Is it a known issue and to you have an idea to indicate to the flexmonster.js to use a relative path to load the dependances located into the flexmonster folder?

This problem is blocking me to validate your product to be acquired.

Best Regards
Dev

5 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster 6 days ago

Hello, Dev!

Thank you for reaching out to us.

We recommend explicitly specifying the path to the folder with flexmonster.min.css and flexmonster.js files in the componentFolder property as follows:

 const pivot = new Flexmonster({
container: "pivotContainer",
componentFolder: "./TEST_TCD_WEB/flexmonster/",
report: {
dataSource: {
// your data source
}
},
licenseKey: "XXXX-XXXX-XXXX-XXXX-XXXX"
});

Please let us know if specifying the path in the componentFolder works well for you.

Kind regards,
Solomiia

Public
Dev 6 days ago

Hi Solomiia,
Thanks a lot for this solution that solves most of the problems with the path.
Best Regards
Dev

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster 5 days ago

Hello, Dev!

Thank you for your feedback.

We are happy to hear the componentFolder property works well for you.

Feel free to reach out to us in case of any other questions.

Kind regards,
Solomiia

Public
Dev 5 days ago

Hi Solomiia,

I have another quick question: In Microsoft Analysis Services multidimentional there is a feature that permit to define the color of a cell (foreground and background).

I saw FlexMonters can get the format defined for a cell from SSAS but not the color. Right ?

https://learn.microsoft.com/en-us/analysis-services/multidimensional-models/mdx/mdx-cell-properties-fore-color-and-back-color-contents

Are you aware of any plan to support the SSAS color feature in the near future ?

Also about Actions that can be defined in SSAS:

https://learn.microsoft.com/en-us/analysis-services/multidimensional-models/actions-in-multidimensional-models

Any plan to implement SSAS actions in the future ?

Best Regards
Dev

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster 4 days ago

Hello, Dev!

Thank you for your questions.

You are right, Flexmonster supports formatting values as defined in the SSAS, but doesn't fetch text styles, such as text color or font size.
We recommend using our built-in conditional formatting to highlight the values on the grid: https://www.flexmonster.com/doc/conditional-formatting/. For more customized stylings, you can also check our grid customizing guide: https://www.flexmonster.com/doc/customizing-grid/.

Regarding your question about SSAS Actions, could you provide us with more details about your use case and the actions you want the end users to perform? With this information, we'll be able to advise you better.

Looking forward to hearing from you.

Kind regards,
Solomiia

Please login or Register to Submit Answer