Questions tagged [alexa-presentation-language]

With Alexa Presentation Language (APL), you can create Alexa skills with full-featured, responsive, and interactive screen displays, in a manner similar to how you can create Web pages with HTML, CSS, and JavaScript.

With Alexa Presentation Language (APL), you can build Alexa skills with voice and visual experiences that apply conditional layouts and data binding. If you have developed skills for Alexa-enabled devices with a screen, then you are familiar with display templates. You can use APL to create the equivalent of display templates. However, with APL, you have the power and flexibility to build multimodal skills with many visual elements (including graphics, images, and slide shows) and to customize the output for different devices.

29 questions
0
votes
2 answers

Is it possible to change contents dynamically which Alexa skill shows without any user actions?

I want to create a Photo Frame Skill for Echo Show. I want to change photos triggered by external server (such as Firebase and so on). Is it possible to change it dynamically without any user actions? I saw Notification API and Proactive Events…
marosiy
  • 58
  • 5
0
votes
1 answer

Why isn't the sequencer repeating the AutoPage?

Got Actual: Text1 --> Text2 --> Text3 Expected: (wanted it to repeat) Text1 --> Text2 --> Text3 --> Text1 --> Text2 --> Text3 --> Text1 --> ... Apl Code: https://apl.ninja/document/Borghild/why-sequencer-not-repeating-6sts { "type": "APL", …
Jas
  • 14,493
  • 27
  • 97
  • 148
0
votes
1 answer

Alexa Presentation Language Image not displaying

I can only get certain images to display whether using an Alexa device or the Alexa console (https://developer.amazon.com/alexa/console/ask/displays#/templates): For example, this works: { "type": "APL", "version": "1.8", "license": "", …
Ken Roy
  • 915
  • 1
  • 10
  • 15
0
votes
1 answer

How to switch APL documents in Alexa without returning a new document?

When developing my Alexa skill, Each time I want to change user's screen in my skill (using APL), I return a new APL document. However, this is slow because it must load the document each time. Is there a better way to do this instead of returning a…
0
votes
1 answer

OpenUrl command in Alexa simulator

I am trying to test OpenURL command like below , but no page is opened in Alexa simulator.Any clue on this issue please ?. { "type": "OpenURL", "source": "https://www.amazon.com/", "onFail": { "type": "SetValue", "componentId":…
0
votes
1 answer

Alexa Presentation Language (APLT) with Python

I'm writing an Alexa Skill via the online Alexa Developer Console with the alexa-hosted provisioning. I am using python to code the skill. I've gotten everything working speech-wise, but I'm trying to use the APLT interface to display text on an…
0
votes
1 answer

Alexa APL. Problems getting AlexaHeader component to sit atop single Image component?

I want to have a header at the top of my Alexa Skill APL page that shows a Title and a Sub-Title. Directly below it, I want to have an image. In other words I want to have the Title and Sub-Title in a box that sits at the top of the image,…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
0
votes
0 answers

How to get text response from alexa voice service

I'm using following python library to query alexa voice service. https://pypi.org/project/avs-client/ In request I send audio file and in response I receive audio file. How to get text response using the above mentioned library ? How to connect to…
0
votes
1 answer

Alexa Custom skill in AWS lambda not recognizing Alexa.getSupportedInterfaces[Error handled: Alexa.getSupportedInterfaces is not a function]

Trying to use Alexa presentation Language features in AWS hosted custom lambda function. Intent handler are firing but when I add the Alexa.getSupportedInterfaces it is failing . Message is "Error handled: Alexa.getSupportedInterfaces is not a…
Reshma
  • 29
  • 1
  • 5
0
votes
1 answer

When "absend" condition in Alexa APL

I have a data structure which can optionally hold a value if so I want to display it. In my example it is the field "quantity". However if it is set both blocks will be shown instead of just one. Where is the error? { "when": "${data.quantity ===…
rekire
  • 47,260
  • 30
  • 167
  • 264
0
votes
1 answer

Alexa Skill Flow Builder - how to dynamically update player count

How do I player a player count in Alexa skill flow Builder? Select a number of players. and then Flow Builder updates with the number of players to Ask each player a question in the game. where should I start going? is there a way for me to scale…
0
votes
0 answers

How to use TouchWrapper component in Image Forward List Display?

In the documentation, content is not enough to exactly implement TouchWrapper component. Anyone who could help? I have…
0
votes
1 answer

Jovo Alexa video onEnd event?

I'm trying to play a video using Jovo and Alexa's new APL. The problem I'm running into is that the Alexa docs say that they you can listen to an onEnd event, but it doesn't seem to be…
Dusty
  • 413
  • 6
  • 17
0
votes
1 answer

Preview on Device with Data JSON throws exception

Testing a simple Alexa skill in Authoring tool, with just one text box getting data from "Data JSON" tab throws an exception on doing preview on device. However same works fine when I hard code data directly in the render template. I have a simple…
Gaurav Mathur
  • 804
  • 5
  • 14
1
2