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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

is it possible to show the text within a 'Guide' Step within Unity 3D Canvas

(1) ShareShare
ReportReport
Posted on by 15

I'm working on a simple 2D game in Unity 3d   ( not a mixed reality app )

What I'm trying to do is the show display the contents of a guide within a 2D game ( like a PowerPoint presentation)

I have been able to make successful Postman responses from the Dataverse

https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/use-postman-web-api

But I'm failing on making the connection within unity3d, currently, I'm working on implementing a UnityWebRequest to make a connection,

I have the same question (0)
  • Suggested answer
    Vincent Guigui Profile Picture
    315 on at

    So basically, you are trying to recreate a Guides app.

    You will have a few Dataverse calls using UnityWebRequest to access the right data

    - user authentication (as your dataverse data are private) with a windows login

    - retrieve guides information passing the right authentication token and session info

    - retrieve step information passing also few informations

    If you succeed using Postman, there should be no problem when transposing it to UnityWebRequest (be carefull of the HTTP method POST vs GET)

    Good luck

  • SeansNewTinyCompany Profile Picture
    15 on at

    The thing that's currently preventing me is the 'authentication'

    I followed this tutorial for a simple Console Application and it worked fine,

    docs.microsoft.com/.../quick-start-console-app-csharp

    Currently, I'm trying to transfer what I learned/used in the Console App into a simple Unity app, e.g using 'UnityWebRequest' calls

    I also followed this postman tutorial relating to getting the access token: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/setup-postman-environment

    My problem is when I'm making the initial call to get the token, I'm doing something wrong but I don't what it is.

    Maybe it's the wrong parameters that I'm sending or the URL is wrong

    but when I make the request I get a response in the Unity console (in the form of text) of the sign in webpage 

    Screenshot-2021_2D00_11_2D00_16-180526.jpg

    Screenshot-2021_2D00_11_2D00_16-180714.jpg

  • DavePinch Profile Picture
    Microsoft Employee on at

    Hi SeansTinyNewCompany, this is a really cool scenario. Have you made any progress?

    I do not have Unity coding experience myself but my first thought is to ensure you are implementing OAuth 2.0 correctly from your web calls. Also, focus on finding general Unity/OAuth 2.0 resources as they should apply to Dataverse as well.

    Here are the Dataverse OAuth docs: docs.microsoft.com/.../authenticate-web-api

    Once you get past the OAuth challenge, I can provide better assistance with the Guides-specific data. Looking forward to hearing your progress.

  • SeansNewTinyCompany Profile Picture
    15 on at

    Thanks, DavePinch

    btw where can more information about all the API endpoints that are available e.g "msmrw_guidesteps"

    I see it in the responses, but I cannot find documentation relating to the API responses.

    Something similar to this would be perfect: docs.microsoft.com/.../developer-entity-reference

  • RyanN Profile Picture
    Microsoft Employee on at

    Check this out: docs.microsoft.com/.../developer-entity-reference

  • SeansNewTinyCompany Profile Picture
    15 on at

    Can you provide any information about the correct format of the requests that are listed on this page please?

    e.g. I tried calling the 'msmrw_guidetask' endpoint but I got this error
     

    pastedimage1638181332439v1.png

    I also tried passing the ID of task

    pastedimage1638181415554v2.png

    pastedimage1638181468450v3.png

    I simply do not know what additional information also needs to be passed

  • SeansNewTinyCompany Profile Picture
    15 on at

    Can you elaborate please on

    "- retrieve guides information passing the right authentication token and session info

    - retrieve step information passing also few information"

    I'm currently retrieving the guide information successfully with the "authentication token"

    But I don't know about the correct way of passing any additional "session info"

  • Oren Shir Profile Picture
    Microsoft Employee on at

    This thread has multiple issues, I'm not sure what you're stuck on. I suggest to finish learning how to use Postman to make all the queries you need, and create a new thread for Unity questions.

    Regarding how to fetch data, if you want a specific task you should call msmrw_guidetasks(abc-GUID-def)

    See this for more info Query data using the Web API (Microsoft Dataverse) - Power Apps | Microsoft Docs

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 51 Super User 2026 Season 1

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 51 Most Valuable Professional

#3
Nagaraju_Matta Profile Picture

Nagaraju_Matta 50

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans