Coder Social home page Coder Social logo

Comments (6)

jipyua avatar jipyua commented on August 10, 2024

hi @ishanig11 thanks for reaching out. So far for Word there is no direct API to set the file name, but if your document is a new file and hasn't be saved, then you can use the second parameter of document.save() API to provide and set a file name. See here for details: https://learn.microsoft.com/en-us/javascript/api/word/word.document?view=word-js-preview#word-word-document-save-member(1).

For any other new API requests, we track Office Add-in feature requests on our Microsoft 365 Developer Platform Ideas Forum. Please add your request there and we will triage accordingly. thanks.

from office-js.

ishanig11 avatar ishanig11 commented on August 10, 2024

@jipyua : I perform following steps:

  1. Open blank document in online office
  2. Load other document content into it using insertFileFromBase64 API
  3. So in this case how I can change name of document?

from office-js.

ishanig11 avatar ishanig11 commented on August 10, 2024

@jipyua : Any update on above question?

from office-js.

jipyua avatar jipyua commented on August 10, 2024

@ishanig11 at this case, I am afraid so far there is no way to change the name. As mentioned earlier, that will be a new feature request. We track Office Add-in feature requests on our Microsoft 365 Developer Platform Ideas Forum. Please add your request there and we will triage accordingly. thanks.

from office-js.

ishanig11 avatar ishanig11 commented on August 10, 2024

This is really blocker feature.

from office-js.

shanshanzheng-dev avatar shanshanzheng-dev commented on August 10, 2024

Hi @ishanig11 Sorry for that. We recommend you to upvote a Tech Community Ideas item, this will give us visibility of the commonality of it and will help with our prioritization. If we end up working on this issue, we will re-activate as needed.   Thanks.

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.