Coder Social home page Coder Social logo

Comments (10)

isabela-dominguez avatar isabela-dominguez commented on August 10, 2024

Thank you for sharing this issue @isadovskiy-numatic . Connecting you with @wangyun-microsoft who may be able to help.

from office-js.

isadovskiy-numatic avatar isadovskiy-numatic commented on August 10, 2024

Thanks, @isabela-dominguez.

@wangyun-microsoft , for me, the main question at the moment - if it's expected to use data URLs with the document.compare() API? If it's expected to work - seems like it's a bug (because currently I was not able to get it works).

If data urls are not expected to work, I'm looking for advices/suggestions - how to compare currently document to another one, which is dynamically generated.

from office-js.

YijunMS avatar YijunMS commented on August 10, 2024

@isadovskiy-numatic Thanks for reaching us.

Yes, filePath can refer to an online Word Document. For example, if the document is hosted on SharePoint, then you can get the valid url from your SharePoint Site (in "Detail" of the document, there should be a "Path" Tab, which allows you to copy its absolute path).

from office-js.

isadovskiy-numatic avatar isadovskiy-numatic commented on August 10, 2024

Is it possible to compare dynamically generated documents, without the necessity to upload them temporary to the remote web storage? Do data urls are expected to work in the future with the compare() api?

from office-js.

YijunMS avatar YijunMS commented on August 10, 2024

@isadovskiy-numatic Currently compare Api expects to take Url to a web Document or file path to a local document. For the scenario you mentioned, I guess a good way may be to allow directly providing the document data (for example, as a Base64 string) instead of using its Url or File Path. In this case, we may need to develop a new Api (for example, compareBase64) that takes those parameters. I think @wangyun-microsoft and @stevefengjin can help to specify the details of this scenario.

from office-js.

isadovskiy-numatic avatar isadovskiy-numatic commented on August 10, 2024

Thanks, @YijunMS.

Does it worth to expect new API like the proposed compareBase64 by the end of this year?

from office-js.

stevefengjin avatar stevefengjin commented on August 10, 2024

Hi @isadovskiy-numatic , could you please provide your contact information in this form: https://forms.office.com/r/QayRq1FVEb (to be protected vs posting here in GitHub)?
We'd like to schedule a follow up meeting to deep dive the scenario and your requirements. Please be informed this Compare API is in preview, and we don't have any committed ETA for updating this API or creating a new API, but your feedback will certainly help us understand the issues in depth then make necessary improvement.

from office-js.

isadovskiy-numatic avatar isadovskiy-numatic commented on August 10, 2024

Thanks for response, @stevefengjin. I filled the provided form.

from office-js.

arashd avatar arashd commented on August 10, 2024

I have the exact same question (#4740) Can I expect to get updates by subscribing to this issue? Is there a URL where I can track the results of your follow-up meeting?

from office-js.

YijunMS avatar YijunMS commented on August 10, 2024

@arashd Thanks for reaching us, please see the reply in your original GitHub thread.

from office-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.