Développer ma barre des réalisations de la Communauté.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Cette conversation a été verrouillée en raison de son inactivité. Veuillez créer une nouvelle publication.

RÉSOLU

DPS Preflight shows app in landscape, not portrait

Avatar

Level 1

Hello,

In DPS 2015, I have my Android app configured to 'portrait', both for tablets and phones. However, when I publish my content to Preflight and open it on my tablet (Samsung Galaxy Tab E), the content is shown in landscape. Can anyone enlighten me on what I am doing wrong?

Paul

1 solution acceptée

Avatar

Réponse correcte par
Level 6

A little more detail on this, it's great once you understand it...

In DPS Preflight, when looking at My Projects you can rotate your device. The project view will rotate. If you tap on a project to see the content, cards, etc. and you're holding the device in landscape -- you'll view the project in landscape.

Return to My Projects, change the device orientation and open a project -- you view it in whatever orientation was active when you entered the project.

Doing this with HTML articles that have media queries can be really tripy!

HTH

Voir la solution dans l'envoi d'origine

4 Replies

Avatar

Employee

Can you post a screenshot?

Neil

Avatar

Level 1

Hi Neil, thanks for your quick response. Signing out and back in at the Preflight app on my device fixed it. I now have the app in portrait mode, just as intended. Problem solved 🙂

Paul

Avatar

Employee

If you’re using the preflight app from the store, the orientation we show the content in is the orientation you were actually holding the device when you were on the project screen.

Neil

Avatar

Réponse correcte par
Level 6

A little more detail on this, it's great once you understand it...

In DPS Preflight, when looking at My Projects you can rotate your device. The project view will rotate. If you tap on a project to see the content, cards, etc. and you're holding the device in landscape -- you'll view the project in landscape.

Return to My Projects, change the device orientation and open a project -- you view it in whatever orientation was active when you entered the project.

Doing this with HTML articles that have media queries can be really tripy!

HTH

The following has evaluated to null or missing: ==> liql("SELECT conversation_style, c_isqanda FROM nodes WHERE id = 'board:${coreNode.id}' AND node_type='board'").data.items [in template "analytics-container" at line 36, column 20] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign board = liql("SELECT conversa... [in template "analytics-container" at line 36, column 3] ----