{"_id":"562014128a05d7230006ffe2","project":"54861bb654b3ce0b00367292","user":"54861b9f3681d914006992a4","version":{"_id":"5620140f8a05d7230006ffac","project":"54861bb654b3ce0b00367292","__v":3,"createdAt":"2015-10-15T21:01:03.908Z","releaseDate":"2015-10-15T21:01:03.908Z","categories":["562014108a05d7230006ffad","562014108a05d7230006ffae","562014108a05d7230006ffaf","562014108a05d7230006ffb0","562014108a05d7230006ffb1","562014108a05d7230006ffb2","562014108a05d7230006ffb3","562014108a05d7230006ffb4","562014108a05d7230006ffb5","5666f7f5d784a70d00397bff","56967935b6d61f0d00acfb0b"],"is_deprecated":true,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"Moments","version_clean":"2.0.0","version":"2.0"},"parentDoc":null,"__v":0,"category":{"_id":"562014108a05d7230006ffae","pages":["562014128a05d7230006ffd8","562014128a05d7230006ffd9","562014128a05d7230006ffda","562014128a05d7230006ffdb","562014128a05d7230006ffdc","562014128a05d7230006ffdd","562014128a05d7230006ffde","562014128a05d7230006ffdf","562014128a05d7230006ffe0","562014128a05d7230006ffe1","562014128a05d7230006ffe2","562014128a05d7230006ffe3","562014128a05d7230006ffe4","562014128a05d7230006ffe5"],"project":"54861bb654b3ce0b00367292","version":"5620140f8a05d7230006ffac","__v":1,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-12-08T22:54:31.828Z","from_sync":false,"order":2,"slug":"2-personalization","title":"Cases & Dynamic Objects"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2014-12-11T05:06:59.885Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"auth":"never","params":[],"url":""},"isReference":false,"order":5,"body":"When should we use dynamic Object and when a Case?\n\nEach has it's own pros and cons, but at the core of things, Dynamic objects are focused on less-complicated information and content for you to change in real time.   \nSo information like:   \n1. Location of an visual item ( the X,Y coordinates of that item ). \n2. The number of times that an end user triggers a specific action before he gets a unique interaction.   \n3. The welcoming string on the on-boarding flow. \n4. The content you would like to popup in a message you would like to relay to your end user  in a specific scenario. \n\nAnd much much more would probably be more relevant for working with dynamic objects.\n\nWhereas cases would be more relevant for changing more \"complicated\" experiences:  \n\n1. Allow two different unique sets of registration flows (one with Facebook connect and one with email and password) \n2. A different visual experience provided for a specific user (not minor changes but more like different UI) \n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Cases W/ Dynamic objects\",\n  \"body\": \"In some cases you could combine the two by adding dynamic variables within a specific case\"\n}\n[/block]","excerpt":"","slug":"dynamic-object-vs-case","type":"basic","title":"* Dynamic object vs. Case"}

* Dynamic object vs. Case


When should we use dynamic Object and when a Case? Each has it's own pros and cons, but at the core of things, Dynamic objects are focused on less-complicated information and content for you to change in real time. So information like: 1. Location of an visual item ( the X,Y coordinates of that item ). 2. The number of times that an end user triggers a specific action before he gets a unique interaction. 3. The welcoming string on the on-boarding flow. 4. The content you would like to popup in a message you would like to relay to your end user in a specific scenario. And much much more would probably be more relevant for working with dynamic objects. Whereas cases would be more relevant for changing more "complicated" experiences: 1. Allow two different unique sets of registration flows (one with Facebook connect and one with email and password) 2. A different visual experience provided for a specific user (not minor changes but more like different UI) [block:callout] { "type": "info", "title": "Cases W/ Dynamic objects", "body": "In some cases you could combine the two by adding dynamic variables within a specific case" } [/block]