Looking in SharePoint to on a click onto a pic open a bio pop up

Torres, Adolph 0 Reputation points
2024-03-20T21:15:26.5766667+00:00

Hello, I'm looking to open when clicking onto a photo a bio, not per say in another browser window, nor just a document file, but a pop up. This in SharePoint.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,300 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,810 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 33,641 Reputation points Microsoft Vendor
    2024-03-21T03:07:10.2133333+00:00

    Hi @Torres, Adolph,

    If you are using sharepoint online, you could try to embed PnP IFrameDialog control which could display web page in a dialog in the SPFx extension.For more information, please refer to:

    https://ravichandran.blog/2020/05/24/popup-documents-using-pnp-iframedialog-control-in-spfx/

    https://github.com/kongmengfei/SharedSPFx/blob/master/modaldialog/src/webparts/modaldialog/components/Modaldialog.tsx

    Similar issue:

    https://social.technet.microsoft.com/Forums/en-US/b0db7ccb-3be1-4e8b-9a04-55a96d251a49/open-modal-dialog-from-spfx-web-part-in-sharepoint-online-modern-site?forum=onlineservicessharepoint


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.