Base solution for your next web application

Activities of "robert"

Hello marble68 ,

Are you trying to get the parent in Angular or from Backend ? If you are using Angular then you can use this TreeDataHelperService in Angular to get the parent or children of any specific node .

If Backend, then please refer to this documentation link :

https://aspnetboilerplate.com/Pages/Documents/Zero/Organization-Units. You can use the OU Code to get the desired employee element.. For example :

 var query =
            from product in _productRepository.GetAll()
            join organizationUnit in _organizationUnitRepository.GetAll() on product.OrganizationUnitId equals organizationUnit.Id
            where organizationUnit.Code.StartsWith(code)
            select product;

You can find this in the documentation as well.

Hi @andrewt,

You need some kind of offline storage like SQLite or LiteDB where you can store offline data and sync it back with the server DB when the connectivity is restored.

Please refer to this link in the forum :

https://support.aspnetzero.com/QA/Questions/5942

Hi alfar_re,

  1. You need to call the authenticate API with this to get the access token :

https://localhost:44301/api/TokenAuth/Authenticate

  1. Use the access token acquired above to call other API by passing the token in the header

Please refer to these steps :

https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Features-Angular-Token-Based-Authentication

You need to pass Abp.TenantId and Content-type in the header as explained in the above link.

Answer

Hi kasem ,

You can try to do the following and let me know if this works :

  1. delete .yarnrc , yarn.lock , and package-lock.json in your angular directory or where your package.json is located
  2. do yarn command again

Hi marble68,

Please check the following documentation:

https://aspnetboilerplate.com/Pages/Documents/Hangfire-Integration

Hi enerjisauretim ,

  1. Firstly you need to provide a valid RedirectUri in the registered app on Azure AD Application that you have created. Example of a valid RedirectUri would be :

http://localhost:4200/account/login

  1. Also login.service.ts file make sure that the above RedirectUri is mentioned in the method getOpenIdConnectConfig()
  2. Its important to redirect user to this /account/login route first .

For working with IAbpSession please refer to this :

https://aspnetboilerplate.com/Pages/Documents/Abp-Session

Hello Sebastiaan,

Please take a look at this Identityserver integration details:

https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Infrastructure-Core-Angular-Identity-Server4-Integration

and also a sample client to test it out :

https://github.com/aspnetzero/aspnet-zero-samples

Hello deltavision,

Can you please try like this ?

var content = document.createElement('div');
content.innerHTML = 'There are some <strong>errors.</strong><br/>Please check and try again.';

swal({
content: content,
icon: "error"
});

Perhaps you can try these steps :

Step 1: $ npm cache clean --force Step 2: Delete node_modules by $ rm -rf node_modules package-lock.json folder Delete package-lock.json file too. Step 3: npm install / yarn To start again, $ npm run publish

https://stackoverflow.com/questions/42308879/npm-err-code-elifecycle

Showing 1 to 10 of 14 entries