Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

ADX Studio how to access webformstep in liquid?

(0) ShareShare
ReportReport
Posted on by 15

I want to know how I can get attributes in liquid for the currently load web form step. I can access the currently loaded webform by using the following:

{{ page.adx_webpage_webform.adx_name }}

But how do I also access the webformstep?

*This post is locked for comments

  • JandostKhoso Profile Picture
    JandostKhoso 266 on at
    RE: ADX Studio how to access webformstep in liquid?

    Hey Colin

    The problem is that the first step does not have the StepID and not SessionID. Is there any way to find we are on the step 1 of the process? Another challenge I have is to apply conditional branching to the Step 1. Since the conditional branching does not work with QueryString so I cannot create conditional branch on the step 1.

  • Tim N Profile Picture
    Tim N 15 on at
    RE: ADX Studio how to access webformstep in liquid?

    Thanks Colin - that was exactly what I needed, worked perfectly.

  • Verified answer
    Colin V Profile Picture
    Colin V on at
    RE: ADX Studio how to access webformstep in liquid?

    Hi Tim, you will need to query for the steps entity record using liquid.  There is not a reference to a step in a default liquid object.  Step ID will be in the query string and/or a session id and the web form session will have the current step id.

    /?stepid=51fd99ba-f887-e511-80c7-00155d03a721&sessionid=ed43ec42-80e3-e611-80cc-00155d036425

    See the liquid documentation for retrieving entities:

    https://community.adxstudio.com/products/adxstudio-portals/documentation/configuration-guide/liquid-templates/objects/entities/ 

    Example:

    {% assign queryId = request.params['stepid'] %}
    {% assign webformstep = entities.adx_webformstep[queryId] %}


Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,735 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans