onenotedev / onenoteapi Goto Github PK
View Code? Open in Web Editor NEWJavaScript library to make calling the OneNote API easier.
License: MIT License
JavaScript library to make calling the OneNote API easier.
License: MIT License
OneNote add-in does not seem to be able to be uploaded via admin center or integrated apps for the organization
Being able to deploy and publish OneNote Add-in using Microsoft 365 admin center.
Cannot deploy the OneNote add-in for the organization
Try to upload a manifest for OneNote add-in
Attached the manifest with the image and end point URL's removed.
manifest-staging-onenote-ticket.txt
I am trying to get paragraph html in OneNote. I have a line with various fonts, sizes, bold/italic and foreground and background colors. The HTML I get back contains styles for everything except colors. So the color information is lost.
The styles for the span tag should return color and background info for the paragraph.
Similar for other styles like bulleted lists.
OneNote bug ID 4632802- For more info see OfficeDev/office-js#1532
I have tried creating a new taskpane and including a WebApplicationInfo element in the manifest using the same credentials as my Word/Excel/PPT add-in and set the taskpane to load the same url.
When I open the taskpane in onenote after uploading the add-in manually I see the following error in the console:
TypeError: Office.auth is undefined
However as far as I can tell from the doco here: https://learn.microsoft.com/en-us/javascript/api/office/office.auth?view=common-js this should be available to me?
I would like my taskpane to be able to use the same authentication mechanisms for OneNote as the other office apps.
Hello. I cannot get pages with any URL. But in dev site it works.
For reproduce - just query any pages in any sections.
What should i do?
We currently assume the token passed to the API wrapper is a bearer token, whereas it could also be something else e.g., RPS. We should be more flexible here.
When trying to fetch HTML of the whole page in onenote add in, analyzePage() returning value as null.
Here's a code snippet:
await OneNote.run(async (context) => { const page = context.application.getActivePage(); return context .sync() .then(async function () { console.log(page.analyzePage()) }) })
Here's what it logs in console:
{ m_isLoaded:true, m_type:0, m_value:null, value:null, [[Prototype]]:Object }
I can't remember why we even need to use jquery in this project, but I just got a notification saying there's a (minor) vulnerability in the version we're using.
This is also probably a good opportunity to investigate if we need jquery at all (it's overkill for something like this)
https://docs.microsoft.com/en-us/office/dev/add-ins/quickstarts/onenote-quickstart
I tried to run the code from the demo but I got the following error in console:
Error: TypeError: Cannot read property 'run' of undefined
I tried to console log OneNote and it returned undefined
I used Mac and OneNote online in chrome
used the newest versions of yo and office generator
https://www.youtube.com/watch?v=2GHCR61XjMo&ab_channel=RoeiBracha
##Important
this is an old issue that moved as you asked from:
OfficeDev/office-js#1142
I am no longer have a macbook to check it, but I think its happend on windows too
@lindalu-MSFT @ElizabethSamuel-MSFT
Hi,
I'm trying to consume this endpoint: Microsoft.OneNote.Api.GetWopiProperties(frameAction='edit')
Using an Azure AD v1 OAuth token, this however fails with:
{
"error": {
"code": "10002",
"message": "The service is currently unavailable. Please try again later.",
"@api.url": "https://aka.ms/onenote-errors#C10002"
}
}
Any idea if this is possible at all? //cc: @jogonzal
This repo is a WIP and there's still a fair number of requests that we need to support.
https://dev.onenote.com/docs
I want to be able to have the ability to have an app modify the order that pages appear in within sections.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.