<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Opening mobile surveys from pop-ups causing unpacking loop in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1401555#M55808</link>
    <description>Yes, add your var if statememt before the survey parameters then put the&lt;BR /&gt;itemid variable in instead of a hard coded itemid string&lt;BR /&gt;</description>
    <pubDate>Wed, 27 Mar 2024 16:59:43 GMT</pubDate>
    <dc:creator>ChristopherCounsell</dc:creator>
    <dc:date>2024-03-27T16:59:43Z</dc:date>
    <item>
      <title>Opening mobile surveys from pop-ups causing unpacking loop</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1400374#M55721</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I have been having this issue for a few weeks now while I have been testing a new survey, and I am not sure what to do to fix it.&lt;/P&gt;&lt;P&gt;In my pop-up, I have two links. One opens the survey in the browser, the other on mobile (as this survey is so big, opening it in an iPad browser doesn't work well). Whenever I try to click the link that would open the survey in the (iPad) Survey123 app, it causes a loop between downloading and unpacking the survey.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have a solution to this? &lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/updating-public-survey-causes-unpacking-failure/td-p/1024118/page/2" target="_self"&gt;I found a similar posting here&lt;/A&gt;, but this survey is private to the organization, and this post is from a few years ago. Nothing seems to solve the problem..&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I attached a video, caution watching if you are sensitive to flashing.&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6349672817112w376h540r517" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6349672817112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6349672817112w376h540r517');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6349672817112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 15:14:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1400374#M55721</guid>
      <dc:creator>leahmaps</dc:creator>
      <dc:date>2024-03-25T15:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Opening mobile surveys from pop-ups causing unpacking loop</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1400586#M55742</link>
      <description>&lt;P&gt;I've had this happen before. What does your URL look like? I am thinking the URL is somehow malformed.&lt;/P&gt;&lt;P&gt;I actually made this &lt;EM&gt;intentionally&lt;/EM&gt; happen before because I was (and still am) super frustrated that launching via URL doesn't automatically check for updates. My hope was that by adding a parameter to the URL I could get that check to occur. Technically it did work since it downloaded the form each time the link was clicked. The issue was I ended up in an endless loop exactly as you have shown there.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 20:35:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1400586#M55742</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-03-25T20:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Opening mobile surveys from pop-ups causing unpacking loop</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1400796#M55753</link>
      <description>&lt;P&gt;Do you have an ENH/Idea for the URL scheme not enforcing survey updates?&lt;/P&gt;&lt;P&gt;I had one for CSVs not refreshing but we need this to enforce survey updates as well.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 09:50:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1400796#M55753</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2024-03-26T09:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Opening mobile surveys from pop-ups causing unpacking loop</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1400830#M55756</link>
      <description>&lt;P&gt;So, I have two surveys (the initial and an update survey) that don't open in the app, but the URL is the same for both, other than the survey ID (x'ing out a few parts of the URL):&lt;/P&gt;&lt;P&gt;&lt;A href="https://survey123.arcgis.app/?itemID=exxxccxxxe344548897736ff73029495?mode=edit&amp;amp;globalId=de63aef4-xxxx-xxxx-xxxx-d05fb44b4446" target="_blank" rel="noopener"&gt;https://survey123.arcgis.app/?itemID=exxxccxxxe344548897736ff73029495?mode=edit&amp;amp;globalId=de63aef4-xxxx-xxxx-xxxx-d05fb44b4446&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I got the URL to open the app from the Survey123 website. What do you think could be weird with this URL?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 12:39:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1400830#M55756</guid>
      <dc:creator>leahmaps</dc:creator>
      <dc:date>2024-03-26T12:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Opening mobile surveys from pop-ups causing unpacking loop</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1400971#M55765</link>
      <description>&lt;P&gt;Try "&amp;amp;" instead of "?":&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1711468489333.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/99108i2AB1B7DD2E83734D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1711468489333.png" alt="abureaux_0-1711468489333.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also, looks like you have an extra "/" right after "app". Should be "app?":&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_1-1711468531189.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/99109i4A87BCB1E7B99E07/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_1-1711468531189.png" alt="abureaux_1-1711468531189.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 15:57:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1400971#M55765</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-03-26T15:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Opening mobile surveys from pop-ups causing unpacking loop</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1400973#M55766</link>
      <description>&lt;P&gt;I do: &lt;A href="https://community.esri.com/t5/arcgis-survey123-ideas/survey-checks-for-updates-when-loaded-from-web/idi-p/1078268" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-ideas/survey-checks-for-updates-when-loaded-from-web/idi-p/1078268&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(I also mention CSVs in the post. That is another pain point... I get at &lt;EM&gt;least&lt;/EM&gt; two requests per week that a user's CSV is out of date and they don't know what to do...)&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 16:03:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1400973#M55766</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-03-26T16:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Opening mobile surveys from pop-ups causing unpacking loop</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1400989#M55768</link>
      <description>&lt;P&gt;Yes! the &amp;amp;mode=edit worked to open the survey without any loading, but now is not grabbing the referenced global ID. Now, it opens a new survey instead of relating to the record the popup is from.&lt;/P&gt;&lt;P&gt;The interesting thing is, I don't know where the additional "/" is coming from. I have this running in arcade to calculate the URL, and there is not an extra /&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leahmaps_0-1711470229896.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/99114i608D826E2D34F262/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leahmaps_0-1711470229896.png" alt="leahmaps_0-1711470229896.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 16:25:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1400989#M55768</guid>
      <dc:creator>leahmaps</dc:creator>
      <dc:date>2024-03-26T16:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Opening mobile surveys from pop-ups causing unpacking loop</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1401034#M55775</link>
      <description>&lt;P&gt;My links have that / in them as well and it doesn't seem to cause any issues.&lt;/P&gt;&lt;P&gt;The way I use the globalID though is&amp;nbsp;&lt;STRONG&gt;&amp;amp;filter=globalid:&lt;/STRONG&gt;{globalid} and it seems to work for me, try adding the &lt;STRONG&gt;filter=&lt;/STRONG&gt;?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 17:48:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1401034#M55775</guid>
      <dc:creator>RobertAnderson3</dc:creator>
      <dc:date>2024-03-26T17:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Opening mobile surveys from pop-ups causing unpacking loop</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1401037#M55776</link>
      <description>&lt;P&gt;The fact you have 2 ideas (by accident) on this same topic and they've only got sub 5 votes is absolutely wild to me, this should be taken with so much more urgency I think.&lt;/P&gt;&lt;P&gt;I get that request weekly as well from staff it's brutal.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 17:50:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1401037#M55776</guid>
      <dc:creator>RobertAnderson3</dc:creator>
      <dc:date>2024-03-26T17:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Opening mobile surveys from pop-ups causing unpacking loop</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1401324#M55787</link>
      <description>&lt;P&gt;The feedback loops between field staff, GIS and Esri can be a bit disconnected. I'm a big advocate of users reaching out to support to add a case and their account to Enhancements and Bugs, as well as creating well articulated ideas. They might genuinely not appreciate how much of an issue it is until we push it.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 09:38:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1401324#M55787</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2024-03-27T09:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Opening mobile surveys from pop-ups causing unpacking loop</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1401326#M55788</link>
      <description>&lt;P&gt;You can't specify the globalid for editing, it's not how the inbox works. Field parameters aren't supported in the inbox. Globalid isn't supported as a field to pass through at all.&lt;/P&gt;&lt;P&gt;You need to apply a query parameter like:&lt;/P&gt;&lt;P&gt;q:globalId=1d392670-33e2-456d-8435-7fad3abd8bb9&lt;/P&gt;&lt;P&gt;e.g.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://survey123.arcgis.app/?itemID=exxxccxxxe344548897736ff73029495&amp;amp;mode=edit&amp;amp;q:globalId=de63aef4-xxxx-xxxx-xxxx-d05fb44b4446" target="_blank"&gt;https://survey123.arcgis.app/?itemID=exxxccxxxe344548897736ff73029495&amp;amp;mode=edit&amp;amp;q:globalId=de63aef4-xxxx-xxxx-xxxx-d05fb44b4446&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You should also URL encode the request.&lt;/P&gt;&lt;P&gt;Try using this instead, then adding the expression as a link value in the text editor.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;// Set app to open
var urlsource = 'arcgis-survey123://?';

// Set parameters
var params = {
  // item id of survey form
  itemID: '&amp;lt;item_id&amp;gt;',
  // parameters to pass (note no field values work in edit/inbox mode)
  // edit = inbox
  action: 'edit',
  // inbox query, will only return one record if it exists
  'q:globalId': $feature.GlobalID,
  // inbox folder
  folder: 'inbox',
  // refresh inbox
  update: 'true',
  // optional call back to ArcGIS Field Maps
  callback:'https://fieldmaps.arcgis.app'
};
// Combine the app + parameters
return urlsource + UrlEncode(params);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 09:46:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1401326#M55788</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2024-03-27T09:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Opening mobile surveys from pop-ups causing unpacking loop</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1401528#M55804</link>
      <description>&lt;P&gt;Hi Christopher,&lt;/P&gt;&lt;P&gt;The URL parameter the other way did work. When you clicked the link in field maps, the inbox had a search for {globalID} = 'whatever the global id was'. Yours did work better as it just did open the survey directly.&lt;/P&gt;&lt;P&gt;However, in my rendition of the expression, the itemID would switch based on the status of the feature class. If it is active, it opened one survey, if it is closeout, it opened another. Is that something that can still be done using this expression?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 16:01:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1401528#M55804</guid>
      <dc:creator>leahmaps</dc:creator>
      <dc:date>2024-03-27T16:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Opening mobile surveys from pop-ups causing unpacking loop</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1401555#M55808</link>
      <description>Yes, add your var if statememt before the survey parameters then put the&lt;BR /&gt;itemid variable in instead of a hard coded itemid string&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Mar 2024 16:59:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1401555#M55808</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2024-03-27T16:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Opening mobile surveys from pop-ups causing unpacking loop</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1644528#M63902</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1213"&gt;@JamesTedrick&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/415562"&gt;@Ismael&lt;/a&gt;&amp;nbsp;can you help with this? I am experiencing the exact same thing as&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/446273"&gt;@Lea&lt;/a&gt;. Using Connect version 3.23.48, and calculating the URL scheme to include fields from a featureset. Arcade is below. I can open the survey just fine when opening in any browser (Chrome/Safari), however when updating the URL to open in the S123 app, I get this DL and unpacking loop that I cannot figure out. Have tried both with&amp;nbsp; "update to the latest survey" on and off. Have also played around with Inbox (which shouldn't make a difference but I wanted to test anything I could think of!).&lt;/P&gt;&lt;P&gt;Please assist! Its suuuuper bizarre behavior, and I have been using these URLs for years and this is the 1st time I have encountered this kind of behavior (both IOS and Android).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Arcade here:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;loc&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;$feature&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;MXLOCATION&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;// Access the "WORK ORDERS" table in the map&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;fields&lt;/SPAN&gt;&lt;SPAN&gt; = [&lt;/SPAN&gt;&lt;SPAN&gt;'LOCAT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&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;planList&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;``&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;//LOOP THROUGH TO GET COUNTS FOR CORRECT POPUP HEADING&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;Count&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;plans&lt;/SPAN&gt;&lt;SPAN&gt;) &amp;gt;= &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;){&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;planList&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;`&amp;lt;div style = "background:lightgray"&amp;gt;&amp;lt;h3&amp;gt;Open Work Orders&amp;lt;/h3&amp;gt;`&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;else&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;planList&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;`&amp;lt;div style = "background:lightgray"&amp;gt;&amp;lt;h3&amp;gt;No Active Work Orders&amp;lt;/h3&amp;gt;`&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;//LOOP THROUGH AND GET LINKS FOR EACH WO#&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;for&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;p&lt;/SPAN&gt; &lt;SPAN&gt;in&lt;/SPAN&gt; &lt;SPAN&gt;plans&lt;/SPAN&gt;&lt;SPAN&gt;){&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;Count&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;plans&lt;/SPAN&gt;&lt;SPAN&gt;) &amp;gt;= &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;){&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;desc&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;p&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;DESC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PAN&gt;&lt;SPAN&gt; + &lt;/SPAN&gt;&lt;SPAN&gt;":"&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;SPAN&gt;TextFormatting&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;NewLine&lt;/SPAN&gt;&lt;SPAN&gt; +&lt;/SPAN&gt;&lt;SPAN&gt;desc&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;// &amp;nbsp; &amp;nbsp;var src="&lt;A href="https://survey123.arcgis.app" target="_blank" rel="noopener"&gt;https://survey123.arcgis.app&lt;/A&gt;?"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;// &amp;nbsp; &amp;nbsp;var link = "itemID=8fa4f5a4e39e4eaa8f5442d2f176cc25?field:DESCRIPTION=" + desc + "&amp;amp;mode=edit" +"&amp;amp;field:MXLOCATION=" + locs + "&amp;amp;field:WONUM=" + wonum &amp;nbsp;+ "&amp;amp;field:RO_STATUS=" + status + "&amp;amp;callback=&lt;A href="https://experience.arcgis.com/experience/35e7c7330c9f46ec990c2c793c9xxxx" target="_blank" rel="noopener"&gt;https://experience.arcgis.com/experience/35e7c7330c9f46ec990c2c793c99xxxx&lt;/A&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;sublink&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="https://survey123.arcgis.app/?itemID=8fa4f5a4e39e4eaa8f5442d2f17xxxx?field:DESCRIPTION=" target="_blank" rel="noopener"&gt;https://survey123.arcgis.com/share/8fa4f5a4e39e4eaa8f5442d2f17xxxx?field:DESCRIPTION=&lt;/A&gt;"&lt;/SPAN&gt;&lt;SPAN&gt; + &lt;/SPAN&gt;&lt;SPAN&gt;desc&lt;/SPAN&gt;&lt;SPAN&gt; + &lt;/SPAN&gt;&lt;SPAN&gt;"&amp;amp;mode=edit"&lt;/SPAN&gt;&lt;SPAN&gt; + &lt;/SPAN&gt;&lt;SPAN&gt;"&amp;amp;field:MXLOCATION="&lt;/SPAN&gt;&lt;SPAN&gt; + &lt;/SPAN&gt;&lt;SPAN&gt;locs&lt;/SPAN&gt;&lt;SPAN&gt; + &lt;/SPAN&gt;&lt;SPAN&gt;"&amp;amp;field:WONUM="&lt;/SPAN&gt;&lt;SPAN&gt; + &lt;/SPAN&gt;&lt;SPAN&gt;wonum&lt;/SPAN&gt;&lt;SPAN&gt; &amp;nbsp;+ &lt;/SPAN&gt;&lt;SPAN&gt;"&amp;amp;field:RO_STATUS="&lt;/SPAN&gt;&lt;SPAN&gt; + &lt;/SPAN&gt;&lt;SPAN&gt;status&lt;/SPAN&gt;&lt;SPAN&gt; + &lt;/SPAN&gt;&lt;SPAN&gt;"&amp;amp;callback=&lt;A href="https://experience.arcgis.com/experience/35e7c7330c9f46ec990c2c793c9xxxxx" target="_blank" rel="noopener"&gt;https://experience.arcgis.com/experience/35e7c7330c9f46ec990c2c793c9xxxxx&lt;/A&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;// &amp;nbsp; &amp;nbsp;var sublink = src + UrlEncode(link)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;planList&lt;/SPAN&gt;&lt;SPAN&gt; += &lt;/SPAN&gt;&lt;SPAN&gt;`&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;&amp;lt;a href = "&lt;/SPAN&gt;&lt;SPAN&gt;${&lt;/SPAN&gt;&lt;SPAN&gt;sublink&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;" style ="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&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Aug 2025 22:36:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1644528#M63902</guid>
      <dc:creator>LindsaySpencer-Henderson</dc:creator>
      <dc:date>2025-08-21T22:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Opening mobile surveys from pop-ups causing unpacking loop</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1644536#M63903</link>
      <description>&lt;P&gt;Mode=edit is the url paremeter for the web app.&lt;/P&gt;&lt;P&gt;You should be using action=edit AND adding a query parameter for the inbox if using the field app.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/get-started/integrate-launchfieldapp.htm" target="_blank"&gt;https://doc.arcgis.com/en/survey123/get-started/integrate-launchfieldapp.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Field parameters are not supported when using the URL to pass values to the inbox. It can only open the existing values.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 22:46:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/opening-mobile-surveys-from-pop-ups-causing/m-p/1644536#M63903</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2025-08-21T22:46:21Z</dc:date>
    </item>
  </channel>
</rss>

