I have a survey that I created in Connect, published to Enterprise. Everything seems to work just fine with survey. My problem is arising when trying to link to a survey record in the Survey123 manager. In the web map where survey results are managed, I am creating a link so that the user can link directly to the Survey123 manager to export reports.
Here is my Arcade expression:
var eventformID = '160110589ab542ef92079dedb043c503'
var eventFormURL = "https://survey123.arcgis.com/surveys/" + eventformID;
var eventObjectID = $feature.OBJECTID;
return eventFormURL + "/data?objectIds=" + eventObjectID
Then the Returned URL is used as a hyperlink to the record.
Here's the weird thing: If I've logged in to the Survey123 manager in my Enterprise Portal before I click any of these links, I get there fine. But if I have not (not cached in the browser, I'm guessing), then when I click on the link I am prompted for AGOL login credentials:
But the form is published to Enterprise so...does anyone have any ideas for how to get around having to login manually? I hope that the link would go directly to Enterprise login prompt instead of AGOL.