Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

ThisItem.Author.DisplyName shows as i:0#.f|membership|

(0) ShareShare
ReportReport
Posted on by 12

I want to show Author name on detail screen developed using Display Form,

I have already set  Value1 For DataCard propery set As DisplayName

But when I run the App Author.Displayname showing as    i:0#.f|membership|<Email Id of User>.

 

Categories:
  • siva Profile Picture
    siva 12 on at
    Re: ThisItem.Author.DisplyName shows as i:0#.f|membership|

    hi Mona

       We do see the resolution, go to the "i:0#" format occasionally. But if we save the record (from power apps), then it seems to resolve it fine.

     

      Our issue was that, we were attempting to check who the logged in user was, and based on their membership - provide permissions. Initially we were resolving to the current logged in user's email address. Now we have an extra condition to check if the display name shows up like the "i:0#" format - and then check accordingly. What we also found was that when the display name is showing up in this format, then the user's emai address becomes empty.

     

    Anyway, we still do not know why it resolves to this format - occasionally. But we have a workaround.

     

    thanks

     

  • siva Profile Picture
    siva 12 on at
    Re: ThisItem.Author.DisplyName shows as i:0#.f|membership|

    Hi Mona ,

    Thanks for your reply,,Smiley Very Happy

  • v-monli-msft Profile Picture
    v-monli-msft on at
    Re: ThisItem.Author.DisplyName shows as i:0#.f|membership|

    Hi Siva,

     

    I have encountered the similar issue before but it always can resolve after waiting for a while. I think this is caused by some update in PowerApps background. After your user name changes, will it get to work later?

     

    Regards,

    Mona

  • siva Profile Picture
    siva 12 on at
    Re: ThisItem.Author.DisplyName shows as i:0#.f|membership|
    Thanks for reply.
    Yes I am using ThisItem.Author.DisplayName to get name of author. but sometimes it's showing as i:0#.f|membership|<Email Id of User>. Even for if I tried to show name of person from people field in SharePoint, sometimes it is displaying as i:0#.f|membership|<Email Id of User>. So it is like sometimes powerapps unable to resolve username property
  • v-monli-msft Profile Picture
    v-monli-msft on at
    Re: ThisItem.Author.DisplyName shows as i:0#.f|membership|

    Hi Siva,

     

    If you are using the SharePoint list connection to create the app automantically, then for a CreatedBy column in SharePoint list, specify ThisItem.Author.DisplayName in the text property to show the display names of users who created items in the list.

     

    Regards,

    Mona

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard