question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Ankur A3 commented

Check For Import Button?

Hi Team,

I am having data in excel and importing/updating it in model using Toolbox>Excel Import/Export. Is there any way to provide import/export button on dashboard for easy interaction?

HC Version 21.1.5

Thank you!

FlexSim 21.0.10
hcexportimportbuttonuser
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Ankur A3 commented

Yes, just add this to the OnPress code:

excelmultitableimport();
· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ankur A3 avatar image Ankur A3 commented ·

Hi @Jason Lightfoot,

I am still facing issue. Can you show me in model how to do it?

TestFile.xlsx

TestImportButtonFeature.fsm

Thank you!

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Ankur A3 commented ·

Sorry - I cannot do this - we'll need someone else to help you.

0 Likes 0 ·
Jacob W2 avatar image Jacob W2 ♦ commented ·
Hi @Ankur A3,

For some reason we are unable to access your model. Can you please send it again.

0 Likes 0 ·
Ankur A3 avatar image Ankur A3 Jacob W2 ♦ commented ·

Sure. Here it is.

TestFile.xlsxTestImportButtonFeature.fsm

Thanks!

0 Likes 0 ·
Jacob W2 avatar image
0 Likes"
Jacob W2 answered Ankur A3 commented

Hi @Ankur A3,

Here is the test model with the import and export buttons set up to work. You need to make sure that the excel Import/Export is set up before the buttons will work. You can also check the logic behind the buttons by clicking anywhere on the dashboard and making sure that the "edit mode" button is selected.

Test import button_JW.fsm

testfile.xlsx


· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ankur A3 avatar image Ankur A3 commented ·
Thank you so much! @Jacob W2
0 Likes 0 ·