Esri / arcade-expressions

ArcGIS Arcade expression templates for all supported profiles in the ArcGIS platform.
Apache License 2.0
272 stars 95 forks source link

new to arcade-need guidance #54

Closed lrayburg closed 11 months ago

lrayburg commented 2 years ago

I don't even know if this is the place to reach out for help. But I am desperate

Am I able to use attribute rules and arcade expressions to populate one field when another field is populated, in the same feature.

and they have domains on them, and the feature will be shared as a service definition, and then published to online eventually.

any help is appreciated. Having a hard time navigating all this arcade lingo

MikeMillerGIS commented 2 years ago

Is it the same value or are you trying to get the description?

return $feature.fieldname and assign the rule to the field that will be set.

lrayburg commented 2 years ago

are you able to use attribute rules when publishing to online?

i am trying to get the field to populate "yes" when another field is populated with something.

MikeMillerGIS commented 2 years ago

attribute rules in the feature service/gdb are not supported. You could look at Field Maps, they have added support for arcade in the form.

lrayburg commented 2 years ago

Thank you

Lisa Rayburg GIS Database Administrator ODOT District 2 317 E. Poe Rd., Bowling Green, Ohio 43402 Cell: 419-409-0236 Office: 419-373-4378

@.***

From: Michael Miller @.> Sent: Tuesday, January 11, 2022 9:29 AM To: Esri/arcade-expressions @.> Cc: Rayburg, Lisa @.>; Author @.> Subject: Re: [Esri/arcade-expressions] new to arcade-need guidance (Issue #54)

attribute rules in the feature service/gdb are not supported. You could look at Field Maps, they have added support for arcade in the form.

- Reply to this email directly, view it on GitHubhttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FEsri%2Farcade-expressions%2Fissues%2F54%23issuecomment-1010017995&data=04%7C01%7Clisa.rayburg%40dot.ohio.gov%7C174309064757471d317c08d9d50eb8d5%7C50f8fcc494d84f0784eb36ed57c7c8a2%7C0%7C0%7C637775081477679017%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2BIbVUX6jmsUuf%2FtqELrVLOr4WIXVdbSlNv%2FbSxj7M4c%3D&reserved=0, or unsubscribehttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAXGAAETAJOMNBIM2XVMKXGTUVQ5DDANCNFSM5LNELVBA&data=04%7C01%7Clisa.rayburg%40dot.ohio.gov%7C174309064757471d317c08d9d50eb8d5%7C50f8fcc494d84f0784eb36ed57c7c8a2%7C0%7C0%7C637775081477679017%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=tt6BBTWpjGzbvJAqIsQPFKq%2FuD7w8%2FbgBrNMkSBPLrc%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Clisa.rayburg%40dot.ohio.gov%7C174309064757471d317c08d9d50eb8d5%7C50f8fcc494d84f0784eb36ed57c7c8a2%7C0%7C0%7C637775081477679017%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=jMnArmPuBPMuhqQR9s0PflTS07lPK3mR6aZZAxqFOs4%3D&reserved=0 or Androidhttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Clisa.rayburg%40dot.ohio.gov%7C174309064757471d317c08d9d50eb8d5%7C50f8fcc494d84f0784eb36ed57c7c8a2%7C0%7C0%7C637775081477679017%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=4QHBq0%2BibjpWQcnWTsEgV%2FtovDqFz9%2Fq1C2gDEUHD%2Fo%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>

CAUTION: This is an external email and may not be safe. If the email looks suspicious, please do not click links or open attachments and forward the email to @. @.> or click the Phish Alert Button if available.

lrayburg commented 2 years ago

Ok. Sounds good! Thanks for your help.

Also, I have never built anything in field maps, I am going to start on that process this week.

Lisa Rayburg GIS Database Administrator ODOT District 2 317 E. Poe Rd., Bowling Green, Ohio 43402 Cell: 419-409-0236 Office: 419-373-4378

@.***

From: Michael Miller @.> Sent: Tuesday, January 11, 2022 9:29 AM To: Esri/arcade-expressions @.> Cc: Rayburg, Lisa @.>; Author @.> Subject: Re: [Esri/arcade-expressions] new to arcade-need guidance (Issue #54)

attribute rules in the feature service/gdb are not supported. You could look at Field Maps, they have added support for arcade in the form.

- Reply to this email directly, view it on GitHubhttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FEsri%2Farcade-expressions%2Fissues%2F54%23issuecomment-1010017995&data=04%7C01%7Clisa.rayburg%40dot.ohio.gov%7C174309064757471d317c08d9d50eb8d5%7C50f8fcc494d84f0784eb36ed57c7c8a2%7C0%7C0%7C637775081477679017%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2BIbVUX6jmsUuf%2FtqELrVLOr4WIXVdbSlNv%2FbSxj7M4c%3D&reserved=0, or unsubscribehttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAXGAAETAJOMNBIM2XVMKXGTUVQ5DDANCNFSM5LNELVBA&data=04%7C01%7Clisa.rayburg%40dot.ohio.gov%7C174309064757471d317c08d9d50eb8d5%7C50f8fcc494d84f0784eb36ed57c7c8a2%7C0%7C0%7C637775081477679017%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=tt6BBTWpjGzbvJAqIsQPFKq%2FuD7w8%2FbgBrNMkSBPLrc%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Clisa.rayburg%40dot.ohio.gov%7C174309064757471d317c08d9d50eb8d5%7C50f8fcc494d84f0784eb36ed57c7c8a2%7C0%7C0%7C637775081477679017%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=jMnArmPuBPMuhqQR9s0PflTS07lPK3mR6aZZAxqFOs4%3D&reserved=0 or Androidhttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Clisa.rayburg%40dot.ohio.gov%7C174309064757471d317c08d9d50eb8d5%7C50f8fcc494d84f0784eb36ed57c7c8a2%7C0%7C0%7C637775081477679017%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=4QHBq0%2BibjpWQcnWTsEgV%2FtovDqFz9%2Fq1C2gDEUHD%2Fo%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

CAUTION: This is an external email and may not be safe. If the email looks suspicious, please do not click links or open attachments and forward the email to @. @.> or click the Phish Alert Button if available.