POST
|
Thank you @jcarlson I forgot about using "{expression/comp1}" as a way to call colorized text from the function. I need to take better notes from each of my projects but at least I'm getting better every time though. haha.
... View more
09-09-2024
11:02 AM
|
0
|
0
|
205
|
POST
|
Hello out there! Looking for some guidance and hints on how to format a list. Specifically I'm looking to evaluate 5 different fields and then color the text for that line item based on the value. Where I get hung up is trying to evaluate more than 1 field and then applying to color to only that field in the line item layout. I Don't want all text to be a color just the value from that field, if that makes sense. Seems like a long If then statement but I can't wrap my head around the structure. I have a 5 fields for completion that has an integer between 0 and 100 and null. In my list I have each of these five fields as well as some other fields and text. Hoping to color the text for the field if 0-33 = red, 34 - 66 = yellow and 67 - 99 = green, all else black. var comp1 = $datapoint.pc_1 var comp2 = $datapoint.pc_2 var comp3 = $datapoint.pc_3 var comp4 = $datapoint.pc_4 var comp5 = $datapoint.pc_5
... View more
09-06-2024
06:46 AM
|
0
|
2
|
272
|
POST
|
Oh for goodness sake, I'm so disappointed in myself! OK, this makes so much more sense on why I could figure out how to use the code block to format the return. It's formatting!! That did the trick and I am eternally grateful for your help... again.
... View more
08-31-2023
08:19 AM
|
1
|
0
|
1211
|
POST
|
I have a Data Expression in a Dashboard that is used to create a table. Works great, was built by someone else. I have one change I need to make but have been unable to get the syntax correct. I'm trying to get the table to return the date as a date only, no time. The bottom half of the code is attached here. I left out the variables and portal item stuff. How do I get Date only in the return?
... View more
08-31-2023
07:32 AM
|
0
|
2
|
1264
|
POST
|
Yes! Thank you KenBuja, this is what I needed. I struggle with the syntax and formatting for if statements. Thank for advancing my knowledge of Arcade formatting, I appreciate it.
... View more
07-21-2023
06:42 AM
|
0
|
0
|
1067
|
POST
|
Looking for an example of how to apply the advanced formatting of a Dashboard list that evaluates a string field for a comma. IF the comma exists then I need to return the background cell as red. I've been able to get formatting working to evaluate date fields for how many days out from today but I can't seem to get anything working for my comma example. This is what I came up with based on what has worked for me in the past but the table does not get formatted and stays in the original formatting. var gpm = $datapoint["mystringfield"]; var hasComma = Find(mystringfield, ","); var isGreaterThanMinusOne = hasComma > -1,"#D94534"; return { cells: { number: { displayText: $datapoint["number"], textColor: '', backgroundColor: '', textAlign: 'left', iconName: '', iconAlign: '', iconColor: '', iconOutlineColor: '' }, gpm: { displayText: $datapoint["mystringfield"], textColor: '', backgroundColor: isGreaterThanMinusOne, textAlign: 'left', iconName: '', iconAlign: '', iconColor: '', iconOutlineColor: '' }, creationdate: { displayText: $datapoint["datefield"], textColor: '', backgroundColor: '', textAlign: 'left', iconName: '', iconAlign: '', iconColor: '', iconOutlineColor: '' }, } }
... View more
07-21-2023
06:08 AM
|
1
|
2
|
1097
|
POST
|
Unfortunately I did not. We just kind of swept this under the rug until it piles up too much and we trip over it.
... View more
07-12-2023
06:01 AM
|
0
|
0
|
1167
|
POST
|
Thanks for brining us for your ride. I was able to fix some of my method formatting thanks to your follow up post. Cheers.
... View more
06-26-2023
09:19 AM
|
0
|
0
|
615
|
IDEA
|
I hate to pile on ESRI but how is it possible there is no measure tool in Dashboards? I can't think of a basic tool/function more inline with GIS than measuring. Ugh, you're killing me Smalls!
... View more
05-03-2023
06:13 AM
|
0
|
0
|
1637
|
POST
|
@Ann123 Did you ever find out what happened to this second option? I also remember that option at one point and would love to know if I'm losing it or not.
... View more
04-04-2023
12:10 PM
|
0
|
1
|
1229
|
POST
|
Hello! I was asked how to edit the metadata on a geodatabase feature class both created in and trying to edit in Pro 3.0. When I was trying to give a demo on how to do this, I was kind of surprised to see this message displayed in the metadata tab. "This item has metadata in HTML format. It can't be displayed or edited in ArcGIS Pro" Additionally, when you right click > Edit Metadata this error displays "This document already has a 'DocumentElement' node." We have adjusted the backstage > Options > Metadata Style and that doesn't seem to work either. I'm striking out in he documentation trying to understand how to change HTML to .....? Anything that will work. All the metadata manage tools in the menu are grayed out. Anyone able to tell me both why this happened and how to fix it so we can edit the metadata? Officially stumped.
... View more
03-08-2023
12:09 PM
|
4
|
6
|
1385
|
POST
|
Yep, in PRO. Thanks for the links, these will get me what I am looking for. Thanks for your kind response, I appreciate it. Cheers!
... View more
03-08-2023
11:43 AM
|
0
|
0
|
3274
|
POST
|
@Anonymous User Trying to understand the workflow to provide the child records (related tables) the globalID from the parent and I stumbled on this thread. Hoping you can give me a hint, feeling a little silly not able to figure this out. My parent geometry feature has a globalID field. My related tables have a guid field/type but are all empty. What is the best practice to provide the id from parent to child in this scenario prior to any publishing of the service. Should the relationship class be created before this guid is populated?
... View more
03-07-2023
11:45 AM
|
0
|
2
|
3295
|
POST
|
That's what that option does! Viola! Thanks for sharing.. Life in the GIS world I guess. We are blessed to have all this great software that is always expanding, improving so fast sometimes that I don't get a chance to absorb everything as it rolls out and I know that there are all these great functionalities that I just need to "discover". Like this one. Cheers!
... View more
03-03-2023
08:14 AM
|
1
|
0
|
1416
|
Title | Kudos | Posted |
---|---|---|
1 | 03-03-2023 08:14 AM | |
1 | 05-07-2019 08:32 AM | |
1 | 12-04-2013 06:08 AM | |
1 | 08-31-2023 08:19 AM | |
1 | 07-21-2023 06:08 AM |
Online Status |
Offline
|
Date Last Visited |
09-09-2024
09:02 PM
|