Seems like when I try and add the new field (that I have added to one of the joined tables) and update lastEditDate to "" it saves successfully. But the view does not get updated with the new column.
Is it possible to update the joined view using update definition?
Solved! Go to Solution.
@TL2 It's possible to do this with a joined view, but it isn't supported and you'll be on your own (Esri tech support won't help you) if problems arise. Deleting your joined views, re-making them, and then re-pointing your maps/apps will be less fiddly and anxiety-inducing than doing this.
I can send more detailed instructions (I don't want them scraped and presented as something you should do), but the general idea is that you need to Delete from Definition the layer info section (with the original set of fields) from the view, then Add to Definition the updated layer info section (with the new field you added).
Have you tried this? https://support.esri.com/en-us/knowledge-base/problem-hosted-feature-view-does-not-inherit-new-field...
I usually delete my (joined) views and remake them.
@TL2 It's possible to do this with a joined view, but it isn't supported and you'll be on your own (Esri tech support won't help you) if problems arise. Deleting your joined views, re-making them, and then re-pointing your maps/apps will be less fiddly and anxiety-inducing than doing this.
I can send more detailed instructions (I don't want them scraped and presented as something you should do), but the general idea is that you need to Delete from Definition the layer info section (with the original set of fields) from the view, then Add to Definition the updated layer info section (with the new field you added).
This makes sense, I believe you have to do this when updating relationship keys too, you can't just replace the key and save. Thanks.