Using ExcelServices in Office 365? - excel

I use Office 365 plan E3 and I want to copy and modify an excel file within a document library on the server. Goal is to read some values from a listitem and update the excel with these values. In the excel file there are several formulas that do the reporting the customer wants.
I already tried developing a sandboxed solution with excelservices.dll referenced, but SharePoint doesn't allow to execute this solution because of partial trust problems.
I also tried to generate a proxy for ExcelServices.asmx, but WCF needs a configuration file and in O365 I can't change web.config to add the config-sections - and it's not so much fun to generate and parse soap messages manually.
Are there any suggestions how to solve this or is it still impossible?

SharePoint have some embedded function of Excel services - maybe You can use webpart like Excel lists or something similar?

Related

Excel Javascript API - Sharing

(Desktop version) I'm new to using the javascript API for excel, but is it possible to create an excel add-in and share with other users without having to add the add-in to an app source etc? Can it be embedded in the excel file etc. I'd like to share scripts with other users the same way that I can share VBA if it's possible?
for security reasons as well as to make manageability of your add-ins easier, we do not store the code within the workbook, like VBA. Instead, the javascript is hosted on your website and we have a reference to your add-in saved in the workbook.
What this means, is to get a similar experience to VBA, you must either have the add-in hosted on app source (which will make it accessible via the Office Store), OR each user in an organization must have the add-in deployed or available to them (here we recommend centralized deployment as it will give the most robust experience).
This has all the current deployment options you can use for Office add-ins: https://learn.microsoft.com/en-us/office/dev/add-ins/publish/publish
thanks!

Sharepoint Foundation 2013

I'm working on a project in work and I just have a query regarding a page. So I want to effectively place an excel file "behind" a page and then on the GUI of the page have a search criteria which will show users their search results from said excel document ?
Is this possible to do ? I can't seem to figure it out if so.
Thank you in advance for your help.
C
Depends on edition. (Foundation, Std, Ent)
You can:
Import the Excel file to a SharePoint list, and then use search.
Store the Excel file in a library, connect to it using Business Connectivity Services (BCS / BDC), display it as an External list, and the use search.
Store it in a library, and use custom JavaScript to call the Office Online Server's REST API. (You can return ranges, not sure about search methods.)
Setup the Excel file for Excel Web Services, publish to SharePoint and add an Excel Services Web Part. (Enterprise Edition Only)

Excel and Office.js access to CustomXml Part

Our Web Application stores/creates documents for clients. Our clients download these document which contain custom tagging parts which are client specific and stored the customxml part in both Excel and Word documents. We currently use an activex ribbon bar app that retrieves these parts and displays them for the user. This allows them to access these parts to be inserted into the document by the ribbon bar app.
We then sought a better and more compatible way to accomplish this to get away from activex but also allowing clients that use older version of Word and Excel to continue to use the activex control.
Microsoft assisted us in creating our Word Addin that used Angular and Office js to accomplish this in MS Word.
Now we need to replace our Excel ribbon bar app. I am leading the creation of this tool and found that Excel API currently does not allow access CustomXml Part in the document structure.
Is there any way to access the customxml part in Excel?
Is there any plans to allow access in a future release.
Can you recommend a best practice for storing and retrieving these part if the first two question are no.
We are using Angular2 and Office.js to create the new addin.
I believe this is coming soon in API set 1.5 : see the open spec details here
https://github.com/OfficeDev/office-js-docs/tree/ExcelJs_OpenSpec/reference/excel
As Charles mentioned, Custom XML parts API will be available as part of Excel API #1.5 set.
If you have 1702 build of Excel, you can test this out now. See here for details.

Dynamics CRM: write from Excel to CRM

I have the following customer scenario:
User clicks on button in Excel and data from certain Excel-Sheet is transferred to Dynamics CRM.
Someone ever did something like this? Possible with VBA or JavaScript?
Thx!
Out of the box CRM provides the ability to import Excel spreadsheets to create or update existing records.
Or you can always build something custom, manipulating CRM data via the web services.
I have done somewhat similar thing with excel, except i wrote vsto addin that used bit modern approach. You can easily use crm sdk ddl when writing add-ins for excel.
But with VBA i think you might hit quite wall there, you would have to write almost all methods over.
My prefer for here would be write vba script that send excel sheet data to webserver (node.js, .net) and there you can make actual data transfer to crm api. One good example would be writing csv file from data and save it to server, trigger server to manipulate that data.

Dynamically Updating Excel Web Part Excel File

I have multiple Excel Web Parts in my SharePoint 2010 site. Each web part is connected to an Excel work book which is generated automatically by a scheduled task on a separate server. Given this, is there a way to automatically map a newly generated excel file to an existing excel web part instead of manually updating them?
I saw a tutorial but it uses the SharePoint dll and other dlls which are found from the SharePoint server itself and as far as I know, I can only execute these items if I have SharePoint installed locally. Is there any way to make it work without having to install SharePoint locally? By the way I was referring to this tutorial from MSDN.
Edit
I was able to create web parts programmatically using SharePoint.Client.WebParts but I'm having problems creating Excel Web Access Web Parts.
I was able to make it work by using the same concept found in this page.
All that I needed to do was properly escape quotation marks from the exported web part file in order to map the correct file.

Resources