Get cross-company data in Azure data factory using ODATA - odata

I am using Azure data factory - copy activity to export data to the data lake. I am using Dynamics 365 F&Ô- ODATA and I have data in multiple companies. I would like to get data from all companies for one of the entities and export it to the data lake. When I preview my dataset with a table then I can see data only for one company. I try to add the parameter "cross-company = true" but still it is showing one company data.
How can I solve this problem?
Regards,
Parag Chapre

Preview option in dataset only gives you few rows of data for sampling purpose only. We cannot rely on preview option to see our entier data. Kindly execute your pipeline and validate your results.

Related

Dynamics365 Operations: Created/Updated timestamps with Data Entities

I am new to Dynamics FnO, and recently followed the articles to access data through oData, and was successful.
What I see missing in the data objects that I normally receive in integrations out of the Microsoft World is the created/updated timestamps.
I am trying to put a synchronous data flow from FnO to my NodeJs application, so that my app keeps polling data from FnO whenever there is a change. This can be achieved easily if there were timestamps with the data that flows in.
Is there a way to setup those timestamps somewhere?
You have to make sure that the underlying table that you are querying has the fields added on it, and also that the data entity you are accessing through odata has the fields setup up on it as well.
Make sure this is setup on the table:
And then you have to drag and drop the field(s) from the datasource field list to the exposed field list in the data entity:
After this, you will have these fields

Where is the location of test plan tfsserver databases?

I know that tfsserver has built-in report server. But I want to get a custom report from test case steps. So I need to query some database that belongs to tfsserver. I need the name of this database and if it is possible the structure of it.
Microsoft doesn't support interacting directly with the operational databases. If you want to get data out of TFS the supported ways are either the warehouse database (Tfs_Warehouse) - but I don't believe that includes test steps; the TFS Cube (Tfs_Analysis) - also doesn't include test steps; or the API - which should allow you to retrieve test steps.
So my advice is to retrieve the data from the API. Or alternatively create a custom warehouse adapter that pushes this data over to the warehouse database.

How to make a direct query to the DB in order to get the list of Iteractions by Team

Thinking in user stories, my requirement would be:
As a development department manager, I want to get the full list of iterations by team project, in order to have a full view of the milestones set for all the teams.
My initial approach is a query to the database. Which could be a good approach to build this query?
Is there another way to get it?
Querying the TfS operational store directly is unsupported and can lead to your system being unsupported. You should use the reporting tools instead.
TFS creates a data warehouse and cube where all the information is stored for reporting purpose's. You can just plug Excel into the data warehouse a query tye data that you need. If you want trend analysis you can also query the cube.
http://msdn.microsoft.com/en-us/library/bb649552.aspx
If you have team explorer installed you can also retrieve work items from queries to the operational store through the API. Any query that you can get in TFS you can load into excel.
http://msdn.microsoft.com/en-us/library/ms181675.aspx

ios data storage and webservice query best practices?

I am developing an app that fetches and pushes data to a web service and I would like to know How to do it right
My app lets the user create a "group" and add his/her friends to this group where everyone would participate in this group
My initial design got me with these Data Models
Group,
Member,
Contribution
I am thinking about using a java web backend with JSON to serialize the data before sending.
Now Here are my questions:
1-What is the best way to store my models locally on the client? is it Core Data?
2- I don`t wanna fetch the group and contributions data every time the user tries to view them, so I am thinking about adding a property to the group called groupSerial which will be increased with every change , In this way the client app will query the server for the serial and fetch the group if it is different from its local version
Is this a good idea and the best way to do it? if not what is?
3- I would like to fetch the data using HTTPS requests (GET for fetching and POST for updating) , Is this the best way to do it? any best practices to consider?
4- Is it a good idea to sub class the core data entity class and add utility methods to do relative work that involves the super class
For example I would have a core data entity class called Group , so I would make a sub class called XYZGroup that would have the following class methods
+(Group)fetchGroup:(NSString gid); // return the latest version of the group ,whether from local storage or the web server
+(void)newGroup:(Group)group; //push the new group to the web server and update local data
+(NSArray)getGroupsSummaries;//Return an array of meta data about joined groups
Also , I would have a class called XYZMember that would have some methods like:
+(NSString)myMemberID;
+(NSArray)getMembers:(NSArray)numbersInContacts;//Takes a list of phone numbers and returns an array of members that have the app installed
5-Do I need additional entity classes to store the data locally , for example: Do I need a core data entity class called Mygroups that would have an array of the groups the user is currently in
Thank you very much
1, if you want to store lightweight data only, json is better than core data.
2, it depends what you implement web service and what you want to export
3, you can use WSDL xml file and use WSDLParser.app to generate obj-c code.
4, up to you
5, up to you

orchard contenttype get data from 2 different databases

My situation is that i have an external database and i should present the information in an orchard hp. The customer wants also to set new information and both should be shown via projection.
Short with simple example type book:
Books are in an external db.
Books should be set in orchard, in the orchard-db not in the external-db.
The query - projection should get both books-entities and displayed.
Is there a simple orchard-way to implement my problem?
Unfortunately, I did not find any sample for what ... Any suggestions?
Thank you
From what you've described I understand that in short you want to manage some data from an external data source as Orchard content items. This is well possible, it needs the following to happen:
Create a content type for your data.
Periodically pull in changes from the external data source.
Programmatically create content items of your new type from the data pulled in.
Since this is not an everyday scenario I don't know of any tutorials out there for this although there is at least one sample: the External Pages module does pretty much this, by pulling in Markdown pages from a Mercurial repo.

Resources