<?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: Format for passing values via Attribute Expressions from Collector to Survey123 in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702247#M105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning John and thanks for the feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, that does not help with my current situation. I have been able to successfully send two separate fields of coordinates to center my Survey123 geopoint. That works just fine for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to do is utilize the Attribute Expressions to pull the coordinate directly from the point geometry in Collector, then send that to Survey123. This will enable me to always use the most up-to-date location in case a field collector needs to move the point in Collector first. If I use 1 or 2 existing fields with the coordinate information, then any Survey123 form that gets filled out will have its geopoint placed at the coordinates sent by the fields; not by the (potentially) updated coordinates from the geometry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing I can determine as being the cause, is the Attribute Expression itself. It is like Survey123 does not recognize what an Attribute Expression even is. Am I jumping the gun and trying to leverage this feature before it has been incorporated into Collector or Survey123 yet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2018 13:10:00 GMT</pubDate>
    <dc:creator>JosephDrahos</dc:creator>
    <dc:date>2018-05-16T13:10:00Z</dc:date>
    <item>
      <title>Format for passing values via Attribute Expressions from Collector to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702245#M103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have seen some great questions, answers and discussions posted at a few other locations here on GeoNet, but I still have a lingering issue that I am trying to resolve. As a bit of background, I am utilizing the Collector app with prepositioned locations, then using the Collector pop-up to pass values of a particular point into a related Survey123 record. I am currently using two fields stop_lat and stop_lon that have the coordinates (in decimal degrees) and passing these onto the Survey123 app. These fields were populated using the 'Calculate Geometry' tool prior to being published as a Hosted Feature Layer in AGOL. Survey123 accepts these values just fine and automatically places its geopoint on top of the Collector point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The potential issue I need to address, is situations in which the field collectors will need to move the Collector point because it may not be located in the correct spot. If it continues to pass those stop_lat and stop_lon values, Survey123 will place its geopoint at the original coordinates rather than the updated ones.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To address this, I used information from a combination of these two resources (&lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2016/07/30/understanding-survey123s-custom-url-scheme"&gt;understanding-survey123s-custom-url-scheme&lt;/A&gt;) and (&lt;A _jive_internal="true" href="https://community.esri.com/thread/206955-how-can-i-get-xy-in-dec-degrees-from-a-poly-feat-serv-using-arcade"&gt;how-can-i-get-xy-in-dec-degrees-from-a-poly-feat-serv-using-arcade&lt;/A&gt;). It gets me to a 90% solution though. I am able to extract the lat/longs from the Collector point geometry and convert to decimal degrees using slightly modified versions of Xander's code. When I look at the hyperlink in my Collector pop-up, it appears to be passing on those values as intended. However, for some reason Survey123 does not appear to recognize them, and places its geopoint at the location that my device's GPS says I'm at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my thoughts are, that maybe I am using an incorrect format for passing those values calculated in the attribute expressions to Survey123. This is what I am currently using in my Collector pop-up:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #3d3d3d;"&gt;arcgis-survey123://?ItemID=2b630de13e764c889f6e010246701471&amp;amp;field:globalid={GlobalID}&amp;amp;field:stop_id={stop_id}&amp;amp;field:stop_name={stop_name}&amp;amp;field:agency_id={agency_id}&amp;amp;field:agency_name={agency_name}&amp;amp;field:row={row}&amp;amp;field:city={CITY}&amp;amp;field:district={district}&lt;STRONG&gt;&amp;amp;center={expression/expr1},{expression/expr0}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #3d3d3d;"&gt;I have looked at the number of decimal places for expr1 and expr0 and they are both set to 8 decimal places; so that isn't the issue. I have tried using the nice titles of the expressions, in my case GeometryY and GeometryX, but those are not recognized at all. Is {expression/expr1} and {expression/expr0} the correct format for centering the Survey123 geopoint?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #3d3d3d;"&gt;Can anyone spot what my flaw may be?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #3d3d3d;"&gt;I'm wondering if maybe I've been looking at it too long and can't see what I am missing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #3d3d3d;"&gt;Thank you in advance for&amp;nbsp;the guidance or direction that anyone can provide.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 16:29:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702245#M103</guid>
      <dc:creator>JosephDrahos</dc:creator>
      <dc:date>2018-04-27T16:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Format for passing values via Attribute Expressions from Collector to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702246#M104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joseph&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try&amp;nbsp;passing the coordinates in as a single coordinate pair, not two separate fields:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; background-color: #ffffff; border: 0px;"&gt;&lt;EM&gt;center=43.567,-117.380&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; background-color: #ffffff; border: 0px;"&gt;&lt;EM&gt;center={XY Field}&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Try creating a field that contains the coordinate pair (separated by a comma) and then update this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;John&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; background-color: #ffffff; border: 0px;"&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 05:33:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702246#M104</guid>
      <dc:creator>JohnathanHasthorpe</dc:creator>
      <dc:date>2018-05-15T05:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Format for passing values via Attribute Expressions from Collector to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702247#M105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning John and thanks for the feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, that does not help with my current situation. I have been able to successfully send two separate fields of coordinates to center my Survey123 geopoint. That works just fine for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to do is utilize the Attribute Expressions to pull the coordinate directly from the point geometry in Collector, then send that to Survey123. This will enable me to always use the most up-to-date location in case a field collector needs to move the point in Collector first. If I use 1 or 2 existing fields with the coordinate information, then any Survey123 form that gets filled out will have its geopoint placed at the coordinates sent by the fields; not by the (potentially) updated coordinates from the geometry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing I can determine as being the cause, is the Attribute Expression itself. It is like Survey123 does not recognize what an Attribute Expression even is. Am I jumping the gun and trying to leverage this feature before it has been incorporated into Collector or Survey123 yet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:10:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702247#M105</guid>
      <dc:creator>JosephDrahos</dc:creator>
      <dc:date>2018-05-16T13:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Format for passing values via Attribute Expressions from Collector to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702248#M106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joseph,&lt;/P&gt;&lt;P&gt;This following URL scheme works for me for passing location from the geometry of a point feature service in a webmap, to survey123. What this does, is that it passes the pair of coordinates (lat long with only space between them, no comma, as&amp;nbsp;described &lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2016/06/08/calculations-on-geopoints"&gt;here&lt;/A&gt;) to the "passedCentroidLatLong" field in the feature service that survey123 is editing. You also have to make sure that your location in the survey123 is defaulted to this passed location info, and that it is read only.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't test it in collector.&lt;/P&gt;&lt;P&gt;For converting the decimal degrees I used Michael Kelly's post &lt;A _jive_internal="true" href="https://community.esri.com/ideas/12948-add-x-y-coordinates-in-web-map-layer"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="arcgis-survey123://?itemID=942422bb51604b4783feb03caa31abbb&amp;amp;amp;field:workOrderId=CSR-{objectID}&amp;amp;amp;field:description={descriptionOfRequest}&amp;amp;amp;field:passedCentroidLatLong={expression/expr0}" target="_blank"&amp;gt;Create new work order&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chaim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 19:53:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702248#M106</guid>
      <dc:creator>ChaimSchwartz4</dc:creator>
      <dc:date>2018-09-28T19:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Format for passing values via Attribute Expressions from Collector to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702249#M107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Last week I posted a document which explains how to create a pop-up window containing a link to a Survey123 form and sending some fields and the coordinates (unfortunately, it is in Spanish) :&amp;nbsp;&lt;A href="https://community.esri.com/docs/DOC-12348"&gt;Usar Expresiones Arcade para Cumplir con la Resolución 030 de la CREG&lt;/A&gt;&amp;nbsp;(scroll down to the&amp;nbsp;last Arcade expression).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since Aurora (&lt;A href="https://community.esri.com/community/gis/applications/collector-for-arcgis/blog/2017/09/06/the-aurora-project"&gt;https://community.esri.com/community/gis/applications/collector-for-arcgis/blog/2017/09/06/the-aurora-project&lt;/A&gt;&amp;nbsp;, the new generation Collector App is soon to be released and has some support for Arcade) this might work. I will do some testing next Monday and post back if it works.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2018 18:23:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702249#M107</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2018-09-29T18:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Format for passing values via Attribute Expressions from Collector to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702250#M108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you - that is a great article, and google translate did a good job translating it to me:) I will definitely be happy to hear what you find with the collector/aurora, and I will also try out your arcade approach for launching survey123, because one challenge I wasn't able overcome yet is that my above URL scheme, when opened through a webmap pop up, first openes a blank webpage, before launching the windows survey123 app which is a little bit annoying. Would you have an idea how to get rid of that? Changing the "target" tag didn't work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: I used arcade as in your example instead of my URL scheme and still experience the same issue - a blank web page is first created. Is that happening to you as well &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chaim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Sep 2018 02:14:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702250#M108</guid>
      <dc:creator>ChaimSchwartz4</dc:creator>
      <dc:date>2018-09-30T02:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Format for passing values via Attribute Expressions from Collector to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702251#M109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/338857"&gt;Chaim Schwartz&lt;/A&gt;&amp;nbsp;, for our example we used the web version of Survey123, since the form was a public faced form and we can't expect the public to have Survey123 for windows installed. I will give it a shot with Aurora to see if it is supported, but might not be able to do it on Monday. Will definitely post back my findings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Sep 2018 17:06:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702251#M109</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2018-09-30T17:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Format for passing values via Attribute Expressions from Collector to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702252#M110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just did a simple test; removed the symbology based on Arcade and replaced it by a simple renderer since Aurora has had problems with symbology based on Arcade in the past (not sure if this is still the case). I left my pop-up without changes and opened the map in Aurora and clicked on a point. The HTML / Arcade pop-up showed up perfectly:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/423351_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I click on the link&amp;nbsp;it will ask me what I want to do and I clicked on Abrir (Open). You can see in the URL that for instance the coordinates are included:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/423352_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The web survey will open and parameter values are passed to the form as you can see with the coordinates:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/423356_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2018 14:43:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702252#M110</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2018-10-01T14:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Format for passing values via Attribute Expressions from Collector to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702253#M111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for continuing to follow-up on this. Arcade has some great potential, so now it seems it's just a matter of waiting for&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;Aurora to release.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Also, I realized that I never marked this post as answered. It seems that the Arcade functionality of Collector Aurora is the answer to this particular question.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2018 14:50:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702253#M111</guid>
      <dc:creator>JosephDrahos</dc:creator>
      <dc:date>2018-10-01T14:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Format for passing values via Attribute Expressions from Collector to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702254#M112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very true... but as far as I have heard, it will be available very soon. First for iOS&amp;nbsp;and later this year for Android if everything goes according to plan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2018 14:55:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/702254#M112</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2018-10-01T14:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Format for passing values via Attribute Expressions from Collector to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/1296710#M49764</link>
      <description>&lt;P&gt;All:&lt;/P&gt;&lt;P&gt;I have been experiencing the same issues described in this thread: trying to create an attribute expression that calculates lat/long coordinates from a hosted feature layer, then integrate Field Maps with Survey123 to open a form and have the geopoint plot the submitted survey on top of the feature using the result of the attribute expression using a custom URL via the custom URL popup (&amp;amp;center=).&lt;/P&gt;&lt;P&gt;I have been using the "&lt;STRONG&gt;Expression/expr2 - Code to calculate geometry"&amp;nbsp;&lt;/STRONG&gt;formula called out in this post (and a multitude of others on the community page) and it was correctly calculating the coordinates in ArcGIS Online Web Viewer Classic, but then when we tested this functionality in the field, the point was not mapping.&lt;/P&gt;&lt;P&gt;I found that the original formula in the "&lt;STRONG&gt;Expression/expr2 - Code to calculate geometry"&amp;nbsp;&lt;/STRONG&gt;results in an&amp;nbsp;&lt;EM&gt;Array&lt;/EM&gt; data type, with associated brackets. These brackets do not show up in ArcGIS Online, but when you view the popup in Field Maps, you can see the brackets. So because of this, i tested further and in the original function, i removed the brackets in the result line, which worked but was not perfect. It was not perfect because the coordinate results ended up being truncated to 2 decimals, and even though the submitted form was executing, the point was being plotted hundred of feet away.&lt;/P&gt;&lt;P&gt;After 10 hours of testing and researching these threads (which by the way, all of the contributions are EXPONENTIALLY HELPFUL AND I AM SO GRATEFUL OF YOUR KNOWLEDGE) i was able to find the CORRECT SOLUTION:&lt;/P&gt;&lt;P&gt;1.) Create an attribute expression for latitude:&lt;/P&gt;&lt;P&gt;var lat;&lt;BR /&gt;var originShift = 2.0 * PI * 6378137.0 / 2.0;&lt;/P&gt;&lt;P&gt;lat = number(Geometry($feature).y / originShift) * 180.0;&lt;BR /&gt;lat = 180.0 / PI * (2.0 * Atan( Exp( lat * PI / 180.0)) - PI / 2.0);&lt;BR /&gt;return lat;&lt;/P&gt;&lt;P&gt;2.) Create an attribute expression for longitude:&lt;/P&gt;&lt;P&gt;var lon;&lt;BR /&gt;var originShift = 2.0 * PI * 6378137.0 / 2.0;&lt;/P&gt;&lt;P&gt;lon = number(Geometry($feature).x / originShift) * 180.0;&lt;BR /&gt;return lon;&lt;/P&gt;&lt;P&gt;3.) Because of the "number" identifier, In ArcGIS Online Web Map Viewer Classic go to Configure Popups, make sure your pop up display is custom, then the important step is to click &lt;STRONG&gt;Configure Attributes&lt;/STRONG&gt;. Navigate to the newly created expressions and expand the decimal places to a minimum of 5.&lt;/P&gt;&lt;P&gt;4.) Lastly, in the custom URL make the "&amp;amp;center={expression/expr3},{expression/expr4}&amp;nbsp;&lt;EM&gt;where expr 3 is Lat and expr 4 is Long.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I have been testing since i discovered this and it has been running smoothly. Happy Mapping!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 15:16:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/format-for-passing-values-via-attribute/m-p/1296710#M49764</guid>
      <dc:creator>JoshConrad1</dc:creator>
      <dc:date>2023-06-07T15:16:46Z</dc:date>
    </item>
  </channel>
</rss>

