Integrate excel file using Javascript (or any other method)

In a project, I want the learner to use Excel for some exercises. I think that it is possible to publish an Excel file to a Web site, then enter both the syntax stir as well as javascript code which displays excel file with most of its features intact. I managed to get both sets of code to a file test Excel using Microsoft WebApp.

Here is the Javascript code for this sample file:

< div id = "myExcelDiv" style = "width: 402px;" height: 346px "> < / div >"

" < script type =" text/javascript"src =" http://r.Office.Microsoft.com/r/rlidExcelWLJS?v=1 & Kip = 1 "> < / script > .

< script type = "text/javascript" >

/*

* Copy the following code uses the Microsoft Office Excel ECMAScript object model to programmatically insert the

* Excel Web App in a div with id = myExcelDiv. The complete API is documented at

  * http://msdn.Microsoft.com/en-us/library/hh315812.aspx . Here, you can learn how to get programmatically

your Excel file values and how to use the rest of the object model.

*/

Use this token to monthly College reference file - budget1.xlsx in the Excel API

var fileToken = "SDF7DD05E3DFEB03A5!" 116 /-586305900215860315 / t = 0 and s = 0 and v =! ADQIX85gdpgH9M4 ';

Run Excel load Manager during the loading of the page

If {(window.attachEvent)

window.attachEvent ("onload", loadEwaOnPageLoad);

} else {}

window.addEventListener ("DOMContentLoaded", loadEwaOnPageLoad, false);

}

function loadEwaOnPageLoad() {}

var = {} accessories

uiOptions: {}

selectedCell: "' Budget monthly College." N1.

},

interactivityOptions: {}

};

Ewa.EwaControl.loadEwaAsync (fileToken, "myExcelDiv", accessories, onEwaLoaded);

}

function onEwaLoaded (result) {}

/*

* Add code here to interact with Excel web app, incorporated.

* Learn more http://msdn.Microsoft.com/en-us/library/hh315812.aspx .

*/

}

< /script >

I tried to drop this code in the script for a button action window in Captivate 8, then previewed using F12, but he had no answer when I clicked on the button. 9Wouldn t, which have been very well if it was that easy?)

I guess I need to invoke the new 8 common Captivate JavaScript API and maybe more.

Can anyone advise on a way to do this?

Thank you!

I just tested it and it works:

In your excel workbook, go to the tab 'File', then 'Share', then 'Embed '.

At the bottom of the dialog box, you will see the embed code.  What you want is the attribute "src" with the URL of the map.  Only copy this URL and use it in the web object.  See if that makes a difference.

Tags: Adobe Captivate

Similar Questions

  • Why not save a file HOST Unicode or any other format beside ANSI format? Either way, which is Unicode format?

    Why not save a file HOST Unicode or any other format beside ANSI format? Either way, which is Unicode format?

    You would normally use unicode when you want to a text file that contains those outside of the normally the ASCII value... accentuated characters and others. They are rarely used in the definition of host names.

  • Error Adobe ID should use "Adobe ID which has not yet been used to allow any other computer"

    I do a few tests and screenshots for my public library right now. After reclassification of ADE 1.7 to 2.0 on an authorized machine, I pressed CTRL + SHIFT + D to Deauthorize. Then I tried to add the exact same Adobe ID to the computer and get this error message.

    "You can allow only this computer with an Adobe ID which has not yet been used to allow any other computer or mobile device. "Please RΘessayer."

    It of weird and contradicts my understanding of the ADE. 1.7, you can use the same Adobe ID on any combination of device (6). This seems to suggest that my ID Adobe must be original whenever it be permitted. My questions are:

    • Does really need to make a new Adobe ID, whenever you use CTRL + SHIFT + D?
    • What happens to contain ebooks DRM on your computer that were related to the Adobe ID who do not accept the ADE 2.0?

    If anyone has any ideas on this, I'd like to hear them.

    N ° you already allowed the computer anonymously, and you can only "upgrade" an anonymous user that has not been used before.

    You can either disable allow anonymous user (and lose all access to the content related to this user), or you can use a brand-new AdobeID which has not been used for electronic books before.

    If you have active anonymously by mistake and not have not any content yet, you want to probably turn off and start again.

  • Convert .xls in .csv file using pl/sql or any other method (oracle 9i)

    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64 bit Production

    With partitioning, OLAP and Oracle Data Mining options

    Release 9.2.0.8.0 - Production jserver

    10.1.2.0.2 generator

    ORACLE Server Release 10.1.0.4.2

    Oracle 10.1.2.0.2 procedure generator

    Oracle ORACLE PL/SQL V10.1.0.4.2 - Production

    Oracle 10.1.0.4.0 Production CORE

    Integration Services 10.1.2.0.2 tools Oracle

    Space common tools Oracle 10.1.2.0.2

    Oracle Toolkit 2 for 32-bit Windows, 10.1.2.0.2 platforms

    Resource object 10.1.2.0.2 store

    Oracle Help 10.1.2.0.2

    Oracle Sqlmgr 10.1.2.0.2

    Query Oracle 10.1.2.0.2 - Production Designer

    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)

    Oracle ZRC 10.1.2.0.2

    Oracle XML Developers Kit 10.1.0.4.2 - Production

    Virtual graphics system Oracle 10.1.2.0.2

    Image of Oracle 10.1.2.0.2

    Widget media Oracle 10.1.2.0.2

    The GUI utility 10.1.2.0.2 tools Oracle

    I had seen a very old post of 2009.

    Convert .xls in .csv file using pl/sql

    I know that it s a long time but just wanted to know if there is a way to convert excel .csv.

    I have a directory say 'F:\purple_top\ '. I'll get the .xls file in this directory. I need to change to .csv and tables load external oracle. Any ideas or advance coding on it since 2009 so far?

    A few other options might be:

    • Java code, which can be used from within Oracle, which makes use of utility libraries (e.g. Aspose.Cells) open source (for example Apache POI) or "save under" CSV, or read the source cells and their output to a CSV file.
    • COM Automation, using available open source (for example, JACOB or j-interop) or commercial libraries, which can automate Excel to open a XLS file and "Save as" a CSV file. In addition, Oracle has a feature of COM Automation (available since version 8 but abandoned after Oracle 11g). I have successfully used this read (non-macro-enabled) Excel files in PL/SQL.
    • Other approaches using Perl or PHP can be found by googling 'convert xls to csv.

    Gerard

  • Adding a table Excel file using ActiveX

    Hello

    I want to add a figure that has been produced using data from data acquisition to a specific cell in my existing excel file (reversing a graphical indicator in jpg/bmp,... and put it in the excel file). But I can't find the specific method to do so. I have changed one of the examples so I can add a few numbers to a specific cell in excellent file (VI attached). Someone knows how to do this?

    Also, in my test, I'll do this for 15-20 numbers (put 20 numbers in different places in the existing Excel file). I do this one by one? (opening of the application 20 times) or there is a way to just do all at the same time.

    Thank you.

    Now, it looks a lot better.

    I also added the part in which the image is from a waveform graph. For this you must use the Invoke node Export Image waveform graph. I've exported as bmp, save it in a file and then added in Excel. It is a solution. You can try different image format in order to find the one that works best for you. BMP is big enough.

    Another solution would be to use the graphical waveform / invoke node / export the Clipbord Image and spreadsheet use invoke node function / paste. In this way, that you don't have to write the image to the file. Although I find it more difficult to control the position where the image is pasted. In any case, you can give it a try and play with her a little.

    You can build your complete code Export To Excel using this example. Just add a loop (or code) between the opening of the workbook and close it.

    PS: I hope that the waveform graph node is the same also in LV2010. I can verify that Monday.

  • How do I dynamicaly create TestStand properties when loading the limits of an Excel file using the property loader?

    Hello

    I need help using the shipper of the property. I have an excel file that contains a bunch of properties, and the properties change quite often. I want to be able to load a picture of the excel file properties by using the shipper of the property and create these properties in Teststand programmatically. It is a sample of the file I want to import: when I tried the charger of the property, I got an error, because the properties did not exist. So, how can I create them as they load?

    LIMITS OF DEPARTURE 
     
      
    Value of the variable
      
    Value of the variable
    LowLimits10 20 30
    PinNumbers0 1 2
      
    Value of the variable
    LIMITS OF THE END 

    Thank you

    Ayman

    Thanks Ric, Ray. Both of your comments, I was able to do that the tool works exactly as I want. The final version of my custom tool is attached.

  • Remove the Excel file used in an interface

    Hello.
    I have an excel file that I use in an Interface as a source.

    I want to delete this file, when the interface is complete.

    I created a package with an OdiFileDelete stage just after the interface that processes the file excel, but she get an error:

    Cannot delete the file \\ATENEA\SERVICIOS\PRUEBASCARGA\compras\Por_Cargar\Tarifas_Proveedores.xls
    at org.apache.tools.ant.taskdefs.Delete.removeFiles(Delete.java:614)
    at org.apache.tools.ant.taskdefs.Delete.execute(Delete.java:503)
    at com.sunopsis.dwg.tools.FileDelete.actionExecute (FileDelete.java)
    at com.sunopsis.dwg.function.SnpsFunctionBase.execute (SnpsFunctionBase.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt (SnpSessTaskSqlS.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (SnpSessStep.java)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession (SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand (DwgCommandSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i (e.java)
    at com.sunopsis.dwg.cmd.h.y (h.java)
    at com.sunopsis.dwg.cmd.e.run (e.java)
    at java.lang.Thread.run(Thread.java:595)

    I imagine that this error is caused by files locked by the process that runs the interface.
    How do I unlock this file so it can be deleted?

    Are you sure that you have full access to the \\ATENEA\SERVICIOS\PRUEBASCARGA\compras\Por_Cargar resources?
    By default, sharing resources gives access to everybody, only for reading.
    Try to open \\ATENEA\SERVICIOS\PRUEBASCARGA\compras\Por_Cargar resources in Windows Explorer and then try to create the new file in this directory.
    Which agent ODI have you used for the execution of the batch (if your server under Windows - have you configured agent runs as a service)?
    What is the platform of the server when you run the agent?

    Kind regards
    Oleg

  • Export data from the database to excel file using the procedure

    Hello

    I need to export data from database to oracle 10 g for the excel file, I try this code:

    First, I create directory to the user sys and give permition to user that I'm working on it
    create or replace directory PALPROV_REPORTS as 'c:\temp';
    
    grant read, write on directory PALPROV_REPORTS to user12 ;
    then I run this code
    declare
        output utl_file.file_type;
    begin
        output := utl_file.fopen( 'user12' , 'emp1.slk', 'w',32000 );
        utl_file.put_line(output, 'line one: some text');
        utl_file.fclose( output );
    end;
    the problem appears as
    ORA-29280: invalid path ORA-06512: at "SYS." UTL_FILE", line 29 ORA-06512: at"SYS." UTL_FILE", line 448 ORA-06512: at line 4

    Notice that I use the operating system windows as a client and a linux as a server database

    The file will be written to the database server or your GNU / linux and I'm quite sure, there is no folder named "c:\temp" on linux. It will probably be ' / tmp' on a unix server.

    And open the file, you must give the name logic directory 'PALPROV_REPORTS' it instead of the user name "utilisateur12".

  • [ADF, JDev12.1.3] Problem of formatting attribute VO MONEY when exports it as an Excel file using apache.poi

    Hallo,

    I have a VO with an attribute based on the field of database of MONEY.

    In the configuration of the VO for the attribute I put:

    • In the "Details" tab: Type = BigDecimal
    • In the "Indications of the UI" tab: Format type and Type like the image below

    Immagine.png

    These settings allow the value of the attribute (in the table, inputText) appears with thousands and decimal separator that according to my language - Italian - are. (point) and, (comma).

    For example. Silver number displayed correctly:

    10.123.000,37

    When I write the value of the attribute in an Excel cell using apache.poi...

    cell.setCellValue (attr.toString ());

    ... I see in the cell...

    10123000.3700

    ... Although I'd like to see what...

    10123000,37 (not thousands separator, the comma as separator decimal and only 2 decimal places)


    You could you kindly help me to get there?

    Thank you

    Federico

    Federico, this isn't really a question JDev or ADF. This can be solved by setting the cell format to the cell, you write the number. Like oyu would in excel

    style.setDataFormat(HSSFDataFormat.getBuiltinFormat("#,##0.00"));

    more info on HSSFDataFormat (javadocexamples.COM JAVA DOC BY EXAMPLES) - API, usage, demonstrations and code examples

    Timo

  • What is the component of the ONECARE file backup? Is any other automatic backup software available?

    OneCare security package included a function of automatic backup of files.  This feature is not in the latest Security Essentials package.  Is there another file automatic backup program available that would be able to interface with the files saved by OneCare?  I have no idea how to get back my backup files, or how the current backups.  My backups are on an external USB hard drive.

    Windows Live OneCare has retired several years ago.

    You can use the Windows backup utility, or one of the many 3rd party products.
    I'm moving your question to the windows - Performance and Maintenance areas for the new guidelines.
    -steve
  • The video device is currently in use. Close any other program that is using the device and try again.

    After starting cold, without other programs started using Windows 7 Home Premiun for a place in the upgrade, I am unable to capture video DV camera DV over USB.  The same setup work properly on Vista Home Premium.  (MM6)

    By using the menu "Import device", the dialog box "Import pictures and videos" identifies the camera as "Digital vidéo caméras Video Edit".

    After the error message out of Movie Maker and reboot, then try again translated by "importing video has already begun."

    Microsoft Windows Media Encoder 9 Series do not seem to be available for Windows 7.

  • I can't resize the pdf file using acrobat CC, any help please?

    Hi guys, I am trying to download a pdf file in an application for visa online, but it consists in asking me to use distiller adobe instead of pdf online sites from resizing. I have Acrobat DC, but it doesn't do anything when I click in the resizing option in Save as.

    OK, you can try to reduce the size of the file to save as options of Acrobat (file size reduced to simple, optimized PDF for more control).

    Of course. It cannot succeed sometimes, for example if there are photos that have too much detail, for example.

    What happens when you try? And what kind of discount Miss do you?

  • How to use PersistentBitmap in the version 5.0 or any other method?

    I am completely unaware of an example of use of PersistentBitmap and am also not sure if it can be used in 5.0 but anyway, I extract the code next, I received, could someone advise me on how to use it?

    I have several images I want to stay put on the BB, even after a hard reboot. Links or advice is welcome! Thank you

    {classPersistableBitmapimplementsPersistable}
    int width;
    int height;
    int [] argbData;

    publicPersistableBitmap (Bitmap image) {}
    width = image.getWidth ();
    height = image.getHeight ();
    argbData newint = [width * height];
    image.getARGB (argbData, width, 0, 0, 0, width, height);
    }

    publicBitmap getBitmapImage() {}
    Bitmap image = newBitmap (width, height);
    image.setARGB (argbData, width, 0, 0, 0, width, height);
    return image;
    }

    The link below points to the documentation on the use of persistent store.  Take a look and let me know if you get stuck.

    https://bdsc.webapps.BlackBerry.com/Java/documentation/ww_java_datastorage/PersistentStore_intro_198...

  • How to remove masks of image in PDF files using Acrobat Professional or other software?

    (with or without re - create the PDF file from scratch)

    Hi caseyclaassen,

    You can try to select the object-editing tool. Right-click on the page, and then select Edit Page. This page should then open in Illustrator, where you can change/remove the mask. Save changes in Illustrator, and it should be updated in Acrobat.

  • File picture Drobo (or any other external drive) transfer?

    I decided to take some of my old photo files in LR from previous years and put them on the Drobo... but always have the catalogue to access.  However, it seems that I do not receive the virtual copies to the Drobo with the rest of the file.

    Is there some step or technical, I'm missing?

    Thank you!

    Steve

    The virtual copies are just the metadata contained in the catalog. Move the files themselves, reinstall them in the LR catalog (right-click, update folder location) and everything will be fine.

Maybe you are looking for