Parse OpenXML Office Docs in Node.js project - node.js

We want to control office docs properties like Readonly,Print, save etc using openxml in our node.js project, we already sorted out mechanisms for reading and writing openxml with JSZip, and we need help to restructure and parse the openxml context to a present document then we can make this work.can you guys please suggest any recommendations, thanks in advance

Related

Reading data from shared teams text file using VBA in Excel

I have created a tool using VBA that performs several pulls from BigQuery and does a variety of transformations and summarization inside of Excel. The tool is an evolving tool and to make sure that the users are using the most current version of the tool, I would like to have a version file saved on the shared Teams page that the tool would check and if needed, download the newest version onto the tool to the user's folder. I have scrubbed the web for several solutions to this ask but not one that actually works. Below are the links to the solutions I have attempted. The issue is that the connectors for opening text files seem to not work with a URL from Teams. I need to know how to make this work. Any help would be greatly appreciated.
https://www.excel-easy.com/vba/examples/read-data-from-text-file.html
This solution doesn't seem to work with a URL as I get a Bad Filename error.
https://chandoo.org/forum/threads/download-file-from-sharepoint-and-save-it-in-system-folder.41779/
Problem with this one is that the download for some reason shows completed but actually never moves local.
Connecting to Excel file stored on SharePoint via ADODB
https://www.connectionstrings.com/textfile/
I attempted to use this solution using the text file connection string but was not successful here either.
https://www.exceltip.com/import-and-export-in-vba/import-data-from-a-text-file-ado-using-vba-in-microsoft-excel.html
Again, another bad name error.
Any help or advice on how to connect to a simple text file shared in a Teams folder would be greatly appreciated.

CoercionType doesn't support Image for Excel web add-in

For office js API, based on this link, Office.CoercionType.Image should be supported in Excel. But I find Office.CoercionType.Image is undefined in Excel Online. Only Text, Matrix, and Table have values.
BTW, it seems that OneNote also supports Office.CoercionType.Image which is not listed in the document.
Thanks for your post, This is a known gap for Office.CoercionType.Image that is not supported for Excel Online at this moment, we have documented for this at https://learn.microsoft.com/en-us/office/dev/add-ins/reference/requirement-sets/image-coercion-requirement-sets
What's your scenario? can you use shape.AddImage?
Another suggestion: would you please provide us feedback via https://officespdev.uservoice.com/forums/224641-feature-requests-and-feedback?category_id=163563 and upvote for this feature. thanks for your support.

How to use google docs or sheets as input document to knowledge connectors

I am trying out the features of Knowledge connectors in Dialogflow Enterprise Edition. Where I have tried adding documents from storage-bucket with both CSV and HTML format and it works as expected.
But when I tried accessing documents from Google Docs or from Google Sheets it throws an error saying 'Fail to crawl'. I assume this is due to lack of permission, please let me know is there a way to read it from Docs or sheets directly if so how to do that.
Dialogflow currently does not support this. The workaround is to convert the Google Sheets into a CSV and importing into Dialogflow.
https://dialogflow.com/docs/agents/knowledge-connectors

Aspose Sharepoint and Alfresco

Does Aspose.Words for SharePoint work with Alfresco running on Linux or does it only work within a Windows SharePoint server?
#eon
I work as developer evangelist at Aspose and I would like to share some details with you regarding your query.
Aspose.Words for Sharepoint works with Microsoft Sharepoint Server. It is used to convert or combine Word documents with in Sharepoint. As far as your question is concerned, I'm afraid, it is not very clear that how you want to use Aspose.Words with Alfresco. If you could shed some light on that then it would be easier to guide you.
However, as I can see Alfresco is based on Java. Does it provide an interface for Java development as well? Would it be feasible to use a Jar file to process Word documents programmatically with Alfresco? If so, you may try Aspose.Words for Java. This component is a simple Jar file which allows you to create, edit, and convert Word files using Java programming. Please see if this might help in your scenario.

Excel & Microsoft.Office.Interop

I want to use the Microsoft.Office.Interop to read an Excel file from a web page.
Do I need to have Office installed on my web server?
I am not doing any manipulation to the excel file, just reading it in and storing the values to another page. I have no issues when I run on my local machine but I have Excel installed on my local machine. Anyone that knows this answer I would greatly appreciate your input.
Thanks
JD
Using Interop requires that you have Office installed on the server. For websites, I would generally recommend using something like the open-source NPOI project. However, if all you ever want to do is read, consider using ADO.NET (see this question for more info).
I would add that if your using Excel as a datasource the ADO approach is much faster and requires less overhead. It restricts you to excel sheets that are pretty much structured as flat tables. But if I can use that method (all restrictions considered) I prefer it.
Ernie

Resources