Problem/Motivation

I'm trying to display a standard View on a form steps page (step 2 or 3), with the view results filtered (contextual filter) by that form steps page entity.

So for example...

1) Go to step 1 of a new entity's form steps page. Fill out fields. Continue to Step 2.
2) On continuing to Step 2, the entity is created.
3) On the Step 2 page, I need to display a View with results filtered by this newly created entity.

How would I go about accomplishing this? Thanks!

Comments

chucksimply created an issue.

nicoloye’s picture

Hello !

What you are describing is on our roadmap for version 2.
Unfortunately for now you can't add a view in a step, as we only support entities that implements form displays (which is not Views case).

You may be able to perform something similar using the final redirection feature in the steps collection to redirect on your view url.
If you configure the path or route of your view in there, Forms Steps will simply redirect to it after the submission.

Not sure if it fits your requirement perfectly though.

chucksimply’s picture

Thanks @nicoloye for the reply.

So just to confirm... a step URL such as "http://example.com/add/node/2/7bf507c4-e2ef-44b6-88ed-d27c76ac981f"... I'm unable to pull "7bf507c4-e2ef-44b6-88ed-d27c76ac981f" as a contextual argument for a view? A view won't filter by that node's UUID?

I'm basically just trying to display a Step 1 field value on a Step 2 page via a view.

Note, I'm pretty new to workflow.