Relationships on Configure Entity form not available

Hello,

I have been attempting to generate CRUD pages and consistently receive the same error on add/edit forms for all FK fields:

Found a malformed 'RadzenFormField' tag helper. Tag helpers must have a start and end tag or be self closing.
and
Found a malformed 'ChildContent' tag helper. Tag helpers must have a start and end tag or be self closing.

The generated source code for the Add page is


<PageTitle>Add CompanyAttendanceauthorization</PageTitle>
    <RadzenColumn SizeMD=12>
        <RadzenAlert Shade="Shade.Lighter" Variant="Variant.Flat" Size="AlertSize.Small" AlertStyle="AlertStyle.Danger" Visible="@errorVisible">Cannot save CompanyAttendanceauthorization</RadzenAlert>
        <RadzenTemplateForm TItem="MWAdmin.Server.Models.MW_Dev.CompanyAttendanceauthorization" Data="@(companyAttendanceauthorization)" Visible="@(companyAttendanceauthorization != null)" Submit="@FormSubmit">
          <RadzenStack>
            <RadzenFormField Text="User Key Navigation" Variant="Variant.Outlined">
                  <ChildContent>
            <RadzenFormField Text="Department Key Navigation" Variant="Variant.Outlined">
                  <ChildContent>
            <RadzenFormField Text="Shift Key Navigation" Variant="Variant.Outlined">
                  <ChildContent>
          </RadzenStack>
          <RadzenStack style="margin-top:1rem;" Orientation="Orientation.Horizontal" AlignItems="AlignItems.Center" JustifyContent="JustifyContent.End" Gap="0.5rem">
                    <RadzenButton ButtonStyle="ButtonStyle.Primary" ButtonType="ButtonType.Submit" Icon="save" Text="Save" Variant="Variant.Flat" />
                    <RadzenButton ButtonStyle="ButtonStyle.Light" Text="Cancel" Variant="Variant.Flat" Click="@CancelButtonClick"  />
          </RadzenStack>
        </RadzenTemplateForm>
    </RadzenColumn> 

Additionally none of the FKs generated dropdown datagrids as I would expect.

Assuming I did something wrong, I watched the CRUD tutorial and realized I do not have the Relationships options available on the Configure Entity form:

Whereas the tutorial does:

My database has functioning FKs and I have already used the same database to generate an app in Radzen Studio that I am attempting to recreate in Radzen Blazor Studio. I included all FK tables when inferring the schema and have encountered this with every CRUD page I have attempted so far.

Please let me know if I am doing something wrong or if this is a bug. Thanks!

Zach

We can’t tell why the relationships are not listed unless we examine your database schema. Please send us your schema as SQL script at info@radzen.com.

I've checked your schema and looks like the relations are retrieved properly and the relevant code is generated for both DbContext and CRUD pages (FK are represented by DropDowns):


We will check Configure Entity dialog to see why relations are not listed and we will provide fix in our next update.

Excellent, thank you very much!