cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Dynamics 365 Input Context

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?

4 REPLIES 4
Highlighted
Microsoft
Microsoft

Re: Dynamics 365 Input Context

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!

If this post helps you give a :thumbs_up: and if it solved your issue consider Accept it as the solution
Highlighted
Frequent Visitor

Re: Dynamics 365 Input Context

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?

Highlighted
Microsoft
Microsoft

Re: Dynamics 365 Input Context

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!

If this post helps you give a :thumbs_up: and if it solved your issue consider Accept it as the solution
Highlighted
Frequent Visitor

Re: Dynamics 365 Input Context

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 

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,166)