Activities of "bunyamin"

Did you replace NavItems or any other component on the navbar? Is there any modification on the css as well?

It seems that you encountered a CORS error. Please check the IdentityServerClientCorsOrigins table and make sure that dmsaut.hanwhalife.com.vn:501 is within allowed CORS origins.

Could you please check the table IdentityServerClientRedirectUris in your prod database?

Also, I've noticed that your environment.ts looks like your environment.prod.ts. environment.ts is used when running your application with ng serve. environment.prod.ts is used when you run ng build --prod. Having the same entries for both could cause some confusion.

Hello,

Could you please share your environment.ts and environment.prod.ts files omitting confidential information?

Hello,

Identity Management itself is not a link. It has children like Organization Units, Roles, Users etc like the following:

Are you having problems with these links?

Hello,

This is a known issue of the datatable library used in angular template. It still has not been fixed but there is a piece of css shared in the issue that can solve it for you. You can find it here

Hello,

In addition to what @cotur said, in angular code, you need to change the following line within file-management-folder-content.component to the page size you'd like.

this.list.maxResultCount = Infinity;

Hello,

Let's talk about the hierarchy of FileManagementModule components.

The root component is FileManagementComponent which contains abp-page, file-management-buttons, file-management-directory-tree, file-management-folder-panel . FileManagementFolderContentComponent lies within file-management-folder-panel and many more.

So, the component tree looks like the following:

FileManagementComponent

  • PageComponent
    • FileManagementButtonsComponent
    • FileManagementDirectoryTreeComponent
    • FileManagementFolderPanelComponent
      • FileManagementFolderContentComponent

Now, let's look at your problem. The action you provided is being used in FileManagementComponent and passed to the PageComponent which means at that level, you can only inject PageComponent or FileManagementComponent. Other components are stored in lower level of the tree and not available to you.

To get the content of the current folder, here is what you can do

{
  text: 'FileManagement::Sign All',
  action: (data) => {
    const component = data.getInjected(FileManagementComponent);
    const navigator = data.getInjected(NavigatorService);

    // component.currentContent => holds the list of current content, files & folders
    // navigator.getCurrentFolderId() => returns ID of the current folder, null if it is the root folder
  } 
}

Hello,

I've tried it with the latest version, and it seems to be working as expected. I've checked the code, it should be the same as v4.2.2

Here is what I've tried,

With admin user, I've removed AbpIdentity.Users.Create permission from myself which triggered a request to the backend as follows:

As you can see from the response, AbpIdentity.Users.Create is not present within grantedPolicies. When I navigated to users page again, New user the button is not being displayed to me.

Everything in action:

Hello,

We utilize bootstrap components and override their styles according to our needs. ABP templates come with ng-bootstrap installed.

Please refer to their docs

Also, for the checkbox, you can use custom-checkbox class as shown here

<div class="custom-control custom-checkbox">
  <input type="checkbox" class="custom-control-input" id="customCheck1">
  <label class="custom-control-label" for="customCheck1">Check this custom checkbox</label>
</div>
Showing 91 to 100 of 149 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 05:21