Related items auto populate on parent change

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
dejan.lamovsek
Posts: 17
Joined: Fri Oct 27, 2017

21 Aug 2018

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

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

22 Aug 2018

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.

dejan.lamovsek
Posts: 17
Joined: Fri Oct 27, 2017

22 Aug 2018

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

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

23 Aug 2018

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

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 26 guests