Activities of "kerolos.maher"

We are experiencing issues with proxy updates in the frontend. After updating the ABP service proxy using abp generate-proxy -t ng -u http://localhost:44354 -m [module name] --target [module name], the expected changes are not being reflected in the Angular application for some APIs. This leads to inconsistencies between the backend API and the generated service proxies, affecting functionality.

API with Array Parameters Not Generated Correctly

We encountered an issue with the proxy generation where an API in Swagger correctly accepts two arrays in its body, but the generated service proxy structure in Angular does not include these arrays in the request payload

(Swagger Receiving 2 arrays in a request body)

(Proxy request structure is missing body in its payload)

Incorrect Parameter Mapping in Generated Proxy

The generated proxy method for the API getPendingRequestsForActorFilterByBeneficiaryType... contains an incorrect parameter mapping. Specifically, in the params object, userId is mistakenly assigned the value of cancellationToken, while UserId is completely missing from the request.

Expected Correct Proxy Code:

Incorrect Parameter Mapping in Generated Proxy

the generated import paths are incorrect. The issue occurs because the import paths do not reflect the correct module folder structure, which varies based on the module name.

Generated Proxy (Incorrect Import Path):

Expected Correct Import Path:

Missing Imports in Generated Proxies

many files are missing required imports for DTOs and models. This leads to build-time errors in Angular due to undefined types.

Examples of Missing Imports:

Correct Import That Should Be Generated:

import { LookupDto } from '@proxy/shared';

Thank you for your response regarding the option to create a sample CRUD page. However, I would like to clarify my request:

I am specifically looking for the HTML code of the sample pages and component designs showcased in the Lepton HTML template preview, as seen in the attached screenshot. These sample pages include pre-designed layouts and components like dashboards, tables, forms, and other UI elements.

While I understand how to create a CRUD page within ABP Studio, my goal is to directly use or reference the HTML structure and styles from the template preview in my Angular project. Could you please guide me on how to access or download the full HTML code for these sample designs?

Looking forward to your assistance.

Thank you for your support!

I am currently using the Lepton theme with an Angular startup project. I have also downloaded the source code for the template, but I noticed it does not include the sample pages or component designs showcased in the HTML template preview (https://x.leptontheme.com/side-menu).

Could you please guide me on how to access or download the full template preview, including the sample designs, to better integrate them into my project?

Looking forward to your assistance.

Thank you for your support!

Showing 1 to 3 of 3 entries
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