How to create text so that a person's name "John Smith" is linked to the persons user profile?

%3CLINGO-SUB%20id%3D%22lingo-sub-2678562%22%20slang%3D%22en-US%22%3EHow%20to%20create%20text%20so%20that%20a%20person's%20name%20%22John%20Smith%22%20is%20linked%20to%20the%20persons%20user%20profile%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2678562%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20there%2C%3C%2FP%3E%3CP%3EI%20am%20relatively%20new%20to%20SharePointOnline%2FSPO%20and%20it%20looks%20great.%20%26nbsp%3BIt%20would%20be%20great%20to%20get%20some%20advice%2Fhelp%20on%20the%20following%3A%3C%2FP%3E%3CP%3EI%20would%20like%20to%20create%20text%20in%20Content%20Editor%20%2F%20Text%20WebPart%20and%20in%20this%20text%20I%20want%20to%20mention%20a%20person's%20name%2C%20e.g.%20John%20Smith%2C%20and%20that%20text%20should%20then%20also%20be%20linked%20to%20the%20user's%20profile%20in%20SPO.%20So%20when%20you%20hover%20over%20the%20%22%3CU%3EJohn%20Smith%3C%2FU%3E%22%20text%2C%20the%20SPO%20user%20profile%20hover%20over%20dialogue%20should%20open.%3C%2FP%3E%3CP%3EHow%20can%20this%20be%20done%3F%26nbsp%3B%3C%2FP%3E%3CP%3EMany%20thanks%20for%20your%20help%20%26amp%3B%20kind%20regards%2C%3C%2FP%3E%3CP%3ETom%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2678562%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Ehover%20window%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Etext%20box%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Euser%20profile%20window%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eweb%20part%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2678762%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20create%20text%20so%20that%20a%20person's%20name%20%22John%20Smith%22%20is%20linked%20to%20the%20persons%20user%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2678762%22%20slang%3D%22en-US%22%3EI%20would%20suggest%20to%20use%20here%20the%20People%20WebPart%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello there,

I am relatively new to SharePointOnline/SPO and it looks great.  It would be great to get some advice/help on the following:

I would like to create text in Content Editor / Text WebPart and in this text I want to mention a person's name, e.g. John Smith, and that text should then also be linked to the user's profile in SPO. So when you hover over the "John Smith" text, the SPO user profile hover over dialogue should open.

How can this be done? 

Many thanks for your help & kind regards,

Tom

3 Replies
I would suggest to use here the People WebPart
Many thanks, Juan.
I have used that WebPart. It takes a lot of space and I can't integrate into a text.
Is there another way to have that hover over feature activated (e.g. "@John Smith" is used in other platforms)?
You can use the People web part or try creating a custom list with a Person column where you put the person's name and then a text column for your text. You can use custom formatting to create a variety of different ways to display the information. Check out https://pnp.github.io/List-Formatting/ for some examples.