Moises
(Moises Marquez)
July 4, 2022, 7:10pm
1
Hi Community,
I am having issues with $db object on the server.js file in a SMI app.
when i’m executing a method from the server.js file i’m getting this console error:
this how i invoke the method:
client.request.invoke('methodName')
and this is the error:
and that’s all printed in console
this are the nod and fdk versions i’m using
Thanks.
Hello @Moises
Can you share the server.js code snippet with me, so that I can check how the $db method is used?
It would be helpful if you can share the zip file in DM as well
Santhosh
(Santhosh Balusamy)
July 13, 2022, 6:58pm
4
@Moises ,
Good Day! Welcome to the community,
Are you trying to call $db via SMI in Iparams or App rendering?
If you are trying in Iparams it won’t work as we did not support DB on the Iparams page.
Hope it helps
Thanks
Moises
(Moises Marquez)
July 15, 2022, 5:57pm
5
sorry Shravan, I’m not allowed to share the source code
Moises
(Moises Marquez)
July 15, 2022, 5:58pm
6
Hi Santhosh, I’m trying to call $db on full page app and sidebar sections.
Santhosh
(Santhosh Balusamy)
July 15, 2022, 6:36pm
7
@Moises ,
Good Day!
Can you please share with us the sample app with the issue reproducible?
so that we can try our best to find an effective solution.
Thanks
Saif
(Saif Ali Shaik)
August 12, 2022, 12:15pm
8
This is weird.
@Moises — Were you able to find a fix for it? Or are still able to reproduce the issue?
Moises
(Moises Marquez)
August 15, 2022, 4:33pm
9
Hi, i still having this issue
Saif
(Saif Ali Shaik)
August 16, 2022, 3:17am
10
I sent you a private message to further discuss any details that you don’t want to share publicly. Let’s continue our discussion further.