I'm worried about hitting a size limit with regards to the length of my url with this method, as well as it making some difficult to read code, if you have lots of variables to pass.
Best Answer
C
Customer Support
said
about 7 years ago
Hi David,
Going to pass in Mantas' answer from the ticket you logged originally when you posted this:
"The idea behind Snippets/Screens was that you in fact wouldn't pass a lot of data, but rather work out what you need from a small sample of data within the Snippet itself i.e. all of players details from a player id."
1 Comment
Customer Support
said
about 7 years ago
Answer
Hi David,
Going to pass in Mantas' answer from the ticket you logged originally when you posted this:
"The idea behind Snippets/Screens was that you in fact wouldn't pass a lot of data, but rather work out what you need from a small sample of data within the Snippet itself i.e. all of players details from a player id."
David Ogle
Is there a way to pass data to a Snippet in the Dynamic Forms API other than encoding the data in the URL?
Currently, it seems that the only way to pass data into a snippet is to encode it in the "url" of the snippet, e.g;
<gs-snippet snippet="my_snippet?myData=some_data"></gs-snippet>
I'm worried about hitting a size limit with regards to the length of my url with this method, as well as it making some difficult to read code, if you have lots of variables to pass.
Hi David,
Going to pass in Mantas' answer from the ticket you logged originally when you posted this:
"The idea behind Snippets/Screens was that you in fact wouldn't pass a lot of data, but rather work out what you need from a small sample of data within the Snippet itself i.e. all of players details from a player id."
Customer Support
Hi David,
Going to pass in Mantas' answer from the ticket you logged originally when you posted this:
"The idea behind Snippets/Screens was that you in fact wouldn't pass a lot of data, but rather work out what you need from a small sample of data within the Snippet itself i.e. all of players details from a player id."
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics