Skip to content

dirigiblelabs/sample-survey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample - Survey

Eclipse License GitHub contributors Run on Dirigible

Overview

Sample Survey Application

Setup

  1. Setup Dirigible instance or use the trial one

  2. Clone the Sample Survey repository into your Dirigible instance:

    sample-crm-git-clone

Tips & Tricks

In some cases, when updating the Entity Domain Model (model.edm), incompatible changes may occur. To resolve these issues, here are some Tips & Tricks about it:

  1. Delete the generated files:
    • Delete all files under the "survey-admin" project except model.edm, model.model and project.json
  2. Unpublish the survey-admin project
  3. Re-generated the application from the updated model.model
  4. Publish the survey-admin project

sample-crm-tips-and-tricks-1

In most cases, the previous steps should be enough to resolve issues from an incompatible change in the model. However, if incompatible change in the Data layer is made (e.g. Null -> Not Null, VARCHAR -> INTEGER, ...) then one addition step should be executed first:

  1. Go to the Database perspective
  2. Find the database table(s), to which incompatible changes were made
  3. Right click on it
  4. Select Drop Table from the menu

Otherwise execute SQL queries, to drop the table(s), from the SQL view:

drop table STUDENTS

sample-crm-tips-and-tricks-2

In some cases the generated application view(s) may disappear or be closed by accident. To reset the default layout follow these steps:

  1. Click on the "Themese" menu
  2. Select the "Reset" option

sample-crm-tips-and-tricks-3

License

This project is copyrighted by SAP SE and is available under the Eclipse Public License v 2.0. See LICENSE and NOTICE.txt for further details.