&
), or a Content Channel Item title with a single quote ('
). Anything that has been user-inputted should be escaped! You can also encode characters manually, for example replacing &
with &
works.{% assign itemId = PageParameter.Id %}
CurrentPerson
object that is available on the mobile shell is a stripped down version of what you are used to using on the Server side. It does not support all the same properties, but most of the ones you are most likely to use should be available.Person.Id
you would use on the server.Phone
, Tablet
, Watch
, Unknown
.Apple
).iPhone 7
).1.2.1.7
). 2.0.3
). iOS
, Android
, Unknown
.Unknown
, Portrait
, Landscape
.2
).PageValues
object is just a dictionary of string/object pairs that you can use any way you want. There is no defined structure to them. You can read more about their use in the Page Events section.PageValues
, the AppValues
is a simple dictionary that you can store custom data into. However, the major difference is that AppValues
will persist between application restarts. One simple usage might be to store a preference in how a page is displayed. You might present the user with a show/hide option that shows or hides certain elements on the page - all processed on the mobile shell. You can use AppValues
for this and the value will persist between different visits to the page as well as a full restart of the application.key
and value
can either be specified as literal values or as variable references, so both of the following are functionally the same.key
and value
can either be specified as literal values or as variable references, so both of the following are functionally the same.NOTEBecause these application values must be persisted to the local database, you should attempt to keep them limited to simple primitive types, such as numbers, strings, booleans. Any other more complex object or array types may or may not restore back from the database as you expect.