UI5 OData for a flat structure - odata

In my company we started using UI5 and I've already done 2 simple reports.
When I created the OData for the report I imported it from a function that exported a table type.
Now I've created a Function that imports 2 RANGES and exports a flat structure and I have no idea how to create the OData for it.
I've looked up in the internet and here in stack overflow and couldn't find any resource regarding this.
How do I make the OData so the UI5 developer can consume the data in the flat structure.
I'm sorry if its too general, if it is let me know and I will try to add more info.
Thank you.
EDIT: Do I need to just export the fields instead exporting the structure?
Its a 4 fields structure right now.

Related

Annotation for Dropdown sending Values to extract values

I am working with a SAP NW 7.4 and I am using OData with Annotations (no CDS, SEGW & Code) for SAPUI5 Apps. These apps are built with Smartform and Smartfields.
My question is: I have to extract the info an entitySet which is used as ValueList in SAPUI5 but, I should receive some parameters from the screen when the call to the OData Service is called.
I tried to send the Parameter from my Entity Type to the related Entity by creating a new ParemeterIn as in the following picture:
With the following:
But only works when it is displayed as "SearchHelp".
I searched here and on SAP but I cannot find anything similar that helps me out. Suggestions???

ODATA as an icCube data source

I am trying to load open data from the Dutch government. The data comes with a specific format that is specified in the pdf document you will find when searching on "Handleiding CBS Open Data Services".
What needs to be done to link to an open data source within icCube? Is this something specific (required new functionality) or can this be done with one of the existing datasources?
For the time being even though we support some json databases (e.g. MongoDB) there is no direct ODATA support.
It's possible to develop your own datasource. Excel plugin is an example of this.

Are there mapping/graphing front ends that can call the Socrata API?

How complex a project would this be?
There is the issue of integrating the dataset specific API.
I.e. dataset column names, dataset metadata perhaps
There is the issue of integration higher level APIs.
I.e names of datasets available, information about the specific portal, ...
Am I missing the point here with my question? Or would this a major coding project?
RLH
There are a couple of options you might take a look at:
You can actually create maps from Socrata data right from within our data exploration tools. Here's a support article on how you can do so
Using the GeoJSON output from our API, you can pull data into tools like CartoDB without needing to download it first
You could create a map mashup using a library like Leaflet or the Google Maps API. Here's an example of how to do it with the Google Maps API

Is it good to use Excel interop in an MVC.net application to Expose Excel calculations to web

I have a web application developed with MVC.net. In this application i create a simple user interface to represent some cells of an excel file. When user change values of the UI it has to get reflected in the Excel file and needs to do some calculations and return results to the UI. I was using Excel interop for this solution and i don't need to save it back to the Excel.
Is this a fine solution or is it not a recommended one. If there are any other solutions please do let me know.
Thanks in advance.

ASP.NET: How to retrieve data from access/Excel file?

A company is creating a web site for the organization I work for. Since the web site is still being developed, some modules are not yet there. For instance, in order to print data obtained from a query, one needs first to export it to Excel or Access. Then, from Excel or Access, it is important to do some adjustments (adjust columns width and rows height, modify titles, so on) to make it easy to print.
I would like to create a small web application that will avoid us doing those operations manually. Unfortunately, the other application is in JSP/Java while I only know ASP.NET/C#.
How can I retrieve all this data, which are either in Excel or Access, and reload them into my application for printing?
Thank you
This guy did a brilliant article on getting data from excel using ado.net, I have written a program based on his instructions and it is working fine with Excel 2007 files, and can handle very long column data as well.
Link to article
Have you considered writing a macro in Excel instead of trying to do everything on the server? Creating a macro in VBA isn't difficult, and you can distribute it as an Add-In to your users. Takes some good instructions for them to install it, but avoids all the potentially messy issues of import/export of Excel files.

Resources