updating a feature layer view

1993
11
Jump to solution
08-17-2023 11:05 AM
Labels (1)
SLouq
by MVP Regular Contributor
MVP Regular Contributor

I am trying to use the Capital Projects Tracking dashboard to monitor the status of projects. I am using all the HFL and HFLV that comes with the dashboard when you deploy it. I am trying to add a field to Capital Projects feature layer view and am having no luck in finding a way to do this. The Capital Projects feature layer view is reading Infrastructure_allfundedprojects hosted feature layer view and that HFLV is reading the Infrastructure Projects Hosted feature layer. I can add the field I want to the Hosted feature layer in AGOL no problem but when I follow the online instructions for updating the associated HFLV, it isn't updating. Can someone tell me or point me in the right direction for getting the added field to show in the allfundedprojects and Capital Projects hosted Feature Layer View?

Tags (1)
0 Kudos
4 Solutions

Accepted Solutions
GraceSKim
Esri Contributor

Hello, 

You may need to update your view(s).  You can do so by going into the 'Settings' tab of the view layer and clicking on 'Update View": 

com.png

This will take you to the "Update View" window. Please check the "Filter" and ensure that the new fields are not filtered out. Click "Update" to save the changes. 

 

 

View solution in original post

GraceSKim
Esri Contributor

I don't think there is a straight forward way of linking the list element with the indicator element, but you can create a field within the layer to indicate which projects can be counted by the indicator element and which ones cannot. For example, I made a field (named Field 2) and used '1' for projects I'd like to count and '0' for projects that I don't want to count. Then, I used a filter within the settings of each element:

GraceSKim_0-1692642476294.png

Of course, if you already have a field that can filter records, you do not need to create a new one. 

 

Alternatively, if you want your indicator element to change with the selections within the list element, you can go into List element configure > Actions > Selection Mode: Multiple > Filter > Toggle on Indicator. This will update the indicator depending on how many projects are selected within your list. 

Another way List and Indicator elements can interact with one another is to group them. You can do this by holding the "shift" key down when dragging/dropping elements. This is good for when you have multiple lists to tab through, and you want the indicator to change with the list. 

View solution in original post

GraceSKim
Esri Contributor

Hello,

Project Phase is a field within Capital Projects layer view (not a separate table/layer). This article here may help to troubleshoot the update issue: https://doc.arcgis.com/en/arcgis-solutions/11.0/reference/configure-capital-project-tracking.htm#:~:...

A good start would be to ensure the Project Phase field has not been deleted, and that all the appropriate records are set to PreDesign, Design, Construction, or Closeout. 

View solution in original post

GraceSKim
Esri Contributor
11 Replies
GraceSKim
Esri Contributor

Hello, 

You may need to update your view(s).  You can do so by going into the 'Settings' tab of the view layer and clicking on 'Update View": 

com.png

This will take you to the "Update View" window. Please check the "Filter" and ensure that the new fields are not filtered out. Click "Update" to save the changes. 

 

 

SLouq
by MVP Regular Contributor
MVP Regular Contributor

Thanks for the reply.

After plenty of digging, I may have just figured out how to do it. But that is taking me into new territory and new questions.

The new fields were there but were not selected. I had to click on Select Field and select them

SLouq
by MVP Regular Contributor
MVP Regular Contributor

I have another question

Right now, I have an indicator element displaying the total number of projects. If I want to display only the number of projects listed in a List Element, how can I do this?

0 Kudos
GraceSKim
Esri Contributor

I don't think there is a straight forward way of linking the list element with the indicator element, but you can create a field within the layer to indicate which projects can be counted by the indicator element and which ones cannot. For example, I made a field (named Field 2) and used '1' for projects I'd like to count and '0' for projects that I don't want to count. Then, I used a filter within the settings of each element:

GraceSKim_0-1692642476294.png

Of course, if you already have a field that can filter records, you do not need to create a new one. 

 

Alternatively, if you want your indicator element to change with the selections within the list element, you can go into List element configure > Actions > Selection Mode: Multiple > Filter > Toggle on Indicator. This will update the indicator depending on how many projects are selected within your list. 

Another way List and Indicator elements can interact with one another is to group them. You can do this by holding the "shift" key down when dragging/dropping elements. This is good for when you have multiple lists to tab through, and you want the indicator to change with the list. 

SLouq
by MVP Regular Contributor
MVP Regular Contributor

Can you explain to me how the Phase table in the Capital Projects dashboard works? How is it linked to the Capital Projects table to show what the phase of the project is? 

I was trying to figure out how to add some more attributes to the details element which contains the phase section and in doing so I must have moved or deleted the link for the Phase section because it is not updating anymore. If you look at the little snip I did of the pop up, you can see it is shifted over a little from the rest. I am assuming I shifted the table while trying to add other attributes and that is why it isn't working anymore. 

SLouq_0-1692643154281.png

 

0 Kudos
GraceSKim
Esri Contributor

Hello,

Project Phase is a field within Capital Projects layer view (not a separate table/layer). This article here may help to troubleshoot the update issue: https://doc.arcgis.com/en/arcgis-solutions/11.0/reference/configure-capital-project-tracking.htm#:~:...

A good start would be to ensure the Project Phase field has not been deleted, and that all the appropriate records are set to PreDesign, Design, Construction, or Closeout. 

SLouq
by MVP Regular Contributor
MVP Regular Contributor

Thanks for helping me with all these issues. 

0 Kudos
GraceSKim
Esri Contributor

My pleasure! 

SLouq
by MVP Regular Contributor
MVP Regular Contributor

Still trying to figure this issue out. 

I am in the configure pop up editor for the Capital Projects dashboard web map and am trying to get the Project Phase to Highlight the current phase of the project specified in the Infrastructure Projects Hosted Feature Layer. 

SLouq_0-1692712603759.png

Right now it is not highlighting any phase of the project even though it has a phase specified in the Infrastructure Projects Hosted Feature Layer. I found the attribute expressions and it looks like each phase has an Arcade expression which determine which phase gets highlighted, but it looks like the table cell is not reading the attribute expressions. This is where I am stuck at. Could you help me with this or point me in the right direction?

 

0 Kudos