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

Activities of "yekalkan"

Fixed in 1.7.2 release.

Answer

Yes.

Build your solution to see the error.

Create those files in"AspNetZeroRadTool\FileTemplates\Client\Angular\ViewEntityComponentHtmlTemplate" folder:

MainTemplate.custom.txt :

<div bsModal #createOrEditModal="bs-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="createOrEditModal" aria-hidden="true" [config]="{backdrop: 'static'}">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title">
                    <span>{{l("")}}</span>
                </h4>
                <button type="button" class="close" (click)="close()" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">

                <div class="row">
{{Property_Looped_Template_Here}}
{{NP_Looped_Template_Here}}
                </div>

            </div>
            <div class="modal-footer">
                <button [disabled]="saving" type="button" class="btn btn-primary blue" (click)="close()">{{l("Close")}}</button>
            </div>
        </div>
    </div>

</div>

PartialTemplates.custom.txt :

{
"propertyTemplates":[
		{
			"placeholder" : "{{Property_Looped_Template_Here}}",
			"condition" : "{{Property_Listed_Here}} == true",
			"templates" : [
					{
					"type" : "enum",
					"content" : "                    <div class=\"col-6 mb-3\">
                        <h6>{{l(\"{{property_Name_Here}}\")}} :</h6>
                        {{l('Enum_{{Property_Type_Here}}' + {{property_Type_Here}}[item.{{entity_Name_Here}}.{{property_Name_Here}}])}}
                    </div>
"
					},
					{
					"type" : "default",
					"content" : "                    <div class=\"col-6 mb-3\">
                        <h6>{{l(\"{{Property_Name_Here}}\")}} :</h6>
                        {{item.{{entity_Name_Here}}.{{property_Name_Here}}}}
                    </div>
"
					}
				]
		}
	],
"navigationPropertyTemplates":[
		{
			"placeholder" : "{{NP_Looped_Template_Here}}",
			"templates" : [
					{
					"relation" : "single",
					"content" : "                    <div class=\"col-6 mb-3\">
                        <h6>({{l(\"{{NP_Foreign_Entity_Name_Here}}\")}}) {{l(\"{{NP_Display_Property_Name_Here}}\")}} :</h6>
                        {{item.{{nP_Foreign_Entity_Name_Here}}{{NP_Display_Property_Name_Here}}{{NP_Duplication_Number_Here}}}}
                    </div>
"
					}
				]
		}
	]
}

No, this is not possible.

Thanks for reporting. We'll fix this.

Answer

This was reported in https://support.aspnetzero.com/QA/Questions/6320#answer-0793071e-e8ac-648f-8c75-39eb80fe7cd9

This will be fixed in the next release

@cyklussoftware thanks for reporting. It will be fixed.

duplicate of #6117

Hi,

Multi-lingual entities are not supported by rad tool currently. See https://github.com/aspnetzero/aspnet-zero-core/issues/1201

If not and i do it manually, will I still be able to work with the RAD tool when adding additional (non language dependent) fields to my entity?

No, your changes will be overriden during regeneration.

What is your visual studio version?

I faced the same issue on another solution today and upgrading visual studio to latest version fixed the problem.

Showing 161 to 170 of 314 entries