POST
|
It was, as I'd supposed, a newbie error. And it was your question that led me to the solution. The failing cmd window printed: Need to pay attention ...clearly showing that it was trying to find nodejs in C:\Program Files (x86)\ and version 1.3.2 When I'd downloaded the newest version into C:\Program Files\ So I renamed the original nodejs folder to nodejs_old, and reinstalled the nodejs to the x86 folder. Step #8 now works without a hitch.
... View more
01-20-2021
08:17 AM
|
0
|
1
|
103
|
POST
|
Another little snag is that all the text displayed by esri is sans serif. So me typing in "...jRf8jjFwxedITdFe/arcgis/rest/services..." (or whatever address) becomes annoying when that l is really an I, or vice versa.
... View more
01-14-2021
05:51 PM
|
0
|
0
|
203
|
POST
|
I was tempted to poke around the Developers section of ArcGIS, in the hopes of perhaps fingaling my way to a widget that behaved the way I wanted it to. The requirements included your own installation of the ExB Developer Edition ~for which there is a handy video that purports to 'walk the viewer through the installation steps.' There's a bit of a gap in the instructions 37 seconds in. But I was able to download & install nodejs, and the various "necessary tools" for its use, including "Chocolatey." I have opened cmd prompts to "clean install" the client and server, but typing npm ci does nothing. So, I'm stuck on Step #8 of installing the Developer Edition. Any ideas re: how to proceed? This is probably a rookie mistake, and we'll all have a good laugh later, but I'm no where near starting the 15 minute 'Create a starter widget' tutorial.
... View more
01-14-2021
05:32 PM
|
0
|
5
|
189
|
POST
|
Oh, my, yes. I'm afraid I have only 2 suggestions. One is in the case of attached images, the other uses the ArcOnline Map's customized PopUps. From my experience thus far, any other solutions require Developer knowledge/experience -not my forte, sad to say. For the dynamic display of particular attached images, see my previous post. For the use of customized PopUps, you can display the customized/formatted PopUps in the Feature Info widget. So, in the ArcOnline Map being used to source the ExB app, configure your PopUps using Arcade Expressions. The following arcade script will return a list of related content: Related Records using Arcade for to create PopUps You might not need the count variable, but I used it to check if a particular item had any related content. It's also essentially the same as what ExB's default Count for Related Data does. Here's an excerpt from p.6 of my Documentation of Project Development... from around last August(?): Script queries Related Records for a certain Record_Type, then return "inline" or "none" if any found (or not); Used in html "display" argument (conditional display). @KellyGerrow's post re: Conditional Field Display was of great help. ...Ah, memories. This was from when I began to think I knew what I was doing... This may or may not be helpful to you, or go some way to answer your question re: displaying related data dynamically. ...It's all I've found so far.
... View more
01-08-2021
10:22 AM
|
1
|
0
|
162
|
POST
|
@EmmaHatcher, I see that your app's List item is unselected upon its initial load, and that selecting and then reloading the application keeps the selection. That your and my apps are behaving differently is vexing. My app will be going live/public soon -known limitations and all. Though it looks a easy problem, it is actually little tricky to fix, as there are more consideration at the framework design of this widget. @WeiYing1 I'm certain Wei Ying was understating the complexity of the problem in her initial reply. I'm not a Developer, but I thought, 'oh, no, it's one of those problems.'
... View more
01-08-2021
09:10 AM
|
0
|
1
|
223
|
POST
|
I was using the List Widget as a way for the User to select an item ~whose information is then displayed in detail by the Feature Info Widget ~and then zoom the map to the selected List item. When the Experience starts up with the first List item selected, the zoom doesn't happen (the map stays at the default full extent (which is nice)). The User needs to unselect the first list item, then re-select it [or any other item] to then zoom to that item. I now understand that the Feature Info widget automatically selects the first item of its source dataset. Why is the first item of the List Widget selected? Is it b/c both widgets use the same data source: if the source data is selected, it'll be selected in the List Widget as well? I specifically did not set up a trigger-action between the Feature Info widget's 'change-selection' and List widget.
... View more
01-07-2021
10:40 AM
|
1
|
0
|
130
|
POST
|
I have created an Experience on the Builder. I have a total of 6 Views: 3 List widgets, and 3 Feature Info widgets. When the Experience Launches, the first item of every list is Selected ~seemingly by default. I need this to stop. I set the List up to be a trigger when a selection is made, but that doesn't happen upon startup -and only upon startup. It creates a non-intuitive situation on the very first impression! I need all of the List items to be unselected when the Experience Builder application is started. This is what it does now (map has been artificially zoomed to location so features are visible): The first item of each existing list is selected. I have read that the Feature Info widget automatically selects its first item through a query by default, but why is the List widget's first item selected? The Feature Info widgets have NO Triggers Set, and no action should be selecting items from the List widgets. As it stands, I may have to add a "selection" tool to the Map widget, and ask each new user to tap the 'clear selection' button of the tool as soon as the application loads. ...the Users won't be happy about that, I won't be happy about that... Is there no way to stop this Auto-Selection of the first records?
... View more
01-04-2021
06:26 PM
|
0
|
6
|
324
|
IDEA
|
There is a way. It's not any fun, but you can do it. If you have more than one image attached to a feature, the current options for selecting a particular one are not exactly straightforward. Pre-published Dataset Instructions: Create a number field in your feature class dataset. Calculate the value using the Arcade function Attachments(), the value in question being the Attachment ID of your attached image. (The Attachments function doesn't work in Online/published datasets.) Published Dataset Instructions: Taking your original image from earlier in the thread, this is exactly the location where the rest happens. The horrible part about this is that 'cut + paste' doesn't work in the Expression box <far left>. You must type it all in. Don't make the same mistake as I! Type the Quotation Marks First! ...or you'll have to do it all over again... "Rest Service Address for the Feature Layer"+{OBJECTID}+"/attachments/"+{calculatedAttachmentID} I'm adding a screenshot of my own little Attachment Expression <below>. It so happens that each of my features has 2 attachments: one photograph to act as a regional summary, and one small map of the region. This expression causes the display of the little map (thus the name LilMapExp). The box can't be resized, so the first part of my feature location was cut off; also, when typing out your service location, paste it into a word document and change the font to something with serifs (that "l" on the first visible line is actually an "I"). Excerpt of Feature Class Table, showing custom fields: Attachment Count, IDs of Attachments Result of LilMapExp expression shown in this example. Specific Attached Image inserted into List Element via a Dynamic Expression. I hope this helped. Or at least made the process of selecting a particular attachment for display in the List widget a bit more focused. As for the Attachments() function in Arcade, my own script would sort our the appropriate attached image based on the length of its name. Best of Luck to you! (Edited to add more images.)
... View more
01-04-2021
06:07 PM
|
0
|
0
|
129
|
Online Status |
Offline
|
Date Last Visited |
Thursday
|