Beginner Programmer on OS

Hello, I dont understand where DataAction1 must set a value to the Out1? Can you help?

Снимок.PNG

Solution

Hello ,

Please go through this link for better understanding , go through these courses everything is nicely explained for Beginners.

Also check this -
https://success.outsystems.com/Documentation/11/Developing_an_Application/Implement_Application_Logic/Actions_in_Reactive_Web_and_Mobile_Apps

Thanks & Regard

Tousif Khan

mvp_badge
MVP
Solution

Hello Vasily,


Welcome to the OutSystems community!

Each Data Action should have at least one output, in your screenshot you have one placed default by the platform called Out1.

In most cases, it should be of the same type as the output of the query. In your case that should be a List of customs, like in the image below:


Afterwards, the IDE will still say that you need to assign a value to your output variable, something like this:


So, let's do that by assigning the output of the query to the output variable:


Kind Regards,
João

Hi Vasiliy,

You can set the value of Out1 with a simple Assign after fetching your data inside DataAction1:

Regards

Solution

Hello ,

Please go through this link for better understanding , go through these courses everything is nicely explained for Beginners.

Also check this -
https://success.outsystems.com/Documentation/11/Developing_an_Application/Implement_Application_Logic/Actions_in_Reactive_Web_and_Mobile_Apps

Thanks & Regard

Tousif Khan

mvp_badge
MVP
Solution

Hello Vasily,


Welcome to the OutSystems community!

Each Data Action should have at least one output, in your screenshot you have one placed default by the platform called Out1.

In most cases, it should be of the same type as the output of the query. In your case that should be a List of customs, like in the image below:


Afterwards, the IDE will still say that you need to assign a value to your output variable, something like this:


So, let's do that by assigning the output of the query to the output variable:


Kind Regards,
João

Hi Vasiliy,

You can set the value of Out1 with a simple Assign after fetching your data inside DataAction1:

Regards

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.