web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

(msmrw_guidesteps) How do I format the the response so that the returned JSON step data is in sequential order

(0) ShareShare
ReportReport
Posted on by 15

I working on displaying the data of each guide step within a Unity application

When I make a GET request to the endpoint (msmrw_guidesteps)

e.g.  https:/#########.api.crm4.dynamics.com/api/data/v9.2/msmrw_guidesteps'

The response that I get is an array of objects, but the steps are not in sequential order 

 

Is there any way to identify the correct order?

Each object within the array does have a "msmrw_guidestepid" property, 

I have the same question (0)
  • RyanN Profile Picture
    on at

    Steps are stored as a linked list so you'll need to parse/traverse it accordingly. 

  • Verified answer
    shiho Profile Picture
    on at

    Previous and next step information is stored inside rows in the Guide Step table (msmrw_guidestep) in the Dataverse. 

    Specifically, looking in the row called Previous Step (msmrw_previousstep). Knowledge that the step has a next step button is stored in row called Response 1 Action Type (msmrw_response1actiontype). This does not actually store the next step reference, but rather can only tell you whether the step has a next step associated with it.
    Ryan is correct in that you will need to traverse each step and store it in an ordered list.

  • SeansNewTinyCompany Profile Picture
    15 on at

    Thanks shiho 

    The 'msmrw_previousstep' property worked fine as expected,

    But when I tried the msmrw_response1step I kept on getting null value for each single step value within the guide, I greatly appreciate your help but are you 100% sure that it's "msmrw_response1step" for the next associated step?

    pastedimage1638809720215v1.png

  • shiho Profile Picture
    on at

    When a guide step has a next step button instead of responses, that knowledge is stored inside the Guide Step table in row  "Response 1 Action Type" (msmrw_response1actiontype) with value 'Go to Next Step'.


    The actual reference to the next step is not stored there as only the relationship of the previous step is stored. To get a ordered list you will need to traverse the guide from the last step and store that list in order yourself.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 65 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 52 Super User 2025 Season 2

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 36 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans