Hi, you can change "windows" to "osx" or "osx-intel" and use the same script: url="https://abp.io/api/abp-studio/download/r/osx/${output}"
Regards.
Hi, it seems this is a problem with the library that we use on the Angular side. We use angular-oauth2-oidc library and it's caused because of this library. There is a similar issue asked in their repository before: https://github.com/manfredsteyer/angular-oauth2-oidc/issues/1465 (so there is nothing we can do in our side)
You can try the solution described at https://github.com/manfredsteyer/angular-oauth2-oidc/issues/1465#issuecomment-2691620040 and see if it works for you.
Regards.
Thanks, I did find this but I wasn't sure if it was completely compatible with my solution as I use the Angular frontend and a *.HttpApi.Host project instead of an MVC Web project. This article also doesn't cover how to expose Elsa Studio (other than to use docker which seems unnecessary for this) and to use ABP's users and permissions within Elsa Studio.
Hi, Elsa Studio is a Blazor WASM application. So, if you want to use its designer, you can host elsa studio separately and use iframe in your angular UI, or use the host application.
Hi, you should get child entity records through its own APIs, by passing the master entity's Id. For example, if you have Book master entity, and a BookDetail child entity that is associated with the Book entity, then you can get the child entities (book details) via an endpoint like this: https://localhost:44363/api/app/book-details/by-book-id?bookId=<bookId>&skipCount=0&maxResultCount=10
So, you can update the endpoint above for your entities, and get the child entities.
Hi,
Is there any additional configuration required to enable cross-module entity navigation in ABP Studio?
Unfortunately, currently, there is no out-of-the-box support for cross-module entity navigation. I'll create an issue for that. But in the meantime, if you look for a workaround, you can copy the related entity metadata from your module Esone.BrandingService (under the .suite/entities folder) and paste the related entity file (EntityName.json) to the module Esone.AdvertisingService and then establish 1-n relationship. But, please note that, while applying this approach, they can be missing namespaces and you may need to make some modifications.
Regards.
Hi, @EngincanV. Any update on this?
Regarding the favicon, I managed to fix it by adding the
favicon.svgfile. Previously we had only afavicon.icofile.
Hi, sorry for the late response. I've confirmed that there is no current programmatic way for that. (Also, I created an issue with that)
Adding both favicon.svg and favicon.ico seems required in the current layout design.
Regards.
Which project can i implement YourCustomAttribute and also note that my Attribute will ensure that it is really image file not pdf and user just changed extension so i mean it is logic that's why i ask you which project will implement this attribute to put in mt dto which in contract project ?
Hi, yes you can create and define your attribute in the *.Application.Contracts project. You should basically create an attribute, inherit it from the ValidationAttribute base class of .NET, then override the IsValid method and apply your own logic.
Btw, in one of my old project, I had similar requirements and created an AllowedExtensionsAttribute as follows:
public class AllowedExtensionsAttribute : ValidationAttribute
{
private readonly string[] _extensions;
public AllowedExtensionsAttribute(string[] extensions)
{
_extensions = extensions;
}
protected override ValidationResult IsValid(
object value, ValidationContext validationContext)
{
if (value == null)
{
return ValidationResult.Success;
}
var file = value as IFormFile;
var extension = Path.GetExtension(file.FileName);
if (file.Length > 0 && file != null)
{
if (!_extensions.Contains(extension.ToLower()))
{
return new ValidationResult(GetErrorMessage());
}
}
return ValidationResult.Success;
}
public string GetErrorMessage()
{
return $"This extension is not allowed!";
}
}
and use the attribute:
[AllowedExtensions(new string[] { ".jpg", ".png", ".jpeg" })]
public IFormFile CoverImageFile { get; set; }
Since this is not related to ABP, you can refer to https://learn.microsoft.com/en-us/dotnet/csharp/advanced-topics/reflection-and-attributes/ for further info.
Reopening the question, it's closed by the support bot again.
I have resolved the issue.The problem was with the
DbTablePrefixin both Solution A and Module B.I had setpublic static string DbTablePrefix { get; set; } = "";which caused the table prefix to be empty.As a result,when generating the code and creating tables in Solution A,it attempted to create tables with the same names twice,leading to duplicate table names and failure in creating migrations.The solution was to set different values forDbTablePrefixin Solution A and Module B.
Good catch! Regards.
Hi, https://abp.io/qa/questions/9266/3a19c279-d6b1-c6b8-77ca-a427e652e7d1 did you try is this the root cause? I'll try it today but if you already tried, maybe it might be the reason, can you confirm?