168
Views
13
Comments
ODC Not fetching datas?

Hi everyone,

I'm following the ODC Guided Path and I've done all the requests written on the PDFs. 

If I open the Directory App on the browser, and I look up at my Employeers list, this is what I see:

Which is definitely OK. I've tried to add another user and it works perfectly.

When I see this list on the ODC Studio App by the way, I can't see anything:

And clicking or hovering over the info button does not give me anything. No error messages, no suggestions. Seems like it cannot load the Employee table (from the app, but I can see my employees from the browser as you saw before).


That's why, when I try to select the manager in the Employee Details screen, I get no datas:

Any ideas on how to solve this problem? I double checked every passage in the path and saw if I made any mistake following the guide, but I haven't found an error.

2023-10-16 05-50-48
Shingo Lam

I got the case, but logout and login again in ODC portal, it loads

2022-12-16 10-02-43
Alberto Andrenucci

Tried, but nothing seems to change.

2022-12-09 04-50-17
Shubham Doshi
2022-12-16 10-02-43
Alberto Andrenucci

Sure thing I'll do it, but I'd also like to see if I've made any error.


2022-12-09 04-50-17
Shubham Doshi

It happened with me as well. Don't you think its a bug?

2022-12-16 10-02-43
Alberto Andrenucci

Sure I do, but don't know how to solve. Closing apps, restarting PC, logging out and re-logging in don't seem to function at all.

2022-12-09 04-50-17
Shubham Doshi

I just skipped that step. It doesn't impact your application. Just the impact is on the displaying data.

2022-12-16 10-02-43
Alberto Andrenucci

I'm facing the same problem with the Logs, no Logs seem to appear after the REST Api call.

2023-01-26 23-09-29
Wellington_Araujo

Hi everyone,

This problem is because the Employee doesn't have information on the departments and location and the aggregate "GetEmployees" have "Only With" with them.  


It's necessary to add the information to the database. I created 2 screens, Location, and Department screens to add the information. 

After that, I changed the Employee's profile.

and, after that, the field manager shows the information.


I hope I have helped them.


2018-10-09 16-27-17
David Novoa

Hi all, I had the same problem, the entities that should be filled with the timer (that loads the data when published) is not working as expected:

 

I have tried many ways to load the data but it´s not working. Now I have many dummy data in database due this error. And i´ts not possible to delete all of them due the relationships.

So, I have modified the aggregate as mentioned by @Wellington_Araujo, just to retrieve the desired data.

However, Outsystems should check the Bootstrap, because I have followed all the steps in order and the data has never been loaded.

Kind regards.

2019-04-29 15-49-13
Detlev

I Had the same and made a button to load call the Bootstrap. I also editded the IF that checks if the employee table is empty, because it isn't empty; The login tries to create an employee for the user that logs in (which aparently worked for Alberto), and then the table isn't empty anymore.


The next problem is that in my case I don't seem to have access to the user table; it is empty in ODC studio and the employee that is created doesn't have a name or email, but it should have mine.

2018-10-09 16-27-17
David Novoa

Exactly, that´s the same issue that I´m facing too.

2019-04-29 15-49-13
Detlev

I rewrote the do_login client action to write my user_id (with GetUserId()), name and email directly, ignoring the aggregate from users. Now at least I can continu the training ;)

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