0

We are re-doing some backend logic for a save action we created and I need to find all forms that use this one save action. How can I easily do that? I didn't see a way in Admin interface and I don't see how to query from SQL database.

1 Answer 1

1

Locate the Save Action in the content tree (e.g., for WFFM they live here /sitecore/System/Modules/Web Forms for Marketers/Settings/Actions/Save Actions or /sitecore/System/Settings/Forms/Submit Actions for the new Sitecore Forms), select the item, select Navigate in the ribbon, and select Links to get a full list of items that reference that Save Action.

Edit: If you find no references, it's a good idea to rebuild the links database. Here is a blog post outlining how to do that

Links Database

If you want to customize the output through powershell since you mentioned wanting to see the paths you can use this blog post to get the relevant API

Working with Item References

4
  • I clicked directly on the Save Action in question in the tree and did what you said and got this (not helpful, I need names or paths to forms that use it): Items that refer to the selected item: None Items that the selected item refer to: $name - [/sitecore/templates/Branches/Web Forms for Marketers/Save Action/$name] Submit Action - [/sitecore/templates/Web Forms for Marketers/Actions/Submit Action]
    – kyleb
    Jun 1, 2021 at 19:38
  • 1
    Try rebuilding sitecore_master_index and then check again
    – Marek Musielak
    Jun 1, 2021 at 19:48
  • 1
    @kyleb go to /sitecore/shell to access the Desktop view. Click the Sitecore button on bottom left, click Control Panel, hit Rebuild Links Database, select Master, and try the Navigate-Links steps again. If you have any references they would be in the former section - Items that refer to the selected item. If you click on them you would be redirected to them and you can grab the path from there. Jun 1, 2021 at 19:57
  • Didn't work after I reindexed. Still same result. And if I click on the submit action one it doesn't list anything useful either when i do Navigate -> Links
    – kyleb
    Jun 2, 2021 at 15:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.