Overview
Summary
Contact
Donate
Imprint
Prompt for the
CommunitySpaceView
Please create a React-JS view called "CommunitySpaceView" for the fields of the CommunitySpace entity. The CommunitySpaceView must contain the following fields: - name: CreatedAt type: DATE - name: Description type: STRING - name: Name type: STRING - name: OwnerUserAccount type: UserAccount The data source for the [OwnerUserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing CommunitySpace entity should be loaded from the relative URL: "/CommunitySpaceService/communityspace/{id}" (HTTP-GET) If a new CommunitySpace entity has been created, the new entity should be posted to the relative URL: "/CommunitySpaceService/communityspace" (HTTP-POST) If an existing CommunitySpace entity has been updated, the modified entity should be sent to the relative URL: "/CommunitySpaceService/communityspace/{id}" (HTTP-PUT) If an existing CommunitySpace entity has to be deleted, the following relative URL should be called: "/CommunitySpaceService/communityspace/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CommunityChat columns: - column: CommunitySpace - column: IsAnnouncement - column: Chat The table should have the title "CommunityChats" und the data must be loaded from the server with the following relative URL: "/CommunitySpaceService/communitychat/communityspace/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint