Hi
Is there a way to customize the Lepton theme to use our company's color scheme?
If so, how would I go about doing this?
We are using the Angular start up template.
Regards,
Warick
Hi
I am getting the following error in my Azure Devops build pipeline on the '.NET Core Build' task.
##[error]/home/vsts/.nuget/packages/sourcelink.create.commandline/2.8.3/build/SourceLink.Create.CommandLine.targets(30,5): Error : unable to convert OriginUrl: https://eohesa@dev.azure.com/eohesa/NextecBase/_git/NextecBase
This is what my pipeline yaml looks like:
- job: aspnetcore
displayName: .NET Core
pool:
vmImage: 'ubuntu-latest'
steps:
- task: DotNetCoreInstaller@0
displayName: 'Install .NET Core Sdk'
inputs:
version: 3.1.101
- task: DotNetCoreCLI@2
displayName: '.NET Core Restore'
inputs:
command: restore
verbosityRestore: Normal
feedsToUse: config
nugetConfigPath: NexBase/aspnet-core/NuGet.Config
projects: |
NexBase/aspnet-core/**/*.csproj
- task: DotNetCoreCLI@2
displayName: '.NET Core Build'
inputs:
command: build
projects: |
NexBase/aspnet-core/src/NexBase.DbMigrator/NexBase.DbMigrator.csproj
NexBase/aspnet-core/src/NexBase.HttpApi.Host/NexBase.HttpApi.Host.csproj
arguments: '--configuration $(BuildConfiguration) --no-restore'
Can you please provide an example to get my build working or provide some feedback to get this working. I have googled the problem and I found this issue:
[https://github.com/dotnet/sourcelink/issues/166]
One of the comments suggests: "Could you try to remove SourceLink.Create.CommandLine 2.8.3? The only package reference you need to get SoruceLink working for Azure DevOps hosted repo is Microsoft.SourceLink.Vsts.Git. See https://github.com/dotnet/sourcelink#visual-studio-team-services".
Please advise on a way forward
Hi
I am having an issue adding a menu item at the same level as the "Administration" (AbpUiNavigation::Menu:Administration) menu item with child items that will be part of a lazy loaded module?
I have looked at the following github issues and the docs but there is no comprehensive documentation explaining how to achieve what I need to. https://github.com/abpframework/abp/issues/2186 https://github.com/abpframework/abp/pull/2425 https://docs.abp.io/en/abp/dev/Tutorials/Part-1?UI=NG
I have also had a look at the source code and tried various things from there in my code. ie using addAbpRoutes but still no luck.
Can I please get some info or code examples on how to achieve this?
Thanks.
Hi
I am receiving the following error when doing a Production build of our Angular app: ''' ERROR in Can't resolve all parameters for ɵj in /node_modules/@volo/abp.ng.account/volo-abp.ng.account.d.ts: ([object Object], [object Object], ?, [object Object], [object Object], [object Object]). '''
This does not happen when doing a normal "ng build".
We are using version 2.3.0 of abp npm packages
Hi
Would it be possible to move the settings in the environment.ts file to the appsettings.json file in the HttpApi.Host project.
I am aware of how to add custom settings using the ISettingDefinitionContext etc. I am able to see those settings in the ConfigState:setting variable when running my angular apps. Is possible to replace the ConfigState:environment state with the settings from appsettings.json file and if so how would I go about doing this?
The reason I want to do this is to avoid having to build my angular apps for different environments and be able to control the settings in a file that I can modify at runtime. ie appsettings.json which will handle different settings for different environments using transforms.
Regards,
Warick
Hi
I am currently experiencing an issue on my deployed application. When clicking on Login I get a blank page with no errors in the browser console. The ConfigState has loaded correctly, which means the angular app is communicating successfully with the backend. I have also checked the logs and there are no errors.
But when I click on Login I get a blank page with no errors:
Is there something I am missing? What could cause this problem?
Thanks.
Hi
I am not able to see the Modules menu item on the top nav bar when running ABP Suite. All I see is the CRUD Page Generator option. I would like to download the Angular source code to view the themes and customize the styling for our applications.
I am using the latest version of the ABP CLI (2.6.2).
Please can you help me sort this out or at least provide me with the command to be able to download the source on the command line.
I have tried abp get-source @volo/abp.ng.theme.lepton but get an error that the module is not found.
If this is not implemented for Angular modules yet can you please email me the source code.
HI
I try to browse to a page on our website, say /setting-management but I am not logged in yet. I get redirected to the /account/login screen as expected. I then login but I am not redirected back to the /setting-management page which I first navigated to.
I had a look at the AuthGuard and found this line of code router.navigate(['/account/login'], { state: { redirectUrl: state.url } });
How can I get this to work as expected?
Hi
ABP Framework version: v2.8.0
UI type: Angular
Tiered (MVC) or Identity Server Seperated (Angular):
Identity Server Not Separated (Angular)
Exception message and stack trace:
core.js:6210 ERROR TypeError: Cannot read property 'objectExtensions' of undefined
at ɵ1 (volo-abp.commercial.ng.ui.js:3358)
at wrappedSelectorFn (ngxs-store.js:2865)
at memoized (ngxs-store-internals.js:59)
at selectFromRoot (ngxs-store.js:2901)
at ngxs-store.js:2896
at Array.map (<anonymous>)
at MapSubscriber.selectFromRoot [as project] (ngxs-store.js:2892)
at MapSubscriber._next (map.js:29)
at MapSubscriber.next (Subscriber.js:49)
at StateStream._subscribe (BehaviorSubject.js:14)
also warnings in the browser
Could not find localization source: TextTemplateManagement abp-ng.core.js:1014
The localization source separator (::) not found. abp-ng.core.js:1014
Steps to reproduce the issue: We are getting some errors after updating to version 2.8. We updated our aspnetcore to 2.8 using ABP suite 2.8. We also update our ABP/Volo packages in our angular application to 2.8.0. We then ran the application and we receive the above errors on application startup.
Hi
I have checked the docs, samples and also the support site but have not found anything documented about the Abp signalR integration on the Angular side.
What do I need to do to get this to work? My code is below.
Thanks,
Warick
import { Injectable } from '@angular/core';
import * as signalR from '@microsoft/signalr';
import { environment } from '@nexweb/core';
import { IdmManagement } from '../models/idm.models';
@Injectable({
providedIn: 'root'
})
export class IdmHubService {
private hubConnection: signalR.HubConnection;
private idmHubUrl = '/signalr-hubs/idm';
public hubConnectionEstablished = false;
constructor() {
this.buildConnection();
this.startConnection();
}
private buildConnection() {
this.hubConnection = new signalR.HubConnectionBuilder()
.withUrl(environment.apis.default.url + this.idmHubUrl)
.build();
}
private startConnection() {
this.hubConnection
.start()
.then(() => {
this.hubConnectionEstablished = true;
})
.catch(err => {
console.error('Error while starting connection: ' + err);
});
}