Author DataPrism custom visuals with AI

The Studio for a custom visual has an AI author that writes and repairs the visual beside you, and previews the result on its own data. Use it to start a visual from a description, or to fix one that a check has flagged. The editing surfaces around it are described on The custom visual Studio.

Ask the AI to write your visual

  1. Open the tile in the DataPrism visual studio with the AI panel open; the AI edits the visual from there.
  2. Describe what the visual should do: the fields to show, the look, and anything to avoid.
  3. Let the turn run. While it works, the editor is read-only and shows AI is editing; review the change when the turn finishes.
  4. Review each change in the editor. Nothing is saved for you: the visual is held in your browser until you press Save.

What the AI works with

How a turn works

Operations, previews and limits

What a refusal says

When an edit cannot go through, the AI says why and nothing changes. These are the refusals you may meet.

Embeds and allowed hosts

Questions, answered

What decides whether the AI writes a Template or an HTML + JS visual?

What the visual has to do. Ribbons, maps, 3D views, charts and word clouds need code, so they become HTML + JS; simpler cards and lists can stay a Template with no JavaScript.

How many roles and fields can the AI set up?

Up to 16 data roles, each taking up to 8 fields. It declares the roles and binds the tile's fields to them; the caps and the role rules are on Custom visual options, data and limits.

How much can the AI change in one message?

At most 60 operations, and reads count too; the ready examples are free. When the cap is reached the turn stops and asks you to continue, so split a large rework across a few messages.

Why does the AI say the visual studio is not connected?

The work happens through the studio, and the tile's studio is not connected to the AI panel right now. Open the tile in the DataPrism visual studio with the AI panel open, then ask again.

Can the AI author work when custom visuals are switched off?

No. The studio refuses with "DataPrism Custom Visuals is disabled on this deployment." Custom visuals are off for the whole deployment; ask an administrator to enable them. Other switched-off messages a tile can show are in Troubleshooting custom visuals.

Why did the AI refuse to copy a sign-in form?

The studio declines tiles that imitate a credential prompt: "DataPrism never asks for credentials inside a report tile, and a custom visual may not imitate one". Design the tile without the sign-in or password shape.

Does the AI save my visual for me?

No. Nothing is saved for you: the visual is held in your browser until you press Save. The flow around that is on The custom visual Studio.

What happens if the AI cannot make the visual work?

It does not leave the tile broken. It restores the last working version, or names the checkpoint you can revert to, and tells you what is left.

Do the ready examples count against the operation limit?

No. The examples the AI can start from are free of the 60-operation budget, and they cover card grids, flow ribbons, waffles, paged cards, KPI strips, geo maps and skyline views.

Why did a preview stop before it finished?

A studio call and a preview each have a 20-second deadline. A run that cannot finish in time reports a timeout instead of a result; ask again.