1
admin@SYNTAQ created
Him,
How do you get the Tenant Name in javascript?
Cheers
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
5 Answer(s)
-
0
hi
You can try:
For mvc var tenancyName = app.session.tenant ? app.session.tenant.tenancyName : null; For angular injector AppSessionServiceMarkdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Thanks,
My app.session object is undefined. I am logged on and running .net Core MVC ASPNET ZERO 8.8
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
FYI also - logged on as a tenant
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
1
hi
The code of appSession exists in
wwwroot/Common/Scripts/appSession.js.var app = app || {}; (function () { abp.services.app.session.getCurrentLoginInformations({ async: false }) .done(function (result) { app.session = result; }); })();Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Thank you
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)