Overview
Summary
Contact
Donate
Imprint
Prompt for the
FilterPresetView
Please create a React-JS view called "FilterPresetView" for the fields of the FilterPreset entity. The FilterPresetView must contain the following fields: - name: CreatedAtUtc type: DATE - name: CriteriaJson type: STRING - name: Name type: STRING - name: Shared type: BOOL - name: UserAccount type: UserAccount The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing FilterPreset entity should be loaded from the relative URL: "/WeatherLayerService/filterpreset/{id}" (HTTP-GET) If a new FilterPreset entity has been created, the new entity should be posted to the relative URL: "/WeatherLayerService/filterpreset" (HTTP-POST) If an existing FilterPreset entity has been updated, the modified entity should be sent to the relative URL: "/WeatherLayerService/filterpreset/{id}" (HTTP-PUT) If an existing FilterPreset entity has to be deleted, the following relative URL should be called: "/WeatherLayerService/filterpreset/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MapViewFilterPreset columns: - column: MapViewSession - column: FilterPreset The table should have the title "MapViewFilterPresets" und the data must be loaded from the server with the following relative URL: "/WeatherLayerService/mapviewfilterpreset/filterpreset/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint