|
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
|
2318
|
|
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
|
2421
|
|
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
|
882
|
|
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
|
954
|
|
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
|
811
|
|
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
|
1131
|
|
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
|
1081
|
|
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
|
1114
|
|
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
|
845
|
|
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
|
854
|
|
POST
|
I guess we can't have the best of both components (dropdown and combobox). Dropdown does not support multiple groups with one selection (llink ) and Combobox doesn't support trigger slot.
... View more
08-18-2023
10:16 AM
|
0
|
0
|
1025
|
|
POST
|
Just follow up to the above. I updated the codepen https://codepen.io/lkoumis1/pen/QWzWNLQ to capture the coords of the bottom right of the box (opposite corner of the point). But the coords widget shows that the recorded coords (shown in console.log) for the bottom right are not matching the widget's display.
... View more
08-18-2023
08:39 AM
|
0
|
1
|
3133
|
|
POST
|
I understand the logic but I am missing something. See this codepen. It works if I set the let, top properties in the css. The ultimate goal for me is to be able to get the extent of the box based on its upper left corner (point) and its width/height. Thank you. https://codepen.io/lkoumis1/pen/QWzWNLQ?editors=1100
... View more
08-17-2023
05:29 PM
|
0
|
3
|
3160
|
|
POST
|
If I use dropdown I can use the button fab for a trigger, but not with the combobox. Is it a bug? I am trying to use the combobox in the same manner like the dropdown. https://codepen.io/lkoumis1/pen/zYyOrLb?editors=1100
... View more
08-17-2023
03:56 PM
|
0
|
2
|
1095
|
|
POST
|
Hello all. I want to place programmatically a div on the screen and I need its top left corner to be at a certain coordinate location (Lat/Long). How do I calculate the div's left and top property (in px) based on the lat/long? So, what I am looking for is convert lat/long to px, so I can set the div's left and top position. I tried this but didn't work. div's id is "box" const screenPoint = view.toScreen(point);
document.getElementById('box').style.position = "absolute"
document.getElementById('box').style.left = screenPoint.x +"px"
document.getElementById('box').style.top = screenPoint.y+"px" Thank you.
... View more
08-17-2023
03:52 PM
|
0
|
5
|
3224
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-19-2025 10:13 PM | |
| 3 | 02-06-2026 10:44 AM | |
| 1 | 01-08-2026 12:50 PM | |
| 1 | 01-05-2026 01:35 PM | |
| 1 | 12-30-2025 10:18 AM |
| Online Status |
Offline
|
| Date Last Visited |
a month ago
|