Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Creating a new survey #49

Closed
JoshSanchezG opened this issue Apr 29, 2019 · 10 comments
Closed

Creating a new survey #49

JoshSanchezG opened this issue Apr 29, 2019 · 10 comments

Comments

@JoshSanchezG
Copy link

Hi,

Could you please help me? I'm trying to create a new survey, but I don't have any entity to use as example, could you share with me a print screen of your survey entity? remember I just need the properties...

Thank you in advance.

@templesnr
Copy link

I think I'm right in saying you need to amend loaner/web_app/backend/lib/bootstrap.yaml
You will see the questions in there, and then I'm sure you will work out what to do.
You will have to bootstrap the build to clear the old questions though (I posted on the G+ group).
If you don't want to bootstrap then you will have to go into app engine and amend the questions in the live app - obviously you need to be careful. You can't add extra questions though without bootstrapping, because the table changes, you can only change the text of the questions that are already there; I've done that and it works fine.

@JoshSanchezG
Copy link
Author

JoshSanchezG commented Apr 29, 2019 via email

@templesnr
Copy link

I can't see your images on your post. It sounds like you did the right things. here is my entity screen, do you mean for question?

Screenshot_20190429_222551

@JoshSanchezG
Copy link
Author

JoshSanchezG commented Apr 29, 2019 via email

@JoshSanchezG
Copy link
Author

Hi "templesnr",

Could you please help me? I'm not seeing the 2 Question entities, I would like to add them manually but I need your help:

Screenshot 2019-04-30 at 08 36 19

Please add 3 images:

  1. showing the 2 question entities (all columns)
  2. and 3) a full screenshot of the properties of each question entity

Thank you very much in advance.

@templesnr
Copy link

I hope this helps:
id=9999999999999999 answers.more_info_enabled [false,true] answers.placeholder_text [null,"Please tell us about your experience..."] answers.text ["It was great!","I would like to give some feedback"] enabled true more_info_text null question_text How was your experience with the Grab 'n Go Chromebook? question_type 1 rand_weight 1 response null

id=9999999999999999 answers.more_info_enabled [false,false,false,true] answers.placeholder_text [null,null,null,"Tell us more..."] answers.text ["To attend a meeting in the office","To work away from my desk","To work from home","I would like to tell you why ..."] enabled true more_info_text null question_text Why are you borrowing the Grab 'n Go Chromebook today? question_type 0 rand_weight 1 response null

@JoshSanchezG
Copy link
Author

Sorry, but I did not understand the info, this is my first project on GCP, so I did not understand the structure of the entity... could you post and image, remove the header (namespace to URL-safe key), I just need the properties, thanks in advance.

@templesnr
Copy link

Hi @JoshSanchezG - it is the expansion of the screen shot of the entities that I uploaded. You can see the headings and then the content of the entity.
I wouldn't try to create the entities myself though they will be created during bootstrapping.

Maybe one of the developers could confirm whether or not it would be best to remove everything from AppEngine first? Before trying to bootstrap with a new set of survey questions.

Can you confirm - did the survey entities exist when you first bootstrapped?
Do the entities still exist?

@JoshSanchezG
Copy link
Author

JoshSanchezG commented May 1, 2019 via email

@JoshSanchezG
Copy link
Author

I tried to create the Question entities manually but it's not working and it was so difficult without an image of each one... it's a shame that nobody could help me with a simple image :(
I'm disappointing with this community...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants