15
Views
7
Comments
Solved
Problem finishing Local Storage Excersise
Discussion

Hi I´m new to Outsystems.


I´ve got a problem finishing the "Local Storage Excercise" from the first course.

The last assign, LocalTodos = GetToDosByUserId.List, should show the mappings from ToDo to LocalTodo as shown in the image bellow

The problem is I`m not getting such mapping for ToDo as shown bellow:

I would appreciate any sugestions.

Thanks in advance.


George



UserImage.jpg
George Jovanovic
Solution

Hugo Lourenço wrote:

Hi,


You're not getting the mappings because the LocalToDos variable and the aggregate have the same type - they both are a "ToDo List".


If you change the definition of LocalToDos to be a "LocalToDo List" the mapping should appear.


Cheers,

Hugo

Hugo,


The problem is I can´t set LocalToDos to "LocalTodo List"  because this option does not appears at the pull down selector...


2016-10-03 07-54-16
Hugo Lourenço
Staff

Hi George,


In order to help you I need to check the types of LocalToDos and GetToDosByUserId. Can you please post screenshots of the LocalToDos variable definition and the GetToDosByUserId aggregate? 


Thanks,

Hugo

UserImage.jpg
George Jovanovic

Hugo Lourenço wrote:

Hi George,


In order to help you I need to check the types of LocalToDos and GetToDosByUserId. Can you please post screenshots of the LocalToDos variable definition and the GetToDosByUserId aggregate? 



Thanks,

Hugo


Hi Hugo,

This is the LocalToDos definition:


and the GetToDosByUserId

Thanks!


2021-03-22 10-11-02
Nuno Lopes

If I am not mistaken, the matching option only appears if the number of the columns is different. Do they have the same number of columns?

UserImage.jpg
George Jovanovic

Nuno Lopes wrote:

If I am not mistaken, the matching option only appears if the number of the columns is different. Do they have the same number of columns?

Thanks Nuno.


2016-10-03 07-54-16
Hugo Lourenço
Staff

Hi,


You're not getting the mappings because the LocalToDos variable and the aggregate have the same type - they both are a "ToDo List".


If you change the definition of LocalToDos to be a "LocalToDo List" the mapping should appear.


Cheers,

Hugo

UserImage.jpg
George Jovanovic
Solution

Hugo Lourenço wrote:

Hi,


You're not getting the mappings because the LocalToDos variable and the aggregate have the same type - they both are a "ToDo List".


If you change the definition of LocalToDos to be a "LocalToDo List" the mapping should appear.


Cheers,

Hugo

Hugo,


The problem is I can´t set LocalToDos to "LocalTodo List"  because this option does not appears at the pull down selector...


UserImage.jpg
George Jovanovic

Hugo,


I got it. At the pull down does not appears but I opened the dialog box, selected the entity and now it is ok.


Thanks a lot!

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