Embed widget displaying "Only HTTPS is supported" even though link is https

1292
11
Jump to solution
10-24-2023 10:56 AM
Labels (1)
Matt-Barrett
Occasional Contributor

I'm trying to build and experience builder app to display linked documents.  I have documents linked via a joined table(with over 17,000 records) rather than as attachments.  The table is joined to my property parcels layer via a one-to-many join, as each parcel could have multiple documents linked.

I set the embed widget to display the link in the link field based on the selected record in the layer on the map.  However, the widget just displays the text "Only HTTPS is supported."  The links are valid and are all https urls.  So I'm really not sure what the issue is.  If you click the "view" text in the map pop-up the image opens in a new browser tab, but doesn't display in the embed widget.

What am I missing?

Thanks!

exp_bldr_embed_linkfield.png

doc_url_field.png

0 Kudos
1 Solution

Accepted Solutions
Robert_LeClair
Esri Notable Contributor

I think the Embed widget is the wrong widget to use in the example.  I would use the Feature Info widget, connect it to the data and configure it work witht the image attribute field.

View solution in original post

11 Replies
AngelaSchirck
Occasional Contributor II

Maybe choose "selected" instead of default?

 

0 Kudos
Matt-Barrett
Occasional Contributor

It actually is set up for "selected"  I just forgot to update my screenshot.  Thanks though!

MattBarrett_0-1698178469091.png

 

0 Kudos
TonghuiMing
Esri Regular Contributor

@Matt-Barrett 

Well, glad to see you work this out. However, what looks weird to me is that - even with the Embed widget, it should work properly (well, depending on whether the URL domain allows itself to be put inside an iframe). This is something similar, with the AGOL URL, and it works fine:

TonghuiMing_0-1700727442405.png

My wild guess - did you type in the "{doc_URL}" directly, instead of choosing the corresponding field from the data attribute dropdown? If you do so, it is treated as a single string, without any ds mapping on the back. That won't work properly.

TonghuiMing_1-1700727628335.png

See that the "Selected features" should be inside this "Data attribute" panel > "Data" entry, not on the data source itself.

0 Kudos
AngelaSchirck
Occasional Contributor II

Weird, seems like it should work. Sorry I can't help.

0 Kudos
Robert_LeClair
Esri Notable Contributor

I think the Embed widget is the wrong widget to use in the example.  I would use the Feature Info widget, connect it to the data and configure it work witht the image attribute field.

Matt-Barrett
Occasional Contributor

Even with images linked by url rather than attachments?  I had tried that initially and it was just a repeat of the pop-up in the map, so I decided to try the embed widget.  But maybe I didn't configure it correctly.

0 Kudos
Matt-Barrett
Occasional Contributor

Ok, I figured out how to make the Feature Info widget do what I want by updating the pop-up to display the linked image.  So that gives me what I want.  Thanks for your help!

MattBarrett_0-1698282977545.png

 

AngelaSchirck
Occasional Contributor II

You can also get rid of the pop up info if you want and just display the document. In map viewer on the popup config menu click the ... by field list and delete.  I typically do this and configure my popups using text, it looks nicer (unless you need that info there, in which case you can disable popups on your map widget and only have the info in the feature info widget rather than double displaying it).

AngelaSchirck_0-1698321827493.png

Example customized popup with text:

AngelaSchirck_1-1698322203790.png

 

 

Matt-Barrett
Occasional Contributor

I hadn't thought of that.  Excellent!  Thank you!

0 Kudos