Activities of "viswajwalith"

we'll test and get back to you

Sure will be waiting for ur response.

  • ABP Framework version: v4.3.X
  • UI type: MVC
  • DB provider: MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes (Microservice Template)

Hi We would like to get the Data from MongoDB by grouping the same. It seems ur MongoDB repository is not having a support for Aggregation/Pipeline/UnWind usage (correct us if we are worng)

For Example: We would like

  1. fetch the data by Priority (GUID) along with Filers
  2. fetch the data by Tags List<GUID> along with Filers

Let me know if you need any info.

Hi,

Somwhow we are able to get that issue fixed by changing the way of configuring the elsa. Thanks for the support.

    private void ConfigureElsa(ServiceConfigurationContext context, IConfiguration configuration)
    {
        context.Services
            .AddElsa(
                elsa =>
                {
                    elsa
                    .AddMongoDbStores(configuration, databaseName: "AppV3_Elsa", connectionStringName: "ElsaServiceMongoDb");

                })

            .AddEmailActivities(options => options.Bind(configuration.GetSection("Elsa:Smtp")))
            .AddHttpActivities(options => options.Bind(configuration.GetSection("Elsa:Server")))
            .AddTimerActivities(options => options.Bind(configuration.GetSection("Elsa:Timers")));
            
        context.Services.AddElsaDashboard(options => options.Configure(x => x.ActivityDefinitions
                                                .Add&lt;WriteLine&gt;()
                                                .Add&lt;ReadLine&gt;()
                                                .Add&lt;ReceiveHttpRequest&gt;()
                                                .Add&lt;SendHttpRequest&gt;()
                                                .Add&lt;WriteHttpResponse&gt;()
                                                .Add&lt;SetVariable&gt;()
                                                .Add&lt;ForEach&gt;()
                                            ));

        context.Services.AddUserActivities();
        context.Services.AddAssemblyOf&lt;Elsa.Dashboard.Areas.Elsa.Controllers.HomeController&gt;();
        context.Services.AddAssemblyOf&lt;Elsa.WorkflowDesigner.ViewComponents.WorkflowDesignerViewComponent&gt;();
        context.Services.AddAssemblyOf&lt;Elsa.Dashboard.Areas.Elsa.Controllers.WorkflowDefinitionController&gt;();
        context.Services.AddAssemblyOf&lt;Elsa.Dashboard.Areas.Elsa.Controllers.WorkflowInstanceController&gt;();

        context.Services.AddNotificationHandlers(typeof(LiquidConfigurationHandler));
        //Disable antiforgery validation for elsa
        Configure&lt;AbpAntiForgeryOptions&gt;(options =>
        {
            options.AutoValidateFilter = type =>
                type.Assembly != typeof(Elsa.Dashboard.Areas.Elsa.Controllers.HomeController).Assembly;
            options.AutoValidateFilter = type =>
                type.Assembly != typeof(Elsa.WorkflowDesigner.ViewComponents.WorkflowDesignerViewComponent).Assembly;
            options.AutoValidateFilter = type =>
                type.Assembly != typeof(Elsa.Dashboard.Areas.Elsa.Controllers.WorkflowDefinitionController).Assembly;
            options.AutoValidateFilter = type =>
                type.Assembly != typeof(Elsa.Dashboard.Areas.Elsa.Controllers.WorkflowInstanceController).Assembly;
        });

    }
    

ABP Framework version: v4.3 UI type: MVCDB provider: EF Core / MongoDB Tiered (MVC) or Identity Server Separated (Angular): yes , Microservice Architecture Exception message and stack trace:

Hi,

We are trying to integrate elsa dashboard, it worked perfectly in Application template, but when we try to integrate in microservice based ABP solution getting following error when accessing the elsa dashboard.

@yekalkan thanks

Also,

We'll consider to SweetAlert2 https://github.com/abpframework/abp/issues/9413

Yes really confusing which leads to loss of one support ticket, can we get it back?

Hi,

We would like to show the error message with html content.

It is clear that abp.io is using Sweet alert, but it is bit confusing. In one page it says SweetArt (https://docs.abp.io/en/abp/latest/UI/AspNetCore/Overall) and in some other page it says SweetAlert2. (https://docs.abp.io/en/abp/latest/UI/AspNetCore/JavaScript-API/Message#sweetalert-configuration).

Actually as per the SweetALert2 documentation HTML in Alert message is supported (https://sweetalert2.github.io/#examples) , if abp.io is using sweetAlert2 we should be having the same support with abp.message.error but its not. can you please guide us.

hi

Now it is a normal input element, I don't know why you need to destroy and create it again.

Use abp-data-datepicker="false" will ignore abp.dom.initializers.initializeDatepickers method.

thanks mailing, what ever you said sounds correct but not sure why it is not considering the respective attribute to false, do u think any file need to be Included?

hi

You can add abp-data-datepicker="false" to abp-input to prevent the framework from changing it.

Then you can full use jquery to control it.

<abp-input asp-for="Observation.ObservationDate" value="@DateTime.Now.ToString("yyyy-MM-dd")" type="date" abp-data-datepicker="false" />

@maliming: It didn't worked even if we add the abp-data-datepicker="false" to abp-input, not sure how it worked for you.

we managed this by destroying the datepicker object and recreating the same.

$('#Observation_ObservationDate').datepicker("destroy"); $('#Observation_ObservationDate').datepicker({ format: 'mm-dd-yyyy', endDate: '+0d', autoclose: true, todayHighlight: true, todayBtn: true, });

ABP Framework version: v4.3.X UI type: Angular DB provider: EF Core / MongoDB Tiered (MVC) or Identity Server Separated (Angular): yes Exception message and stack trace: Steps to reproduce the issue:

Hi,

We would like to have date restrictions on certain date controls for not allowing future date and also would like to have a time entry. We assume ABP.io comes wth bootstrap datepicker but it is not working when set the restrictions.

We used the below JS to set that (which was working fine for normal textbox in other application:

$('#Observation_ObservationDate').datepicker({
    format: 'mm-dd-yyyy',
    endDate: '+0d',
    autoclose: true,
    "showTodayButton": true,
});

We used below Tag helper to create the date control :

<abp-input asp-for="Observation.ObservationDate" value="@DateTime.Now.ToString("yyyy-MM-dd")" type="date" />

HTML Markup:

<div class="form-group">
  <div class="form-item">
    <input type="text" value="2021-06-10" data-val="true" data-val-required="The ObservationDate field is required." id="Observation_ObservationDate" name="Observation.ObservationDate" class="form-control datepicker valid" placeholder=" " aria-describedby="Observation_ObservationDate-error" aria-invalid="false">
    <span class="lbl-icon">
      <i class="fi-rr-calendar"></i>
    </span>
    <label for="Observation_ObservationDate">ObservationDate
      <span class="requiredSymbol">*</span></label>
    <span class="text-danger-custom field-validation-valid" data-valmsg-for="Observation.ObservationDate" data-valmsg-replace="true"></span>
  </div>
</div>

Let us know how to customize the ABP.io control to have date restrictions (pas/future) and also using the control for accecpting only time .

Showing 271 to 280 of 315 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 05:21