Page 1 of 1
Related items auto populate on parent change
Posted: 21 Aug 2018
by dejan.lamovsek
Hello,
Auto populate on child items works only when new items are added. Is there a way to populate them every time a parent is changed or when I press Save button on parent?
If yes, please help me with this. Take into account that both child and parent are document library, not a list.
bye,
Dejan
Re: Related items auto populate on parent change
Posted: 22 Aug 2018
by Dmitry Kozlov
Do you mean that you want to update items in grid dynamically whenever a user changes fields in a parent form? Unfortunately, you cannot do that, at least with Forms Designer JS-api. I'd recommend you to consider using a workflow to keep child items up-to-date after changing a parent item.
Re: Related items auto populate on parent change
Posted: 22 Aug 2018
by dejan.lamovsek
Hello Dmitry,
It would be perfect to populate related items on save. I can't use workflow, because I want to populate childs so their worklow would start. Is there maybe other solution to run workflow on child elements from parent?
Please advise,
thanks in advance,
Dejan
Re: Related items auto populate on parent change
Posted: 23 Aug 2018
by Dmitry Kozlov
Hi Dejan,
That's right, a workflow will run on changing a parent item, then you can retrieve all its children by CAML-query and modify them or run a workflow on them with our Workflow Actions Pack:
https://plumsail.com/workflow-actions-pack/
If you're on Office 365, you can alternatively use Flow, it allows to you to retrieve and modify children from a flow started on a parent item:
https://flow.microsoft.com