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

Announcements

No record found.

News and Announcements icon
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, 

  • RyanN Profile Picture
    Microsoft Employee on at

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

  • Verified answer
    shiho Profile Picture
    Microsoft Employee 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
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
11manish Profile Picture

11manish 50 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 45

#3
Ayesha Wajahat Profile Picture

Ayesha Wajahat 18

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans