Open Closed

Unable to call Dynamic JavaScript Proxies from the application or Developer Console #2036


User avatar
1
cxp920 created

I am using the getting started "Web Application Development Tutorial " and the application is working. However I am not able to call the appservice from the javascript page or the developer console. When I type in the developer console "camilatest.Books.book.getList({}).done(function (result) { console.log(result); });", I get an error message saying that camilatest is not defined. See attached screen shots.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v4.4
  • UI type:MVC
  • DB provider: EF Core /
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

1 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Hi @cxp920

    Dynamic Proxy convention is camelCase. Can you try camilatest.books.book.getList({}) instead of camilatest.Books.book.getList({})?

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11