|
POST
|
I have this simple shell panel positioned at the end. It seems that regardless the specified heightScale value (l, m, s), the shell panel does not change its height. My perception is that if we use heightScale value "s", then the end panel should be short to show the content of the page after its bottom edge. https://codepen.io/lkoumis1/pen/mdvWjev?editors=1000 @BenElan @KittyHurley
... View more
11-08-2023
10:32 AM
|
0
|
4
|
1855
|
|
POST
|
ok. Thanks. The app that I am currently working on will have thousands lines of code (arcade + amd js) and it will be very hard to maintain without the use of external files.
... View more
11-08-2023
08:16 AM
|
0
|
0
|
1047
|
|
POST
|
For the purpose of keeping the code clean and organized, it is better to have the code and styles in external files linked to the main file instead of have them scripted in the same file. Is it easy to use an external file for the stylesheets. However, the question here is how can we linked to external files that contain arcade and amd js. For example this one: https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-featureform-async How do we link to the arcade and the rest of the js to an external file (s)? There is a response to a similar question here, but I don't use typescript. It would be very helpful if the above example was reconstructed to demo the use of external files. THank you. @HeatherGonzago @AnneFitz @KristianEkenes
... View more
11-07-2023
03:04 PM
|
0
|
2
|
1179
|
|
POST
|
Thank you for taking the time to respond to my inquiry. I have one comment to add. It was actually suggested by another ESRI staff (not in the conversation) to actually use "false" instead of a named expression for the editableExpression. I will resort back to the latter. Kudos to you, @AnneFitz and all ArcGIS JS API team for the marvelous job you guys are doing.
... View more
11-02-2023
03:34 PM
|
0
|
0
|
2481
|
|
POST
|
Thank you Anne. It would be very helpful to have a note at the valueExpression documentation to state that value expression will only work if the field is not editable, or even better made the editable false by default. https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements-FieldElement.html#valueExpression As far for my question regarding turning it off, sorry for the confusion. What I meant is that right after you create a feature, it returns to the creation mode again instead of returning to the initial screen. Attached is a short video to demo the issue.
... View more
11-02-2023
09:21 AM
|
0
|
0
|
2495
|
|
POST
|
THank you for the response. As I mentioned on my post, I couldn't find the typo, but you did. Thank you. Now the required field is working. So, based on your feedback, even though the getuser script returns "no email" if no user is identified, nothing will be returned? By the way, I assigned temporarily, a user to the layer and the authentication prompted me for credentials. After I login, still the Email textbox was empty. Would be helpful if there are any examples available showing how the getuser script works on a standalone JS app. Lastly, do you have response for #3. Again, thank you for your time.
... View more
11-01-2023
02:58 PM
|
0
|
0
|
2524
|
|
POST
|
I reposted this question and I wanted to repost it with additional questions. I have this simple editing script that intends to: 1. collects the portal user and pre-populated the email field. If a portal user is not detected, then it should return "no email". Unfortunately the script it doesn't work in this standalone JS but it does work in map view. 2. requires a field, in this case the Phone Number.I have a different layout with the field element objects declared individually and it works. But I need the field elements as in this case to be scripted under the form template. I think there is a typo. 3. I don't know if there is a switch to turn it off, but after you create or edit a feature, it would be great to return the editor to its original state and stop the create/edit of other features. https://codepen.io/lkoumis1/pen/VwgaGLX @ArnoFiva , @AnneFitz
... View more
10-31-2023
02:11 PM
|
0
|
6
|
2627
|
|
POST
|
In SmartForm widget in WAB, you were able to set a preset value. For example, was able with minimum JS to preset a field with the user's email who logged in to the app. Is it possible to do so in the Editor widget in JS 4.x? Can it be done using the valueExpression of the Element and define the preset value? @AlixVezina
... View more
10-26-2023
08:22 PM
|
0
|
1
|
926
|
|
POST
|
I have two elements in the FeatureForm widget and I want to hide the second as long the first is blank. Once something is input in the first element then the second should appear. This is similar to the Smart Editor functionality in WAB. I tried this: elements: [{
// Autocasts to new GroupElement
type: "group",
label: "Testing",
elements: [{ // Autocasts to new FieldElement
type: "field",
fieldName: "first",
label: "First"
},
{
type: "field",
fieldName: "second",
label: "Second",
visibilityExpression: "IIF(!IsEmpty($feature.first))"
}
]
}, @JoelBennett ?
... View more
10-25-2023
06:20 PM
|
0
|
1
|
1016
|
|
BLOG
|
THank you. It is getting harder to keep up with the frequent updates. 😀 Keep up the good work.
... View more
10-10-2023
12:54 PM
|
0
|
0
|
940
|
|
POST
|
I had the opposite issue. I was trying for the side panel to push over the map rather that overlay it. https://community.esri.com/t5/calcite-design-system-questions/calcite-shell-needs-content-behind-to-use-display/m-p/1310584#M451
... View more
10-10-2023
12:40 PM
|
0
|
0
|
1257
|
|
POST
|
Hello @KittyHurley . What I meant is the Fab used to be on the listing of components. Now, it's missing.
... View more
08-30-2023
08:46 AM
|
0
|
1
|
1187
|
|
POST
|
The new version of calcite (August 23) does not list the calcite-fab component. However, the Changelog for 1.6.0 does not mention anything about the discontinue use of this component.
... View more
08-29-2023
12:03 PM
|
0
|
3
|
1220
|
|
POST
|
According to the doc, the inline property places the text next to the Loader component. However it is placed under the component. Am I missing something?
... View more
08-25-2023
02:30 PM
|
0
|
1
|
895
|
|
POST
|
I came across this .net script and I was wondering if there is something similar for JS. link
... View more
08-25-2023
09:29 AM
|
0
|
1
|
900
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a week ago | |
| 1 | a week ago | |
| 1 | 06-19-2025 10:13 PM | |
| 3 | 02-06-2026 10:44 AM | |
| 1 | 01-08-2026 12:50 PM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|