Create v Update

OK— my turn to have issues (…again :slight_smile:)

So i’m building an survey/feedback app and i have created various collections and relations as needed; however i’m at an impass…

when user clicks the button that should create collection + link to next (survey) screen nothing visually happens…
image

also I have a screen of controls that floats over a video screen after a few seconds of play, however this now inhibits the user from being able to interact with the video player (play/pause/mute etc) as the modal screen, tho transparent seems to be blocking this.

H-help?

Hi @ascs ,

I have recreated your case, and get the same issue, so create can only be linked back.

maybe, you can pre-create first somewhere along the way, and then do an update.

Hi @yongki,

Thanks for giving this a shot.

I will think on your suggestion and see what solution I come up with.

Update:

it has to do something with updating the collection.

i created the collection from an earlier event which takes the user to the video player screen…

—but when i now try to update current collection i’m back at square 1.

i removed the update event action and the link worked. but adding it back and i get visually stumped.

Hi @ascs ,

I try again with update, link to other screen, link back
in other screen, update current, link back

it works.

Do you mind sharing that (clone) with me so I can see what I might be missing?

Hi @ascs ,

When I tried it, it was on my own app.

But, here is for your reference.

After doing in this new app, I realize that both create and update works, it is just for create, we need to delay it into last screen.

and other thing, when I add screen with name of “next screen”, it becomes “Screen”, I guess somebody in engineering is putting a sign. :grinning:

thanks for this @Yongki,

mine is setup a bit different. my individual reactions are already a part of the reaction collection.

using the Survey Feedback Clone example; create survey (reaction) sends predetermined data to the survey (collection) screen and that transition works. However, in my case, i create the survey (reaction) and sends that created (current) reaction (survey) to the player screen that now provides a link to update the survey with updated data (numeric values) and link to the survey but the update collection still prevents the transition and i’ve also noticed in the records that none of the predetermined data gets sent. Compared to your example; your update takes data from the input and updates the collection as opposed to mine that should act like the survey clone) example; create survey (reaction) sends predetermined data to the survey (collection) screen and that transition works.

However, in my case, i create the survey (reaction) and sends that created (current) reaction (survey) to the player screen that now provides a link to update the survey with updated data (numeric values) and link to the survey but the update collection still prevents the transition and i’ve also noticed in the records that none of the predetermined data gets sent.

Compared to your example; your update takes data from the input fields and updates the collection as opposed to mine is expected to act similar to the survey clone

Hi @ascs ,

Here is my setup,

I think that using slider that linked directly to collection, works even better.

What I did were like this, remove visibility in begin survey, clone screen survey questions, remove last 2 sliders, add next screen button, put action link to survey questions 2 (no update action), in survey questions 2, remove first 3 sliders, change link back to link to home in submit survey button.

Hope this helps.

Hey @Yongki ,

i have no visibility options on my button(s); on my survey screen my sliders (for the most part) function as they should and data gets added to the collection record (without having to hit submit; however submit has a custom function so its important!)

what should happen is, if you look in the action for begin survey, you’ll see that it has, under create survey action, predetermined data (5) for each survey question and that data gets sent to the survey screen (each slide starts at 5) but when i do it for my push it sends the data but doesn’t transition to the survey screen.

I’m gonna keep playing around but this is my issue.

Just to clarify, I am referring to that survey clone that you suggest.

You can make simple cloneable app that I can look at, see what you are missing or my assumption were not right.

So I’m elated at the moment because I got it to f#%$&ing work!

I restructured my collection and took 10 steps back, got mad at myself, took a shower and went to get coffee and came back at it and BOOM BAM BENG!

thanks @Yongki!

1 Like

Nice enlightment ! :grinning:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.