Extract source code from a ppt file

  • Profile Image
    POME3790
    Asked on June 03, 2018 at 09:08 PM

    I am using windows 10, how do I extract the source code from a ppt file to place into the text box.

  • Profile Image
    Nik_C
    Answered on June 04, 2018 at 02:42 AM

    I'm sorry, but I'm not sure if you're on the right forum, this is a Support forum for JotForm online form builder: https://www.jotform.com

    If you have any JotForm related question please let us know.

    Thank you!


  • Profile Image
    POME3790
    Answered on June 04, 2018 at 03:17 AM

    Hi Nik You were very helpful last year in showing me how to extract the source code, but

    I can't seem to do it using windows 10. I want to load it into a text box on my form.


    Can you help me again please?:


    Thanks

    Martin

  • Profile Image
    nelly
    Answered on June 04, 2018 at 07:48 AM

    Hello,

    Can you give me more details to help you?

    If I understand correctly, you want to embed a PowerPoint presentation into a form. To do this you can do the following  steps:

    1) Open the PowerPoint presentation and click File and click Publish to the web:

                          15281125821501399022Screen Shot 2017-07-

    2) Click Embed

    3) Add the Text field and open code section

                              15281127881501399417Screen Shot 2017-07-

    4) Paste the code that was copied

                           15281128811501399454Screen Shot 2017-07-

     

    If you want to ask other questions let us know.

  • Profile Image
    POME3790
    Answered on June 04, 2018 at 04:24 PM

    Please see attached, this is all I see when I click on file, I am using Windows 10 Office 365:1528143844PPT Snip.JPG

  • Profile Image
    BDAVID
    Answered on June 04, 2018 at 05:45 PM

    Simply click on Share:

    1528147961share.png

    You will find the option to show the presentation online, which will give you a link.

    1528148342link.png

    Then add the Iframe widget on your form: https://www.jotform.com/help/252-How-to-Add-a-Widget-to-Your-Form 

    1528148609widget.png

    Paste the link to your PPT presentation in the Iframe widget:

    1528148659URL.png

    Let us know if you need more help, we will be glad to assist you.

  • Profile Image
    POME3790
    Answered on June 04, 2018 at 06:03 PM

    OK I got as far as this slide, copied the view only code, entered it using the embed widget and nothing:1528149809ppt4.JPG

    Here is the form No: 81202651784859

    I have checked the link in my web browser and it works fine but won't on the form!

    here is the link:

    https://1drv.ms/p/s!AmSt8smDj2gsiyEHGVmV_vNBosKt

  • Profile Image
    Kevin_G
    Answered on June 04, 2018 at 08:04 PM

    It seems like you're using the wrong link in the widget since the page that is generated does not allow to be embedded and that's why it does not show in the form, it's not actually a JotForm issue, but instead it's a limitation of the web page, I have confirmed this since I tried embedding it in an external page on a testing HTML file and it did not work either. 

    Now, in order to get the correct code you need to further check on the Office version you're using, they seem to provide an embed script, similar to the embed code Jotform provides, using the URL generated in that script you can embed the document in your form using the iFrame widget. 

    It seems like the instructions my colleague provided are a bit different compared to the Office 365 version, I got this link that may help you getting the proper code to publish your presentation: https://support.office.com/en-us/article/embed-a-powerpoint-presentation-on-a-web-page-b2073264-7707-46d2-84d1-b68a42825bcf 

    As explained, you should be provided with an iFrame code, once you get this you only need to copy the URL in the "src" attribute of the code and use it in the iFrame widget. 

    I hope this helps. 

  • Profile Image
    POME3790
    Answered on June 04, 2018 at 09:10 PM

    Thank's Kevin

    Here is the address given:

    https://1drv.ms/p/s!AmSt8smDj2gsiyEHGVmV_vNBosKt

    I was able to open this in my browser but it still will not load into embedder!!!!!!!

  • Profile Image
    POME3790
    Answered on June 04, 2018 at 10:43 PM

    Thank's Kevin success, here is the original embedded code I got:

    <iframe src='https://onedrive.live.com/embed?cid=2C688F83C9F2AD64&resid=2C688F83C9F2AD64%211441&authkey=AHkyHakUj25y95Y&em=2&wdAr=1.3333333333333333' width='350px' height='286px' frameborder='0'>This is an embedded <a target="_blank" href='https://office.com' rel="nofollow noopener">Microsoft Office</a> presentation, powered by <a target="_blank" href='https://office.com/webapps' rel="nofollow noopener">Office Online</a>.</iframe>

    Still didn't load, so I removed the start:<iframe src=' and success it loaded, what a journey! at least I know for next time, but not sure how you will explain this to other users. However all done, so once again thats for your persitance.

    Martin