OneDrive Javascript api access to powerpoint

I'v been using the new javascript API for OneDrive and was wandering how/if the api extends to cover calling powerpoint files into an webpage or even hopefully specific slides into an iframe e.g
regards
Mark

Hi,
This is the forum to discuss questions and feedback for Microsoft Office ,the issue is more related to coding/programing, you'd better post your question to the MSDN forum
http://social.msdn.microsoft.com/Forums/en-US/home?forum=messengerconnect
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
George Zhao
TechNet Community Support

Similar Messages

  • Office 365 addin. JavaScript API. Working with files.

    Please help me.
    Is there any posibility to get url for created document from my addin with JavaScript API?
    May be I need to use OneDrive.

    You are creating a Word 2013 app? If so, you might want to post your question here:
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=officegeneral
    Are you trying to get the URL that the document was opened from?
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • Javascript API, Get List PropertyBag, SP2013 Persmissions Bug?

    Hey,
    i want to read the propertybag out of a SPLIST Object via javascript api.
    The PropertyBag is stored in the rootfolder, so you can access it, but NOT! when the user has only read permissions on the website.
    The exact List Permission to read a PropertyBag for Lists is "Manage Lists" for the javascript API
    var listInfoCollection = clientContext.loadQuery(oWebsite.get_lists(), "Include(Title,Id,ParentWebUrl,BaseTemplate,RootFolder.ServerRelativeUrl, RootFolder.Properties)");
    Can anyone tell me another way to retrieve List PropertyBag via javascript?

    Did you try using export import method in property bag setting?
    http://pbs2013.codeplex.com/

  • Javascript API and server-generated URLs

    I'm creating a Shopify site for a client and part of the site is a complex Adobe Edge Animate animation. Shopify uses server-generated paths to files. My animation uses images and audio.
    It looks like the animation sets a base path set in the Publish settings then it sets everything itself in the Javascript runtime and associated files. With Shopify, I end up with image URLs that are like this one: "cdn//path//image.gif?234324". I don't have a absolute path with an absolute file name.
    Does anyone know of a way I can put these specific unique server-generated paths to the files needed for my animation in the files for my animation? Basically, can I customize and control the entire URL to all the files needed for my animation?
    I see how I can put any URL for assets in the edge.js file. My bigger problem, I think, is being able to customize the URLs for the edge.js and edgeActions.js files.
    If anyone has any ideas, I'd really, really appreciate it!

    I am getting close on this!  I'm hoping someone can help me figure out the last step.
    I am using an iframe and sandbox method to load the swf video player like this:
    <iframe id="playerFrame" src="player.html" sandboxRoot="http://localhost/air/" documentRoot="app:/"></iframe>
    So now the JavaScript API for the player actually works in player.html.   The BIG problem is that the videos are downloaded to the app-storage directory.  Well, based on AIR security, the iframe (non-application sandbox) content cannot access the application storage directory.  So now only videos that are in the app:/ location will load.  Unfortunately, this application downloads video from a central server and places them in the application storage directory.  Security also will not allow me to download to the app directory.  So I am in an endless circle!
    I can't use the API if I am in the application sandbox because there is no domain (sandboxRoot) available.
    The API works in the non-application sandbox, but I can't access the downloadable content.
    What am I missing here?  Surely, people have needed to interact with a SWF file using JavaScript and load dynamic content at the same time.

  • Local Javascript API and AIR

    I'm having a hard time describing this problem, but I'll try...
    Is there anything I can do to allow Adobe AIR to load a JavaScript API to interact with JW Player (longtailvideo.com)?  The API already exists, and I can port my AIR code over to an HTML page on my server and it works fine.   Longtail support boards say that the API will not load locally (either locally on a folder OR "locally" in an AIR app).  They said it is a restriction of Flash.  Is this correct?  I did put my HTML files on my desktop and the API did NOT load.  It only seems to load when I put it on my server and run it on a domain.
    I assume this is somehow related to security. JavaScipt cannot interact with Flash unless it is on a domain?  Is that correct?
    I can get the player to load and play video just fine in AIR.  However, the API never loads, so I cannot interact with it.
    This is the last piece of a very LONG project I have been working on, so any help would be greatly appreciated!    Is it possible to get AIR to "pretend" it is on a URL?  I tried referencing files with app:/, and that had no impact.

    I am getting close on this!  I'm hoping someone can help me figure out the last step.
    I am using an iframe and sandbox method to load the swf video player like this:
    <iframe id="playerFrame" src="player.html" sandboxRoot="http://localhost/air/" documentRoot="app:/"></iframe>
    So now the JavaScript API for the player actually works in player.html.   The BIG problem is that the videos are downloaded to the app-storage directory.  Well, based on AIR security, the iframe (non-application sandbox) content cannot access the application storage directory.  So now only videos that are in the app:/ location will load.  Unfortunately, this application downloads video from a central server and places them in the application storage directory.  Security also will not allow me to download to the app directory.  So I am in an endless circle!
    I can't use the API if I am in the application sandbox because there is no domain (sandboxRoot) available.
    The API works in the non-application sandbox, but I can't access the downloadable content.
    What am I missing here?  Surely, people have needed to interact with a SWF file using JavaScript and load dynamic content at the same time.

  • Displaying a theme-based FOI layer as a whole image with javascript API v2

    Hi,
    I have looked the Oracle maps V2 tutorial developed in mvdemo.war application provided with Oracle Mapviewer v11.1.1.7. I have looked how to use theme-based FOI layers and I have not found how to set the "whole image" property for these layers. This feature is present in javascript API V1 and it greatly improves application performance. Our applications use this property very often.
    Is this property present in javascript API V2 but not documented?
    If it's not present, do you know if it will be?
    How can we show a layer with many geometry features and obtain the same performance we have now with the whole image property?
    Thanks,
    Arturo

    Hi,
    since this is a very crucial feature for us I'm very interested in that functionality as well. Is there a comparable functionality in the V2 API or will it be available in feature releases?
    Thanks
    Dominik

  • PDF embedding & Acrobat's JavaScript API

    Hello,
    I have two questions.
    I currently using Safari 1.3.2 and Acrobat Reader 7.0.9 to test an PDF document embedded in a Web page. In Safari 1.3.2 I get a "This operation is not allowed" warning when the HTML object element and the embed element are encountered.
    I have also tested it in Safari 3.0 on Windows, with plug-ins enabled in the Preferences and Acrobat Reader 8 installed. The PDF file is not shown and no warning is given either.
    So, does Safari 2.0 support embedding PDF files at all?
    My other question is, assuming Safari does support PDF embedding, whether it is possible to interface from an HTML page to the Acrobat plug-in via Acrobat's JavaScript API. In IE this is a simple as getting the object element by id and for example, invoking its Print() method. Is this possible in Safari?
    Thank you in advance,
    Adal Fraile

    Hello,
    I have two questions.
    I currently using Safari 1.3.2 and Acrobat Reader 7.0.9 to test an PDF document embedded in a Web page. In Safari 1.3.2 I get a "This operation is not allowed" warning when the HTML object element and the embed element are encountered.
    I have also tested it in Safari 3.0 on Windows, with plug-ins enabled in the Preferences and Acrobat Reader 8 installed. The PDF file is not shown and no warning is given either.
    So, does Safari 2.0 support embedding PDF files at all?
    My other question is, assuming Safari does support PDF embedding, whether it is possible to interface from an HTML page to the Acrobat plug-in via Acrobat's JavaScript API. In IE this is a simple as getting the object element by id and for example, invoking its Print() method. Is this possible in Safari?
    Thank you in advance,
    Adal Fraile

  • How to add a polygon to mapviewer using Javascript API

    Hi,
    I am using JavaScript API for the MapViewer.
    Using redlining tool, my application allows user to draw polygon onto the map.
    I would like to have union, difference and intersect tools. I know the back end logic can be done using using JTS or SDO_Union, SDO_difference, and SDO_intersection. but how do i display the result polygon on the map? Note that I am not going to store the polygon in the database.
    Thanks for any ideas.

    Hi,
    If I understand well you are using Oracle Maps. User do some redlining, then you somehow makes FOI polygons. Then you get the coordinates of the polygons and send them to the back-end where you can use spatial functions and get the coordinates of the new polygon.
    You can store those coordinates in i.e. hidden input field on page (if you use JSF it is very simple) and then use JavaScript to parse them and Oracle Maps API to create new FOI polygon and add it to mapviewer object. One disadvantage of this concept is that reloading of page (submit) is necessary.
    Branislav

  • Using JavaScript to access Database

    Hi all,
    I am using JSP and Tomcat for my web application.
    Now i need to use Javascript to access the MS Access database. Can anyone please tell me the class and command for accessing database from javascript.
    Please give me an example and that will help me. I know it is not good to access database using JavaScript. But in this situation i have to use it anyhow.
    Thatnks

    Hi all,
    Thanks very much for your help. Now some of you said that it is not possible in JSP to access database using JavaScript, some of you said yes it is possible but not secure, I understand the both concepts.
    Now my problem is last year i built a web application for my company and the scenario is like this:
    The staff records their working time in that application. Now when they click a button it creates a drop down list of all clients they have and that list is in HTML as SELECT TAG. So the select tag includes 100+ client name.
    Now they can add as many client as they want for example if i have worked with 10 clients i will create 10 drop down list by pressing button called ADD CLIENT and will record their hours.
    Now from the description above you guys can understand that an OnClick Javascript event in involved to create multiple dropdown list.
    Now what i want is that i want those 100+ client list to come from database rather than typing them in the SELECT TAG. and please remember the SELECT tag is implemented in Javascript using innerHTML event.
    Now for those of you who suggested that it is not possible to use Javascript in accessing database, can you please tell me how can i implement Onclick event using JSP/Serverlet and can create dynamic drop downlist?
    Thanks for your time to read this long message.

  • Map Builder JavaScript API

    Hello everybody,
    I'm a student who is currently working with Oracle for the first time. I developed an Web mapping application by using Oracle XE Database (10g), Oracle Map Viewer and corresponding Map Builder (the latest version). I choose the JavaScript API for the implementation of this application.
    The reason for this post is one particular problem that I encountered. I want to extract the X and Y coordinates (which are naturally stored as SDO_GEOMETRY in my database) for certain features that are visible in my map window (this features belong to themebasedFOIs). I know that the x and y coordinates (and other attribs) are easily accessible for the JavaScript Client if the coordinates are stored in own columns (additionally to the information stored in the SDO_GEOMETRY) ... but that is not the case!
    I searched the JavaScript API, the Internet, this forum and it took me a long time ... but I didn't come across any possiblity to manage this. So does anybody who reads this post see a possibility to get my X and Y coordinates from my HTML application that is build with JavaScript API???
    I will be very thankful for any advices and/or hints... :-)
    With regards

    hi, we don't return the geometry back to the client unless the foi is a point.

  • How can i use  a adf javascript api

    hi
    can i use the adf javascript api for creating the AdfRichInputText .is there any producer
    to create the AdfRichTextInputText in javascript .plz guide me
    Thanks and Regard
    Message was edited by:
    Prapan Sol

    Hi,
    the ADF JavaScript API is not meant for you to create JSF components on the fly. For this you please use teh ADF Facesserver side components.
    The RichInputText component is defined by a pair of components, the AdfRichInputText and its Peer component. I don't know what your usecase is, but my impression is you are looking at it from the wrong end
    Frank

  • DI API - accessing objects with Read only permissions

    Scenario: I have setup a user in B1 with "Read Only permissions" on the Business Partner. When I log into the DI API as this user and try instantiating the BP object, I get a message "Loged on user does not have permissions".
    Why am I getting this? Shouldnt I be able to instantiate the object and read the property values. i understand that I cannot Add or Update because of read only permissions.
    Is there a way we can retreive values for users using the DI API or should the best option be to write a SQL statement.
    Thanks,
    Gopal

    Requiring the user to have full authorization to instantiate an object is a serious limitation for the DI API. It makes it virtually useless. After all it is supposed to be OOP and all the trimmings isn’t it? It also takes a lot of control away from the user.
    +1
    Hi,
    I have confirmation from B1 product definition, the DI API access for objects with Read only permissions will not be included in the 2007A version. It will be considered for the following version after 2007A.
    There is a chapter called "Authorization Checks" in the SDK Help file specifying:
    "SAP Business One performs authorization checks for the business objects and the infrastructure and meta data objects. If a user does not have full authorization to access the objects in SAP Business One, the user will not have permission to access the data belonging to the business objects using the DI API."
    Regards
    Trinidad.
    *sigh*

  • API access to Java Plug-In "x: clear classloader cache" in Java Console

    I am using some third-party tools in a Java application I am developing.
    I am encountering an error that can be worked around manually by issuing the subject command at the appropriate time. Is there API access to this functionality, so that I can programatically invoke the workaround?
    Thanks in advance for your time and consideration.

    Well, I finally came to a solution that is acceptable at least to me, if not ideal. I've started using the BouncyCastle lightweight API. This makes my code somewhat more complicated, and I had to bundle up all the BouncyCastle classes that I'm using into a jar file, and download that to my applet along with my client jar file (after signing the jar files). Using this Lightweight API bypasses the Cipher.getInstance() method all together, and is a little harder to use, but at least everything is working consistently now.
    I still believe this to be a bug either in the ClassLoader or the Cipher.getInstance() method. I intend to try to write a test applet that reproduces the error in a more simple way and if I can pull that off, I'll submit a bug report to Sun.
    Thanks to all who responded!!
    Steve

  • Getting error when updating the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1

    Hi,
    I`m getting error message like "None of the apps in your project can be activated in the target. The manifest file of one or more apps contain API sets or Office applications that are not supported by
    the target Office client. To debug those apps, update manifest files to exclude any unsupported API sets or Office applications, and then start the project again. Alternatively, you can debug your apps by using Office 365 as a target." when when
    updating the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1 in manifest file though i have added host elements.
    any help in this regard is highly appreciated
    Thanks,
    Santosh Sutar  

    Hi Satosh Sutar,
    Based on the description, you got the error message when you update the apps from version 1.0 to 1.1.
    From the error message, it seems the menifest include some settings no allowed in the new version. Would you mind sharing more detail about how you update the project?
    And here is an article about updating apps for Office and menifest schema files in the project for your reference:
    How to: Update the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Is it possible to change out of the box Callout content for already existing library using some javascript API ?

    Is it possible to change out of the box Callout content (change DOM elements) for already existing library using some javascript API?
     API ?

    Hi,
    We can use CSS and jQuery to achieve it.
    Please add the following code into the Content Editor Web Part.
    <style type="text/css">
    .js-callout-content{
    display:none;
    .js-callout-mainElement span{
    display:none;
    .js-callout-mainElement{
    border-width:0px;
    </style>
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () {
    $("a[title='Open Menu']").click(function(){
    setTimeout(function(){
    $(".js-callout-body .js-callout-bodySection").eq(0).html("<span>Test</span>");
    $(".js-callout-mainElement span").show();
    $(".js-callout-content").show();
    $(".js-callout-mainElement").css("border-width","1px");
    },1000);
    </script>
    Result:
    Best Regards
    Dennis Guo
    TechNet Community Support

Maybe you are looking for

  • XI mapping calls an RFC in ERP to validate the ASN against the PO: lookup

    Hi Guys, I need validate before sending into  delivery03 IDoc      The XI mapping calls an RFC in ERP to validate the ASN against the PO                 I can check through Look up.But need which RFC will check these . Regd's Raj

  • Putting to sleep while updating

    Right now I'm downloading Mac OS X 10.5.6 update and my question is does putting the computer to sleep affects download? Because previously the computer was asleep for a while and then the package didn't work.

  • Dvi vs adc.

    I am looking for an Apple 23" monitor. See lots of ADC, and a few DVI. Which is the better way to go?

  • Regarding Service entry sheet error

    Hi, As per above subject service entry sheet make time quantity exceed error but my work order quantity available. Work order total qty 4000 m3 & service entry done qty 3200 m3 balance qty is 800, my today service entry sheet qty is 84 m3 only then w

  • Servicegen and clientgen using WL 7.0

    This is something strange .. I have a backend SLSB which I tried to expose as a webservice using servicegen. Got the Webservice working, have the wsdl, everything looked perfect untill i tried to generate the client stubs using clientgen. I used the