How To Work with JSON in an OutSystems App

  Рет қаралды 16,416

OutSystems

OutSystems

Күн бұрын

Пікірлер: 7
@guptalife13
@guptalife13 4 жыл бұрын
Do you offer the JSONData extension for people to use? I can only find ardoJSON.
@outsystems
@outsystems 4 жыл бұрын
Not clear what you mean by JSONData extension? The video talks about JSON data in the generic sense, but that's just a way of expressing data records using JavaScript notation. Can you elaborate?
@joaomelo9210
@joaomelo9210 5 жыл бұрын
Why would you do a loop in the details screen as you already have the CustomerId. Just pass it as a parameter and filter in the aggregate. It is a much better solution performance-wise. Even so, good video.
@outsystems
@outsystems 5 жыл бұрын
Andrew here...May not have been clear, but what's being passed to the details screen is not an Entity Identifier. It's a text ID that's embedded in the JSON data itself. So in order to match that up, we need the loop in the preparation. You could certainly architect this in a different way if you wanted to import the JSON and store it locally, but given the use case I'm illustrating, looping over the records is how I chose to match up the input parameter with the ID value embedded in the JSON. If you knew that your ID would be unique in your external data, you could also potentially set up a filter on the JSON attribute, but when dealing with data that's not in your control, you have to be careful about such assumptions. Thanks for pointing it out, though. Glad you liked the video!
@victorgasparoni
@victorgasparoni 5 жыл бұрын
@@outsystems I believe you could've ended the loop as soon as you find the customer id.
@kiliancroese
@kiliancroese 4 жыл бұрын
​@@outsystems I had the very same idea as @ João Melo. Even in this case it is absolutely not necessary to retrieve the entire list. The video shows that the CustomerData entity also has an id attribute. So we really should be passing that id to the detail screen and retrieve only one record. I don't think that it is really clear for everybody, especially novice developers, that doing it as shown is really a bad idea. I think training video's like these should not show bad practices.
@outsystems
@outsystems 4 жыл бұрын
Thanks for the feedback...appreciate the suggestion.
How to expose REST APIs in OutSystems?
8:01
OutSystems How-Tos
Рет қаралды 11 М.
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН
How to Work with an External MySQL Database
9:51
OutSystems
Рет қаралды 12 М.
7 Database Design Mistakes to Avoid (With Solutions)
11:29
Database Star
Рет қаралды 99 М.
Consume a REST API in 10 minutes with OutSystems
13:13
OutSystems
Рет қаралды 43 М.
Quick API Endpoints Using Data API Builder
12:35
Microsoft Developer
Рет қаралды 11 М.
What is an API?
3:25
MuleSoft Videos
Рет қаралды 5 МЛН
Using JSON IN C#! Serialization & Deserialization made easy!
14:47
tutorialsEU - C#
Рет қаралды 38 М.
How to add select and select all checkboxes to tables in OutSystems?
5:46
OutSystems How-Tos
Рет қаралды 16 М.
Expose a REST API in 10 minutes with OutSystems
9:34
OutSystems
Рет қаралды 17 М.
Pull data from API using Python
6:27
The BI Hub
Рет қаралды 55 М.
Always Check for the Hidden API when Web Scraping
11:50
John Watson Rooney
Рет қаралды 662 М.