Definition
The OPEN function: opens a feed between your PC and your CLOUD account.
All the MS4BI objects used when running the MS4scripts (charts, reports, dashboards, menus...) will automatically be transferred to your CLOUD account In a Master directory : HOME followed by the date and time => HOME/Date/Time
Warning: account identification is implicit and identified when an MS4BI SERVER & CLOUD professional licence is purchased.
MyCloud_Account_Open();
BEGIN
MyCloud_Account_Open();
...
END ;
Definition
The CONNECT function: connects to the Cloud account via MS4SCRIPT for viewing & managing charts, reports & dashboards
MyCloud_Account_Connect();
BEGIN
MyCloud_Account_Open();
...
MyCloud_Account_Connect();
END ;
Remarks
MyCloud_Account_Open() is MANDATORY !
Definition
The UPLOADINPROGRESS function enables all charts, reports & dashboards to be uploaded from the PC to the Cloud account when the MS4script is run.
MyCloud_Account_UploadInProgress();
BEGIN
MyCloud_Account_Open();
MyCloud_Account_UploadInProgress();
ConnectDB{Ms4DB}(LEnvDemoExcelDB);
FormNice : DrawPIE , title :" Business 2011 by EMPLOYEE " , ANGLE :120 ,
TYPE : $STANDARD, FORMAT: "$" use View ("[ms4EmplTotalBusiness2011]");
MyCloud_Account_Connect();
END ;
Remarks
MyCloud_Account_Open() is MANDATORY!
Definition
The UPLOAD function: used to transfer a file to the Cloud account when the MS4script is run.
MyCloud_Account_Upload ("-your PC file" or string : "to a new Filename" or string) return TRUE(1) or FALSE(0);
BEGIN
MyCloud_Account_Open();
MyCloud_Account_setCurrentDirectory($HOME);
END ;
BEGIN
display "Please wait : CLOUD upload from PC to website ";
MyCloud_Account_UpLoad("analysisScenarii.xls":VarUpload ) return (iReturn );
if (iReturn = TRUE)
then
MsgBox : Title "MS4BI CLOUD "
Message : " Upload Ok for : ",VarUpload
Button : Mb_OK
Icon : MB_ICONASTERISK ;
Else
MsgBox : Title "MS4BI CLOUD "
Message : " UpLoad Not Ok"
Button : Mb_OK
Icon : MB_ICONHAND ;
End_if ;
END ;
Remarks
MyCloud_Account_Open() is MANDATORY !
Definition
The DOWNLOAD function: used to transfer a file from the Cloud account to the PC when the MS4script is run.
MyCloud_Account_Download ("-your CLOUD ACCOUNT File " or string : "to new PC filename " or string) return TRUE(1) or FALSE(0);
TEXT : VarUpload := "ExampleFileMycloud.xls";
integer : TRUE := 1, FALSE := 0,
BEGIN
MyCloud_Account_Open();
MyCloud_Account_setCurrentDirectory($HOME); ** HOME Standard MS4BI Cloud : HOME/Date/Time
END ;
BEGIN
display "Please wait : Downloading from myCLOUD to Computer ";
integer : iReturn ;
MyCloud_Account_DownLoad(VarUpload :"analysisScenarii_DownLoad.xls") return (iReturn );
if (iReturn = FALSE)
Then
MsgBox : Title "MS4BI My CLOUD Account "
Message : " Download Ok for : ",VarUpload
Button : Mb_OK
Icon : MB_ICONASTERISK ;
Else
MsgBox : Title "MS4BI My CLOUD Account "
Message : " DownLoad Not Ok : File not found or already exists on the PC .."
Button : Mb_OK
Icon : MB_ICONHAND ;
End_if ;
END ;
Remarks
MyCloud_Account_Open() is MANDATORY!
Remarks
All examples: driver:\MandragorePlanete\MS4BI\02-DEMO-DESKTOP-BI-EXCELandSTANDARD\11-CLOUD