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({})?

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13