Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "Bernard"

Sorry, but what are the arguments ?

private readonly IDynamicEntityPropertyValueAppService _dynamicValues; var listdynamic = _dynamicValues.GetAllDynamicEntityPropertyValues(Person);??

Should the service be called in a Js view like CreateorEdit.js for my entity an example would be welcome

I tried with this method in PersonController :

``[AbpMvcAuthorize(AppPermissions.Pages_Contacts_Create, AppPermissions.Pages_Contacts_Create)]
public async Task<ActionResult> CreateOrEdit(int? id)
{
    GetPersonForEditOutput getPersonForEditOutput;

    if (id.HasValue)
    {
        getPersonForEditOutput = await _personsAppService.GetPersonForEdit(new EntityDto { Id = (int)id });
      

    }
    else
    {
        getPersonForEditOutput = new GetPersonForEditOutput
        {
            Person = new CreateOrEditPersonDto()
        };

        getPersonForEditOutput.Person.Intitule = "A DEFINIR";
        getPersonForEditOutput.Person.Source = ListSource.BackOffice;
        getPersonForEditOutput.Person.Statut = ListeStatutPerson.ColdLead;
        getPersonForEditOutput.Person.DateNaissance = DateTime.Now;

    }

    getPersonForEditOutput.Person.TypePerson = TypePerson.Physique;
    getPersonForEditOutput.Person.ProfilPhysique = ListeProfilPhysique.Contact;


    var allDynamicProperties = (await _dynamicPropertyAppService.GetAll()).Items.ToList();
    var definedPropertyIds = (await _dynamicEntityPropertyAppService.GetAllPropertiesOfAnEntity(new DynamicEntityPropertyGetAllInput() { EntityFullName = "Person" }))
        .Items.Select(x => x.DynamicPropertyId).ToList();

    var viewModel = new CreateOrEditPersonViewModel()
    {
        Person = getPersonForEditOutput.Person,
        PersonIntitule = getPersonForEditOutput.PersonIntitule,
        DynamicProperties = allDynamicProperties.Where(x => !definedPropertyIds.Contains(x.Id)).ToList()
};

    return View(viewModel);
}

Is it right ? I don't know how display Values in View

Hi Ismail

Thks 👍

Answer

Thks Ismail !

Answer

Hi Thanks 🙏

Answer

Hi Ismail Thank you so much 😊

Hi Ismail,

The solution here https://support.aspnetzero.com/QA/Questions/10352/Elsa-2-Integration-with-AspNetZero-103 works fine

  1. Run yarn add @elsa-workflows/elsa-workflows-studio into solution root
  2. Run yarn add @elsa-workflows/elsa-workflow-designer into solution root
  3. Run yarn add monaco-editor into solution root
  4. Go to node_modules created folder for yarn and copy 3 distribution folders
  5. Then create a Elsa folder into wwwroot and paste 3 copied foldres from node_modules
  6. Modify _Host: href="/Elsa/elsa-workflows-studio/assets/images/favicon-32x32.png" href="/Elsa/elsa-workflows-studio/assets/images/favicon-16x16.png" href="/Elsa/elsa-workflows-studio/assets/fonts/inter/inter.css" href="/Elsa/elsa-workflows-studio/elsa-workflows-studio.css" src="/Elsa/monaco-editor/min/vs/loader.js" src="/Elsa/elsa-workflows-studio/elsa-workflows-studio.esm.js" monaco-lib-path="Elsa/monaco-editor/min"

Another solution is to add the cdn live link

I think you should update your documentation to follow this process.

Sorry , this line was missing

     _optionsAccessor = optionsAccessor;
     

Hi,

Elsa page loads but i have an CSS and JS issue

Console error

Answer

I found the solution Don't tick the case below

Hi Thks for answer 🙂

Showing 61 to 70 of 93 entries