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 :
Power Platform Community / Forums / Power Apps / Dynamics 365 Input Con...
Power Apps
Answered

Dynamics 365 Input Context

(0) ShareShare
ReportReport
Posted on by 126

In Dynamics 365 Finance and Operations, we can embed PowerApps into workspaces. When configuring the app for embedding, you put the App Name, the App ID, and an Input Context for the app, which lets you choose from various entities from the Dynamics environment (see image).PowerAppsContext.png

 

How do I obtain this input context within the Power App itself? If I'm supposed to use the function UpdateContext, what is the name of the variable I need to reference?

Categories:
I have the same question (0)
  • Christopher S Profile Picture
    Microsoft Employee on at

    Hi @OkayGoogle 

     

    The documentation indicates that UpdateContext in PowerApps is for updating context variables within your application, you can find the documentation and some examples in the following URL: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-updatecontext

     

    Best Regards

    --

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions help users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • OkayGoogle Profile Picture
    126 on at

    Thanks for the link @chsanche ! I have already looked at this documentation, but it does not specify how to obtain the context from Dynamics 365 Finance and Operations. All I see in the documentation is that I can create variables through UpdateContext, and then update said created variables. How do I get a reference to a context that already exists?

  • Christopher S Profile Picture
    Microsoft Employee on at

    Hi @OkayGoogle 

     

    The UpdateContext works only for PowerApps variables. the Input context from Dynamics is not a field that you can query in your application unfortunately, you can only get the fields in the entities.

     

    Best Regards

    --

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions help users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • OkayGoogle Profile Picture
    126 on at

    Does that mean that the option "Input context for the app" is actually useless? Why would it be in there, if I may ask? @chsanche 

  • Verified answer
    Ashley Desiongco Profile Picture
    Microsoft Employee on at

    I realize this thread is older, but if you are still looking for the answer you need to use the Param("EntityId"function. I usually set a variable = Param("EntityId") on the OnStart property of the app.

     

    For example, if my embedded app lives on the Sales order form, I set my Input context for the app to "Sales order - SalesTable_SalesId". Then on my OnStart property, I set a variable SO equal to this passed value by

    Set(

       SO,

       Param("EntityId")

    )

  • OkayGoogle Profile Picture
    126 on at

    Thank you! Do you happen to know if there is a limit to number of parameters I can specify?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Brilliant. Thank you Asdesion, this is exactly what I have been looking for!

  • CU20011649-0 Profile Picture
    31 on at

    I also have the same question, is there a way to pass multiple parameters into Power Apps from the F&O form?

  • christopherMazz Profile Picture
    2 on at

    Hello,
    Does anyone know the answer to the previous question ?

    christopherMazz_0-1686140670311.png

     

  • Geet1996 Profile Picture
    4 on at

    Hello, 

     

    any answer to this question about more than one input to powerapps from fo form?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard