I've already figured this one out, but I'm posting my issue and the solution for the benefit of others. Here's the situation:
I attempted to use the arcgis.features.managers.FeatureLayerManager.add_to_definition() function to an identical JSON dict to the parent layer A, only to get the response that the operation was not supported on view layers.
How then, can I add an new, existing field from A to B?
Solved! Go to Solution.
The short answer: I can't!
Or I should say, not directly. From what I can tell, view layer B only gets the message that a new field has been added when the add happens in AGOL / Portal.
If I manually add a field 5 to the parent layer A, some background refresh must occur, because then both new fields, 4 and 5, appear on view layer B. Then I can just go and delete field 5 and work with field 4 in the view.
In summary: if you are overwriting a hosted layer, add your new fields first.
The short answer: I can't!
Or I should say, not directly. From what I can tell, view layer B only gets the message that a new field has been added when the add happens in AGOL / Portal.
If I manually add a field 5 to the parent layer A, some background refresh must occur, because then both new fields, 4 and 5, appear on view layer B. Then I can just go and delete field 5 and work with field 4 in the view.
In summary: if you are overwriting a hosted layer, add your new fields first.
I added a new field in layer A in AGOL and nothing is showing in layer B (or C for that matter). I can just make another view, but I'm wondering if you actually had it work in the past?
Layer B happens to be a _stakeholder layer for a survey, not sure I can just delete that one.
Solving my own issue too:
Go to Settings tab > Update View > Select layer > Next > Click on layer > Click Fields > Click Select Fields Button > Select your field > Done > Back arrow > Update