Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Is it possible to provide iframe in spModal?

Sathwik1
Tera Expert

In portal, I had a sentence.. when I clicked on it..a popUp needs to open ... in that I want to show some website.. ex: w3 schools website... so what should I need to write?

HTML

<div>
  <p ng-click="c.clck()">Click here to open Popup</p>
</div>

Client controller

api.controller=function(spModal) {
  /* widget controller */
  var c = this;
    
     c.clck= function () {
        spModal.alert('How do you feel today?').then(function (answer) {   // In this line what should I write?
        });
     }
};

 

@Mohith Devatte @Ankur Bawiskar  In PopUp I need to show w3schools website

16 REPLIES 16

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

which form is this? catalog or normal form?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

It's a widget..