cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
__Bansari
Helper I
Helper I

Model Driven App

Hi,

 

In model driven app, have one line item table with field:

1. user identity: basically user name who can work on particular request

2. date

3. hours

 

rights user have: all user can create, read records

 

Issue:

1. have to match current login user - user identity field in line table and calculate hours accordingly.

 

How can we achieve this?

 

Thanks,

Bansari Pandya. 

1 ACCEPTED SOLUTION

Accepted Solutions
v-jefferni
Community Support
Community Support

Hi @__Bansari ,

 

You will be able to retrieve current logged in user in Model-driven apps with the help of XRM:

https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/386223/currently-logged-in-user-s-...

 

But I think using an embedded Canvas App would be more efficiency to achieve your need:

https://powerusers.microsoft.com/t5/Building-Power-Apps/Model-Driven-Apps-Get-Logged-in-User/td-p/29...

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

1 REPLY 1
v-jefferni
Community Support
Community Support

Hi @__Bansari ,

 

You will be able to retrieve current logged in user in Model-driven apps with the help of XRM:

https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/386223/currently-logged-in-user-s-...

 

But I think using an embedded Canvas App would be more efficiency to achieve your need:

https://powerusers.microsoft.com/t5/Building-Power-Apps/Model-Driven-Apps-Get-Logged-in-User/td-p/29...

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (2,606)