Starts in:
1 DAY
5 HRS
11 MIN
52 SEC
Starts in:
1 D
5 H
11 M
52 S

Activities of "SafaFINDIK"

Hi, I checked the value of HttpApiHostProjectDirectory you mentioned and It is not null. There is only one option if the project is loaded correctly. But I did its installation by cloning it via GitLab. Therefore, I do not think it is wrong. For what other reason could I be getting the error?

Hello,

Please remove the following route configuration from your app-routing.module.ts. Because IdentityExtendedModule has this logic. And please remove theentity-action-contributors.ts placed in the app folder.

{ 
    path: 'identity', 
    loadChildren: () =>  
       import('@volo/abp.ng.identity').then(m =>  
           m.IdentityModule.forLazy({ 
               entityActionContributors: identityEntityActionContributors 
           }) 
       )) 
} 

You can follow the same steps for "Adding quick view button to actions"

  • Define a method named 'requestMyApi' in IdentityExtendedComponent and implement like following
requestMyApi(record: IdentityUserDto) { 
    this.myService.myRequestMethod().subscribe(res => { 
        console.log(res) 
    }); 
} 
  • In your action definition inject IdentityExtendedComponent and execute this method.
const printButtonAction = new EntityAction<IdentityUserDto>({ 
  text: 'PrintButton', 
  action: data => { 
    const component = data.getInjected(IdentityExtendedComponent); 
    component.requestMyApi(data.record); 
  }, 
}); 

Hello, I added it to my code as follows according to your directives. Is it supposed to be like this?

Screenshot:

Or is it supposed to be like in Screenshot2 ? Screenshot2:

But with both ways i couldn't reach requestMyApi. :(

Showing 1 to 2 of 2 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06