Activities of "yekalkan"

Hi agan,

I've just watched the videe you sent to @alper.ebicoglu.

You are creating the CRUD page in the final application (NirvanaHealth). This is wrong. You have to add the newly created module to ABP Suite (...\aspnet-core\modules\UserManagement). Then generate the page on it.

I will check the error in the log file.

Hi,

This log is very usefull.

Do you have angular\.suite\schematics directory in the proejct? If so, can you run npm install command in it and try again?

Hi,

I've created a new project from Module Template (v5.1.3) named Mcp.UserManagement via ABP Suite (v5.1.3) and then generated a new CRUD page named Application with the same properties you provided.

It generated files under angular\projects\user-management\src\lib\applications\application folder for Angular UI.

And then i run the Angular application and am able to see the newly created page:

Do you made any change after project creation? Because i am unable to reproduce the issue.

Do you see the Creating Angular UI step while creating the CRUD page? Does it throw any exception?

@epieters

You need to install the packages, that i listed above, to the corresponding projects in your solution.

For example: Install Volo.Docs.Admin.Application to the project where Volo.Docs.Application is installed. Then add DocsAdminApplicationModule dependency next to DocsApplicationModule dependency in the ABP module class of the target project.

Hi @vijay.nallala,

Have you changed the location of angular folder?

Hi @improwise,

As i see, the issue is resolved. Right?

Hi @epieters,

It seems like we have to update the documentation.

Docs module has separate projects for admin UI. You have to reference these packages too.

Hi @zalak,

There are two parameters that are not listed in CLI document:

--with-public-website --without-cms-kit

example command: abp new Acme.BookStore --with-public-website -v 4.4.0

I reproduced the issue. It doesn't seem to be related with ABP framework or our product but here is the solution:

  1. Initialize the input in OnGetAsync and set Input.DateOfBirth = DateTime.Today.
    public virtual async Task<IActionResult> OnGetAsync()
    {
        Input = new PostInput();
        
        await CheckSelfRegistrationAsync();
        await TrySetEmailAsync();
        await SetUseCaptchaAsync();

        Input.DateOfBirth = DateTime.Today;
        
        return Page();
    }
  1. You can remove the attributes from DateOfBirth property.

        public DateTime DateOfBirth { get; set; }
  1. Create the element this way:
        <div class="mb-3">
        
            <label class="form-label" for="Input_DateOfBirth">DateOfBirth</label>
            
            <input type="date" id="Input_DateOfBirth" name="Input.DateOfBirth" value="@Model.Input.DateOfBirth.ToString("yyyy-MM-dd")" class="form-control ">
            
        </div>
Showing 181 to 190 of 368 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30