"andmattia" की गतिविधियाँ

उत्तर

Hi @muhammedaltug

thanks for your quickly reply.

I add some note to integrate your suggestion:

  1. Remove src prefix and * at file name end
//tsconfig.json 
"paths": {
      "your-project": ["projects/your-project/src/public-api.ts"],
      "your-project/proxy": ["projects/your-project/proxy/src/public-api.ts"] // this line added without *
    }
  1. public-api.ts: in projects/your-project/proxy/src/public-api.ts add lib export created before on /proxy/src/lib (not index.ts into /proxy/src/lib/proxy
  2. create a ng-packge.json like this. On github like the suggestion is to create it empty but you must export ts on dist folder
{
  "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
  "dest": "../../../dist/your-project/proxy",
  "lib": {
    "entryFile": "src/public-api.ts"
  }
}

उत्तर

Ok a prepare a full solution and send it

उत्तर

Has you try to build for production?

If you debug it it works fine but is in production mode that customization not work

उत्तर

I send an email with code

उत्तर

HI maliming

we are focus in a project roll out . I prepare a zip folder next week.

Thanks for your patience

उत्तर

Hi

I use the guide suply from my prev ticket.

I don't do anything in bundling, just copy ang paste the lepton theme css on custom folder change to apply my style

Ok but this il the flow from ABP.IO to ANZ but user start process from ANZ page in SAAS enviroment and need to be redirect to a auth server. The target auth server is in multi tenant enviroment. The correct flow I think is the first on the picture below but at the moment is not possibile. A mitigation of this could be setting tenant automaticly (es using {TENANCY_NAME} on config)

Hi @gterdem

this schema works on multitenant side?

My team try to use it in SAAS app but they are not able to pagging tenant to Identity? we need to use special config to passing tenant on login process?

उत्तर

Hi @maliming

thanks for the support.

I try to remove with DisableValidationAttribute and it works!

उत्तर

Hi

this is the code

public class GetLayoutTemplateInput : CustomPagedAndSortedInputDto
{
    public GetLayoutTemplateInput() : base()
    {
        GridDefinitionType = typeof(LayoutTemplateDto);
    }
    public string Filter { get; set; }
}


    [Serializable]
    public class CustomPagedAndSortedInputDto : PagedAndSortedResultRequestDto, IFilteredResultRequest
    {
        public FilterDto[] Filters { get; set; }
        public Type GridDefinitionType { get; set; }

        public virtual string GetDefaultSorting()
        {
            ...
        }

        public override IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
        {
            //Set default sorting
            ...
            
         }
    }
}

public class FilterDto : IFilter
{
    public string Field { get; set; }
    public string Operator { get; set; }
    public object Value { get; set; }
    public string GetFullObject()
    {
        var q = this.Field.UppercaseFirst();

        if (!this.BaseObject.IsNullOrWhiteSpace())
        {
            ...
        }

        return q;
    }

    public string BaseObject { get; set; }
    public string PropertyName { get; set; }
    public string Logic { get; set; }
    public IFilter[] Filters { get; set; }
}

98 प्रविष्टियों में 71 से 80 दिखा रहा है
Made with ❤️ on ABP v8.2.0-preview Updated on मार्च 25, 2024, 15:11