Hi Members,
I have a requirement on Power Apps and am a newbie of it.
I have a SharePoint list called Software and this list has a field named Expert [Multiline text].
In Power Apps I have a gallery and a display form. When a user selects a particular item from the gallery, it displays all the values in the display form.
Additionally, there is a Button [Add Expert]. When the user clicks on it, it adds the current logged in user name in the Expert field (Text input field) as like below:
Now suppose, when an another user will open this app, and click on this Add Expert button, then that particular logged in user name will concatenate in the Expert field like below:
For this thing, I have used the code below on this Add Expert button's OnSelect property:
// First, update the DataCardValue3.Text based on the conditions
Set(
UpdatedText,
If(
Not(IsBlank(DataCardValue3.Text)) && !IsMatch(
DataCardValue3.Text,
User().FullName
),
DataCardValue3.Text & ", " & User().FullName,
If(
IsBlank(DataCardValue3.Text),
User().FullName,
DataCardValue3.Text // If none of the condition are met, keep the existing text
)
)
);
// Now, patch the updated value to the SharePoint list
Patch(
Software,
LookUp(
Software,
ID = Gallery1_1.Selected.ID
), // Find the item in SharePoint using the ID
{Expert: UpdatedText // Patch the UpdatedText value to the Expert column
}
);
Set(
varShowPopup,
false
)
Till now, its working fine. But I would like, whenever the specific user will click on the name (from the Expert field), it should open their specific outlook email. Suppose, if am the current user and click on the spreeti_local, then it should open my email outlook.
It will be really helpful if someone ll help me on this. Waiting for your response.
Thanks in Advance!