Tuesday, November 21, 2017

ServicePortal Client-side Debugging

The client-side Widget API includes methods which can be used for logging/debugging:
  • spUtil.addErrorMessage()
  • spUtil.addInfoMessage()
  • spUtil.addTrivialMessage()
  • spModal.alert();

for logging

for(var property in c.data){
  console.log('c.data.' + property + ": " + c.data[property]);
 }
Share:

1 comment:

  1. We are offering Servicenow On Job Supports for USA Canada students
    Call / whats app :  IND - +91-9642373173 / +91-9966624055 and USA - +1-845-915-8712, email us at info@svtrainings.com  
    https://www.svtrainings.com/on-job-support.html 

    ReplyDelete