I'm using SP Online with Oslo layout.
Is there a way open the URL in modal?
I found similar postings and tried the solution from this post but I couldn't get it to work. Each time I published the site, the code is stripped by the system.
Similar issue when I used the solution from this article.
With the second article you posted, what order do you have the webparts? Make sure you're adding the script editor webpart on top of the content editor webpart with the hyperlink. Otherwise, your function won't load first and the link won't work.
Not the answer you're looking for? Browse other questions tagged sharepoint-online modal-dialog or ask your own question.
Is there a way to display a PowerApp(using SharePoint list) on a SharePoint page?
SharePoint Online: Cannot read user profile property via CSOM / PnP - why?