Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add a link to people layout? #358

Closed
1 of 3 tasks
kongmengfei opened this issue Nov 26, 2019 · 4 comments
Closed
1 of 3 tasks

How to add a link to people layout? #358

kongmengfei opened this issue Nov 26, 2019 · 4 comments

Comments

@kongmengfei
Copy link

Category

  • Question
  • Bug
  • Enhancement

Hello,

I add a search result web part on my SPO page like below:
search - Google Chrome
However the people item is not clickable. Is that possible to add a link of people.aspx? if i use other layouts, the item is clickable. I tried following methods but failed:
search - Google Chrome

Can someone help me?

@wobba
Copy link
Contributor

wobba commented Nov 26, 2019

Two options. We change the default people experience. Two, click the "custom" button and add a hyperlink in the overall template around the people rendering.

You can not do it in the UI per field.

@kongmengfei
Copy link
Author

kongmengfei commented Nov 26, 2019

Two options. We change the default people experience. Two, click the "custom" button and add a hyperlink in the overall template around the people rendering.

You can not do it in the UI per field.

Hi Wobba,
Where should i add the "<' a >" ? i tried the following but nothing changed:

search - Google Chrome

i cannot find any reference about <'personal-card'>, do not know how to add this link.

Can you help more?

Thanks

@kongmengfei
Copy link
Author

Two options. We change the default people experience. Two, click the "custom" button and add a hyperlink in the overall template around the people rendering.

You can not do it in the UI per field.

Hi Wobba,
i have got it work. althought its style is not so good. but it work now.
Thanks

@marting1010
Copy link

Two options. We change the default people experience. Two, click the "custom" button and add a hyperlink in the overall template around the people rendering.
You can not do it in the UI per field.

Hi Wobba,
i have got it work. althought its style is not so good. but it work now.
Thanks

hi there @kongmengfei how did you get this to work in the end please? I want to do the same as a stop-gap measure until the enhancement is in place. I tried <a href="{{OriginalPath}}">{{Title}}</a> but it didn't do anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants