Activities of "alper"

Can you try to set your DateTime Kind to UTC This way, it'll support UTC

Configure<AbpClockOptions>(options => options.Kind = DateTimeKind.Utc);

https://github.com/abpframework/abp/issues/4067

It's still active on my side. And planning to investigate the issue deeper with our Oracle package author.

hi Leonardo,

sorry for my late response,

this menu item will be shown on host myGroup.AddPermission(AvalancheOCPPermissions.Dashboard.Host, L("Permission:Dashboard"), MultiTenancySides.Host);

this menu item will be shown on tenant myGroup.AddPermission(AvalancheOCPPermissions.Dashboard.Tenant, L("Permission:Dashboard"), MultiTenancySides.Tenant);

you need to do that manually as it's related to EF Core. But I suggest you to create your own appservice and repository because ICrudAppService is for basic (1 entity) CRUD operations. your page is more complex than this.

the below code is from a working project:

IQueryable<Guid> recordIdQuery;

var orderField = sorting.Split(' ').First().ToLower();
switch (orderField)
{
	case "creationtime":
		recordIdQuery = query.Select(x => new {x.Book.Id, x.Book.CreationTime})
			.Distinct()
			.OrderBy(sorting)
			.Select(q => q.Id);
		break;
	case "publishDate":
		recordIdQuery = query.Select(x => new {x.Book.Id, x.Book.PublishDate})
			.Distinct()
			.OrderBy(sorting)
			.Select(q => q.Id);
		break;
	case "pageSize":
		recordIdQuery = query.Select(x => new {x.Book.Id, x.Book.PageSize})
			.Distinct()
			.OrderBy(sorting)
			.Select(q => q.Id);
		break;
	default:
		throw new ArgumentException("Unknown order field: " + orderField);
}

orderedBookIds = await recordIdQuery
	.PageBy(skipCount, maxResultCount)
	.ToListAsync(GetCancellationToken(cancellationToken));

@Leonardo this is out of ABP Framework context. It's an EF Core issue. I can advise you this; 1- You know how many sortable fields you have. 2- Write a switch case / if statement to convert from string ordery by to statement order by

eg:

var query = from supplyNetwork in queryable
           join networkType in _networkTypeRepository on supplyNetwork.NetworkTypeId equals networkType.Id;
                
if (input.Sorting == "ABC")
           query = query.orderby(x=>x.Abc) ;
else if (input.Sorting == "ZYZ")
           query = query.orderby(x=>x.Xyz) ;
           
query = select new { supplyNetwork, networkType };
Answer

hi,

yes I agree with you, we'll change the behaviour of dropdown to show all records. I already issued this for the next version.

Answer

[Cannot find Volo.Abp.Commercial.SuiteTemplates.dll #4](https://support.abp.io/QA/Questions/48/Cannot-find-VoloAbpCommercialSuiteTemplatesdll)

Earlier, abp suite did not support module generation curd, now I still encounter some problems. And, when I create a module in the application module, their UI are not separated

can you explain in details? are you adding a module to your application (is it microservice template?) what's your project type? UI options?

Answer

Hello, We cannot find any UI page about Background Jobs in commercial (angular) web panel. Is there your a roadmap planning about Background Jobs Management UI page(s)

ABP has a built-in Background Job Manager and it's a simple one which has no UI. If you are looking for a rich background job system you can integrate one of these (they have their own dashboards)

  • Hangfire: https://docs.abp.io/en/abp/latest/Background-Jobs-Hangfire
  • RabbitMQ: https://docs.abp.io/en/abp/latest/Background-Jobs-RabbitMq
  • Quartz: https://docs.abp.io/en/abp/latest/Background-Jobs-Quartz

ABP Suite and ABP CLI don't support the Microservice template at the moment. You can create a new module without adding to the solution. And add it manually

Showing 1001 to 1010 of 1868 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 19, 2024, 12:56