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,
https://localhost:44301/api/TokenAuth/Authenticate
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.
Hi kasem ,
You can try to do the following and let me know if this works :
Hi marble68,
Please check the following documentation:
https://aspnetboilerplate.com/Pages/Documents/Hangfire-Integration
Hi enerjisauretim ,
http://localhost:4200/account/login
getOpenIdConnectConfig()
/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