Sharepoint Foundation 2013 - excel

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)

Related

Embed Excel in a website to edit a locally stored document

Is it possible to embed google excel in my website to edit document stored locally?
My manager asked me if it is possible to integrate the Microsoft office webapp in my own website.
Clients have excel files stored on our website, we want to know if it is possible for them to open the file with a web excel page, edit the file and save the modifications. For now, they use SharePoint so it is easy for them but we intend to use an other platform.
Our client can have all the license we need.
I searched but I didn't find any solution.
I know you should be able to do this with ASP and the .Net Framework. SharePoint uses ASP pages, so you may try to do something simpler.
If you go over the Internet you'll see several solutions because people do this too.
e.g. a thing you can do is to use Open XML API to do this, and it is like reading / modifying a flat file on the server. A restriction is it has to be .xlsx / 2007 format onward.

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.

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.

Using ExcelServices in Office 365?

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?

Defining Default Open Behavior in Sharepoint 2010 + Office Web Apps with Custom Webpart

I am running Sharepoint 2010 with Office Web Apps. By default, any document of type .doc, .ppt, etc... will open within the browser from the document library. This is fine, however I am using a web part that is pulling in an XML feed that displays a search engine result list that contains URL links to Word and PPT documents.
I would like to have these links behave the same way as they do in the document library (open in browser), however the user is prompted to download these files instead. Is it possible to dictate this behavior in Sharepoint?
Unfortunately I don't think this is possible unless the documents are hosted in SharePoint and the Office Web Applications feature is activated. The in-browser behaviour is made possible by this server-side feature. I assume that the search-engine derived links you are getting will not, in general, be SharePoint hosted documents.
It is possible to open documents in the browser, but this is a client setting and will depend on the client operating system. You say you want to control this from SharePoint, and I can't think of any way you can do this.

Resources