Same content in two contentControl widgets on a same page?

Hi, I am using mappView 5.24.5. I was trying to load the same content in two different contentControl widgets, so they are both displayed at the same time on the same page. It doesn’t work for me, the second contentControl never loads the content, and logger reports this:

-2134803129: Client: content "a" already loaded
-1061090151: Error executing action "a" in context "b"

My question is, is this supported or not?

It is not possible to have the same content loaded twice at the same time. So not supported.

Why would you want to show the exactly same information in two places at the same time?

Hi Jiri,

my information is that this doesn’t work. :frowning:

You either have to unload first contentControl before loading the content to another contentControl or copy it in Automation Studio.

Perhaps someone has an other idea…

Regards Simon

2 Likes

Hey @jidost, I’m curious about your use case for loading the same content twice on the same page?

I don’t think its important, but since two people already asked here it is.

We started with a page with a table, and an admin only flyout widget. The contentControl was originally part of the flyout, used for some drag/drop actions. The selection in the table causes the contentControl to reload.

Later we decided to add the other contentControl to the main page, because it was also useful for other roles as a display only feature.

In the end I solved it with event system (one of multiple solutions), but I asked because I it seemed like the easiest solution, and I was not able to find anything about this limitation in the AS help.

2 Likes

thanks for explanation. :slight_smile: